# .xsession # Marc Wilson (msw@cox.net) #MANAGER=aewm #MANAGER=fvwm2 #MANAGER=openbox2 #MANAGER=openbox2-x MANAGER=openbox3 #MANAGER=pwm #MANAGER=twm # source ~/.bashrc to get our environment vars # we're a login script, so this should be OK if [ -f ~/.bashrc ]; then source ~/.bashrc fi # other env vars we only care about under X export AASMALLTERM="xterm -fa monotype.com:minspace=true -fs 8" export AABIGTERM="xterm -fa monotype.com:minspace=true -fs 12" export AATALLTERM="xterm -fa monotype.com:minspace=true -fs 8 -geometry 80x60" export AAREALBIGTERM="xterm -fa monotype.com:minspace=true -fs 12 -geometry 100x40" export SMALLTERM="aterm -fn fixed -fb fixed" export BIGTERM="aterm -fn 10x20 -fb 10x20" export TALLTERM="aterm -fn fixed -fb fixed -geometry 80x60" export REALBIGTERM="aterm -fn 10x20 -fb 10x20 -geometry 100x40" # set up all X resources for RESOURCEFILE in `ls ~/.resources/*.res` do xrdb -merge $RESOURCEFILE done # set up special keyboard if file present if [ -f ~/.Xmodmap ]; then xmodmap ~/.Xmodmap fi # add personal font store to X server (these are mostly TTF) if [ -f ~/.fonts/fonts.sh ]; then ~/.fonts/fonts.sh fi # stuff that always runs, independent of window manager xscreensaver -nosplash & numlockx on # run window manager script selected above & use twm as a fallback if [ -f ~/.sessions/$MANAGER.session ]; then exec ~/.sessions/$MANAGER.session else exec twm fi # $Id: .xsession,v 1.4 2004/03/01 09:36:07 mwilson Exp $ # vim: ft=sh nu tw=0 ts=4