Monday, January 08, 2007

FreeBSD common commands

Install fluxbox
#: cd /usr/ports/x11-wm/fluxbox ; make install clean
Run fluxbox when executing startx
$: cd ~
$: touch .xinitrc
$: echo "exec fluxbox" > .xinitrc
Installing vmware-tools (FreeBSD 6.1, comes with XOrg 7.x)
#: mount /cdrom
#: cp /cdrom/vmware-freebsd-tools.tar.gz /tmp
#: cd /tmp
#: tar xvzf vmware-freebsd-tools.tar.gz
#: cd vmware-tools-distrib
#: ./vmware-install.pl ;defualts here should be fine
#: cd /usr/X11R6/lib/modules/drivers ;we need the following since vmware-install.pl does not install the mouse driver
#: cp /tmp/vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmmouse_drv.o
#: vi /etc/X11/xorg.conf
In vi, change the following lines:
Section "InputDevice"
 Identifier  "Mouse0"
 Driver      "vmmouse" #<<-- this line (changed from "mouse")
 Option     "Protocol" "ps/2"
 Option     "Device" "/dev/input/mouse0"
 Option     "ZAxisMapping" "4 5 6 7"
EndSection
//@end@\\

No comments: