Skip to main content

Posts

.bashrc not run in Cygwin

This can be caused by having HOME defined in Windows system/user environment. Thus say, when you do: set HOME ... and if you get a response of "Home=D:\Home" for example then this can be fixed by: cp -p /etc/defaults/etc/skel/.bash_profile ~ in Cygwin bash shell. See also this link for more information. ts

Getting rid of SYSFS xserver-xorg-input-wacom error log during Debian Squeeze boot up

I have a system upgraded from Lenny to Squeeze and every time, during boot up sequence, I am seeing the log below: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules:11 I don't have a wacom device really, so I just decided to get rid of this error message. To do so, do: #: aptitude remove xserver-xorg-input-wacom Then, delete file z60_xserver-xorg-input-wacom.rules from /etc/udev/rules.d Is this the right way to do it? I don't know :) @timus@

Rubberband selection and text selection not working in Debian Squeeze

I was playing around with Debian Squeeze and observed that rubberband selection and text selection is not working. The Debian Squeeze machine is a VirtualBox guest upgraded from Debian Lenny. I suspected that this maybe caused by Gnome/gtk configuration that was messed during upgrade to Squeeze. Tried to install LXDE and still no dice, same issue observed. I was guessing then that this might be an xorg driver issue (vboxvideo) or mouse (vboxmouse). I started making adjustments to my xorg.conf and waalaah.... issue fixed. This is a snippet of the original configuration: Section "InputDevice" Identifier "Configured Mouse" Driver "vboxmouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" EndSection Changed it

Minimal Debian Lenny wiht Fluxbox on VirtualBox

Work in progress!!!!! #: aptitude install x-window-system-core #: aptitude install fluxbox fluxconf #: exit (to user) $: startx From the fluxbox session, open a terminal. Do the following to install VirtualBox integration: $: su #: aptitude install build-essential #: aptitude install linux-headers-`uname -r #: mount /media/cdrom #: cd /media/cdrom #: sh VBoxLinuxAdditions-x86.run #: reboot We should have a nicely integrated. Note that this configuration will start in console mode (init 3). You should run startx to go to the X session. Now try to change to one of the default styles, this case "flux". menu | Styles | flux Setting up fonts in Debian - link

CentOS 5.4 netinstall on Virtualbox

Note*: This is applicable to both CentOS 5.4 and 5.5, maybe applicable to older versions as well. Introduction: One of the installation methods possible in installing CentOS 5.4 is network installation or NetInstall. There are good reasons why one would like to do NetInstall and not install from the full CDs. Installing from CD means you have to download monster files. In CentOS 5.4, NetInstall iso file is only 8.9MB whereas the CDs (6 sets) are ~700MB each. So if you are planning to install just once or if you are going to use VirtualBox (note snapshot functionality, branching and cloning), then netinstall would really make sense. Note that to have good installation experience you have to have a fast connection to internet or a mirror in your intranet. To start with, you need to have VirtualBox installed. I am using W7 Home Premium with 8GB as the host machine. This should not matter much actually if you are familiar with VirtualBox. Then download netinstall iso from http:/