X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=sugar.git;a=blobdiff_plain;f=dot-files%2F_xinitrc;h=0b492ea67ae940235b605be5a9279c05cd65d97a;hp=6698c21770d8d74497e00e90cddf99f216b28386;hb=61befc31a165034bb00a66f817318bbceca2bacb;hpb=178ef467454283740e5870b68a1cecdcf0ad8a5b diff --git a/dot-files/_xinitrc b/dot-files/_xinitrc index 6698c21..0b492ea 100644 --- a/dot-files/_xinitrc +++ b/dot-files/_xinitrc @@ -41,6 +41,9 @@ fi 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 @@ -50,9 +53,12 @@ GTK_IM_MODULE="uim"; export GTK_IM_MODULE 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 @@ -68,8 +74,14 @@ 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 +if which vmware-user >/dev/null 2>&1; then vmware-user & fi -exec /usr/pkg/bin/fluxbox -exec /usr/pkg/bin/twm +if which VBoxClient >/dev/null 2>&1; then + VBoxClient --display + VBoxClient --clipboard +fi +if which fluxbox >/dev/null 2>&1; then + exec fluxbox +fi +exec twm