#!/bin/sh # fluxbox startup-script: # 002-08-2006 # # Lines starting with a '#' are ignored. # You can set your favourite wallpaper here if you don't want # to do it from your style. # # fbsetbg -f /home/tenner/pictures/wallpaper.png # # This sets a black background #/usr/local/bin/fbsetroot -solid black # This shows the fluxbox-splash-screen # fbsetbg -C /usr/local/share/fluxbox/splash.jpg # Other examples. Check man xset for details. # # Turn off beeps: # xset -b # # Increase the keyboard repeat-rate: # xset r rate 195 35 # # Your own fonts-dir: # xset +fp "/home/tenner/.fonts" # # Your favourite mouse cursor: # xsetroot -cursor_name right_ptr # # Change your keymap: # xmodmap "/home/tenner/.Xmodmap" # Applications you want to run with fluxbox. # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END. # # unclutter -idle 2 & # wmnd & # wmsmixer -w & # idesk & # And last but not least we start fluxbox. # Because it is the last app you have to run it with ''exec'' before it. urxvtd & #rxvtd & #mpdscribble & export TERM="/usr/bin/urxvtc" xset s off xset -dpms xset b 100 600 200 xset r rate 400 40 #/home/tenner/bin/soundstart.sh & numlockx on & $IRC & $MAIL & $BROWSER & /usr/bin/urxvt -name main_term & sonata & conky -u 1 & conky -c /home/tenner/.timeconkyrc & /home/tenner/bin/space_dapp & gnome-settings-daemon & xmodmap /home/tenner/.Xmodmap /home/tenner/bin/xm.sh ulimit -c unlimited && exec /usr/local/bin/fluxbox -log ~/.fluxbox/log # here I put the commands to run, so I can decide to call them later #run_commands() { # /home/tenner/bin/xm.sh & # rxvtd & # mpdscribble & # export TERM="/usr/bin/urxvtc" # #xmodmap /home/tenner/.Xmodmap # sleep 1 # #xmodmap /home/tenner/.Xmodmap # xset s off # xset -dpms # xset b 100 600 200 # xset r rate 400 40 # /home/tenner/bin/soundstart.sh & # numlockx on & # $IRC & # conky -u 1 & # conky -c /home/tenner/.timeconkyrc & # /home/tenner/bin/space_dapp & # gmpc & #} # I feel like this 'exec' command is totally inappropriate, but the 'wait' # command doesn't work without it #ulimit -c unlimited && exec /usr/local/bin/fluxbox -log ~/.fluxbox/log & #fbpid=$! # wait for 1 second, to make sure things start after fluxbox #sleep 1 #case "x$1" in x) run_commands;; esac # if fluxbox crashes, that's ok -- we'll restart another one # if this loops, I can always use control-alt-backspace #wait $fbpid || exec $0 norun