# .bashrc
# sourced by BASH everytime it start
# Set various environment variables

for SH in /etc/profile.d/*.sh; do
   . $SH
done

## These should be set by /etc/profile
## But sometime, bash missed them. So here is the push
export PATH="/usr/local/bin:/usr/bin:/usr/sbin:/bin:/opt/bin:/usr/X11/bin:/usr/local/games:/usr/games"
#use custom keymap
xmodmap ~/.Xmodmap

## Set fancy colors
eval `dircolors -b`

## Set this for your first choice
#export BROWSER=seamonkey
export BROWSER=firefox
#export BROWSER=opera
#export EXPLORER=konqueror
#export NETWORK_EXPLORER=konqueror
#export AUDIO_PLAYER=xmms
#export VIDEO_PLAYER=gxine
export DISPLAY=$DISPLAY

#let root use gui
if  /usr/bin/tty >/dev/null; then
  xhost +si:localuser:root
else
  xhost +si:localuser:root >/dev/null 2>&1
fi


# This line was appended by KDE
# Make sure our customised gtkrc file is loaded.
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
