]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/commitdiff
Fix logs redirection fo startx
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 16:21:56 +0000 (18:21 +0200)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 16:21:56 +0000 (18:21 +0200)
dotfiles/shell_bash/bash_profile

index 4de837bc8a1ff68e47267bd4995bd465610292b9..26c40b453ba06e8e3a232711092af8f1ac8bafb6 100644 (file)
@@ -4,6 +4,6 @@
 
 {%@@ if "graphical_vt" in features.get(profile, []) @@%}
 if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
-  exec startx $XDG_CONFIG_HOME/xinitrc
+  exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1
 fi
 {%@@ endif @@%}