if [ -d "/usr/pkg/bin" ]; then
PATH="/usr/pkg/bin:$PATH"; export PATH
fi
+if [ -d "/usr/local/bin" ]; then
+ PATH="/usr/local/bin:$PATH"; export PATH
+fi
LANG="ja_JP.UTF-8"; export LANG
GTK_PATH="/usr/pkg/lib/gtk-2.0"; export GTK_PATH
xhost +localhost
# Set the mouse speed
-if [ `hostname` != "seras" ]; then
- xset m 5 4
-fi
+case `hostname` in
+ aria.cielonegro.org)
+ xset m 5 4;;
+ yukari.cielonegro.org)
+ :xset m '1.5' 2;;
+esac
# Disable the beep / bell.
xset -b
eval `ssh-agent-manager -s`
fi
-echo ".xinitrc is going to exec window manager..."
+# Start X.org auxiliary utilities
+if which vmware-user-suid-wrapper >/dev/null 2>&1; then
+ echo "Open Virtual Machine Tools is available. Starting..."
+ vmware-user-suid-wrapper
+
+elif vmware-user >/dev/null 2>&1; then
+ echo "VMWare Tools is available. Starting..."
+ vmware-user &
-# start the window manager
+elif which VBoxClient >/dev/null 2>&1; then
+ echo "VirtualBox Guest Addon is available. Starting..."
+ VBoxClient --display
+ VBoxClient --clipboard
+fi
+
+# Start the window manager
+echo ".xinitrc is going to exec window manager..."
#if which quartz-wm 2>&1 >/dev/null; then
# quartz-wm --only-proxy &
#fi
-if which vmware-user 2>&1 >/dev/null; then
- vmware-user &
+if which fluxbox >/dev/null 2>&1; then
+ exec fluxbox
fi
-exec /usr/pkg/bin/fluxbox
-exec /usr/pkg/bin/twm
+exec twm