2012-07-09 12:06:21 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Setup PATH
|
|
|
|
export PATH=$HOME/bin:/sbin:/usr/local/sbin:/usr/sbin:/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games
|
|
|
|
|
|
|
|
# Setup locale
|
|
|
|
export LANG=fr_FR.utf8
|
|
|
|
export LC_MESSAGES=en_US.utf8
|
|
|
|
|
|
|
|
# Ensure we use the appropriate gtkrc-2.0 file
|
|
|
|
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
|
|
|
|
|
|
|
# GDM move Xauthority in some obscure place
|
|
|
|
# See:
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614972
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586685
|
|
|
|
[ "$XAUTHORITY" = $HOME/.Xauthority ] || {
|
|
|
|
XAUTHORITY=$HOME/.Xauthority xauth merge $XAUTHORITY
|
|
|
|
export XAUTHORITY=$HOME/.Xauthority
|
|
|
|
}
|
|
|
|
|
2012-07-11 20:04:04 +02:00
|
|
|
exec awesome
|