mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-29 13:00:02 +02:00
xsession: provide a xsession file (for reference purpose)
This commit is contained in:
parent
cb8c35b40c
commit
d58ae95d2c
1 changed files with 23 additions and 0 deletions
23
xsession
Normal file
23
xsession
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/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
|
||||||
|
}
|
||||||
|
|
||||||
|
# Exec awesome and put its logs in dedicated files instead of ~/.xsession-errors
|
||||||
|
exec awesome >> ~/.cache/awesome/stdout 2>> ~/.cache/awesome/stderr
|
Loading…
Add table
Add a link
Reference in a new issue