# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
umix -lf .umix 2>/dev/null
[ -f .mouse_config ] && sh .mouse_config &
# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi
if [ "$ICONS" == 1 ]; then
for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
iconsnap.lua &>/dev/null &
xtdesk.sh
fi
case $DESKTOP in
fluxbox )
fluxter &>/dev/null &
wmswallow -geometry 70x80 docked docked.lua &
exec fluxbox 2>/dev/null
;;
jwm )
./.background
sleep 2
exec jwm 2>/dev/null
;;
* )
exec fluxbox 2>/dev/null
;;
esac