3 userresources=$HOME/.Xresources
4 usermodmap=$HOME/.Xmodmap
5 sysresources=/usr/pkg/lib/X11/xinit/.Xresources
6 sysmodmap=/usr/pkg/lib/X11/xinit/.Xmodmap
8 # merge in defaults and keymaps
9 if [ -d "/usr/local/lib/X11/fonts/Unicode" ]; then
10 xset fp+ /usr/local/lib/X11/fonts/Unicode
14 if [ -d "/usr/pkg/lib/X11/fonts/local/" ]; then
15 xset fp+ /usr/pkg/lib/X11/fonts/local/
19 if [ -d "/usr/pkg/lib/X11/fonts/intlfonts/" ]; then
20 xset fp+ /usr/pkg/lib/X11/fonts/intlfonts/
24 if [ -f $sysresources ]; then
25 xrdb -merge $sysresources
28 if [ -f $sysmodmap ]; then
32 if [ -f $userresources ]; then
33 xrdb -merge $userresources
36 if [ -f $usermodmap ]; then
41 if [ -d "/usr/pkg/bin" ]; then
42 PATH="/usr/pkg/bin:$PATH"; export PATH
44 if [ -d "/usr/local/bin" ]; then
45 PATH="/usr/local/bin:$PATH"; export PATH
48 LANG="ja_JP.UTF-8"; export LANG
49 GTK_PATH="/usr/pkg/lib/gtk-2.0"; export GTK_PATH
50 GTK_IM_MODULE="uim"; export GTK_IM_MODULE
52 # start some nice programs
59 yukari.cielonegro.org)
63 # Disable the beep / bell.
66 # Launch ssh-agent-manager
67 if which ssh-agent-manager 2>&1 >/dev/null; then
68 eval `ssh-agent-manager -s`
71 echo ".xinitrc is going to exec window manager..."
73 # start the window manager
74 #if which quartz-wm 2>&1 >/dev/null; then
75 # quartz-wm --only-proxy &
77 if which vmware-user >/dev/null 2>&1; then
80 if which VBoxClient >/dev/null 2>&1; then
82 VBoxClient --clipboard
84 if which fluxbox >/dev/null 2>&1; then