#!/bin/sh export LANG="en_US.UTF-8" cd [[ `uname` == Darwin ]] && PATH=/sw/bin:$PATH PATH=$HOME/bin:$PATH:/usr/local/bin #urxvtd & # XTERMSHELL will be used by xbindkeys when it starts a terminal if [[ -x /bin/zsh ]] then # use zsh even if it's not our login shell XTERMSHELL=/bin/zsh else XTERMSHELL="$SHELL" fi export XTERMSHELL if [[ `uname` == Darwin ]] then xrdb -load $HOME/.Xresources xsetroot -cursor_name left_ptr xmodmap $HOME/.xmm-macos ssh-agent xbindkeys -f $HOME/.xbindkeysrc-mac || \ ssh-agent xbindkeys-darwin -f $HOME/.xbindkeysrc-mac else if [[ `uname -m` == ppc ]] then xmodmap $HOME/.xmm-ppclinux xmodmap -e 'remove control = Pointer_Button3' xmodmap -e 'remove control = Pointer_Button2' # make sure that the following line is in /etc/rc.local: # echo 1 >/sys/module/adbhid/parameters/restore_capslock_events # do we really need ssh-agent here on Fedora?? ssh-agent xbindkeys -f $HOME/.xbindkeysrc-ppclinux else xmodmap $HOME/.xmm-usblinux ssh-agent xbindkeys fi xmodmap $HOME/.xmm-dvorak fi xmodmap $HOME/.xmm-modkeys killall -9 scenery.py $HOME/bin/scenery.py -r 300 & if [[ `uname` == Darwin ]] then quartz-wm --only-proxy & fi # Load gconf settings ($HOME/.xsession-gconf) & ############################################################################## # Window/Session Manager # which window manager (metacity or compiz) gconftool-2 --type string --set /apps/gnome-session/rh/window_manager metacity #gconftool-2 --type string --set /apps/gnome-session/rh/window_manager compiz gnome-session # Get rid of any straggler children kill %1 %2 %3 %4 %5 %6 %7 %8