1 # .bashrc 2 # sourced by BASH everytime it start 3 # Set various environment variables 4 5 ## These should be set by /etc/profile 6 ## But sometime, bash missed them. So here is the push 7 export PATH="/usr/local/bin:/usr/bin:/bin:/opt/kde/bin:/usr/X11/bin:/usr/local/games" 8 for SH in /etc/profile.d/*.sh; do 9 . $SH 10 done 11 xmodmap ~/.Xmodmap 12 13 ## Set a default shell prompt: 14 ## A complete one 15 #PS1="${PS_CYAN}\h:/\w\n${PS_NORMAL}\u:\\$ " 16 #PS2="> " 17 18 ## Standard with color 19 ## This is the plain standard prompt 20 #PS1="${PS_DGREEN}\u${PS_YELLOW}@${PS_DGREEN}\h:\\$ ${PS_NORMAL}" 21 #PS2="> " 22 23 ## This is the plain standard prompt 24 #PS1="\u@\h:\\$ " 25 #PS2="> " 26 dbus-launch --sh-syntax > $HOME/.dbus-env 2>/dev/null 27 source $HOME/.dbus-env 2>/dev/null 28 29 30 ## Set fancy colors 31 eval `dircolors -b` 32 33 ## Set this for your first choice 34 export BROWSER=seamonkey 35 #export BROWSER=firefox 36 #export BROWSER=opera 37 #export EXPLORER=konqueror 38 #export NETWORK_EXPLORER=konqueror 39 #export AUDIO_PLAYER=xmms 40 #export VIDEO_PLAYER=gxine 41 export DISPLAY=$DISPLAY 42 43 #let root use gui 44 if /usr/bin/tty >/dev/null; then 45 xhost +si:localuser:root 46 else 47 xhost +si:localuser:root >/dev/null 2>&1 48 fi 49 50 51 # This line was appended by KDE 52 # Make sure our customised gtkrc file is loaded. 53 export GTK2_RC_FILES=$HOME/.gtkrc-2.0