# .xinitrc for Openbox

# xemacs -geometry 80x66+146-0 &
#
# Spare terminal: start it early, so it won't end up with focus.
#(LANG=C rxvt -geometry 80x39-0+0) &
(LANG=en_US.UTF-8 xterm -geometry 80x41-0+0) &

# For window managers that don't have image support:
(xsetbg -fullscreen -border black `find -L $HOME/Backgrounds -name "*.*" | randomline`) &

if [ -f $HOME/.Xdefaults ]; then
  xrdb -l .Xdefaults
fi
if [ -f $HOME/.Xmodmap ]; then
  xmodmap $HOME/.Xmodmap
fi
xhost +moon &

# Use a UTF-8 terminal for mail:
# Put it last so it gets focus.
sleep 2
(LANG=en_US.UTF-8 xterm -geometry 80x69+0+0) &

openbox
