Code Sample |
# 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)" # For German Keyboards if [ $KEYTABLE == "de" ]; then xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" & fi #if egrep -qv noicons /proc/cmdline 2>/dev/null; then if [ "$ICONS" == 1 ]; then for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done iconsnap.lua &>/dev/null & xtdesk &>/dev/null & fi # dillo /usr/share/doc/dsl/getting_started.html &>/dev/null & torsmo 2>/dev/null & case $DESKTOP in fluxbox ) fluxter &>/dev/null & docked.lua & swallow.sh docked & exec fluxbox 2>/dev/null ;; jwm ) ./.background sleep 2 exec jwm 2>/dev/null ;; * ) exec fluxbox 2>/dev/null ;; esac |