userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
-sysresources=/etc/X11/xinit/.Xresources
-sysmodmap=/etc/X11/xinit/.Xmodmap
+sysresources=/usr/pkg/lib/X11/xinit/.Xresources
+sysmodmap=/usr/pkg/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -d "/usr/local/lib/X11/fonts/Unicode" ]; then
xset fp rehash
fi
+if [ -d "/usr/pkg/lib/X11/fonts/local/" ]; then
+ xset fp+ /usr/pkg/lib/X11/fonts/local/
+ xset fp rehash
+fi
+
+if [ -d "/usr/pkg/lib/X11/fonts/intlfonts/" ]; then
+ xset fp+ /usr/pkg/lib/X11/fonts/intlfonts/
+ xset fp rehash
+fi
+
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
fi
LANG="ja_JP.UTF-8"; export LANG
+GTK_PATH="/usr/pkg/lib/gtk-2.0"; export GTK_PATH
GTK_IM_MODULE="uim"; export GTK_IM_MODULE
# start some nice programs
xhost +localhost
# Set the mouse speed
-xset m 5 4
+if [ `hostname` != "seras" ]; then
+ xset m 5 4
+fi
+
+# Launch ssh-agent-manager
+if which ssh-agent-manager 2>&1 >/dev/null; then
+ eval `ssh-agent-manager -s`
+fi
echo ".xinitrc is going to exec window manager..."
# start the window manager
-if which quartz-wm 2>&1 >/dev/null; then
- quartz-wm --only-proxy &
+#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 &
fi
-exec fluxbox
+exec /usr/pkg/bin/fluxbox
+exec /usr/pkg/bin/twm