]> git.rmz.io Git - dotfiles.git/commitdiff
xinit: make terminal applications start again on login
authorSamir Benmendil <me@rmz.io>
Wed, 29 Jan 2020 19:30:52 +0000 (19:30 +0000)
committerSamir Benmendil <me@rmz.io>
Thu, 30 Jan 2020 23:44:03 +0000 (23:44 +0000)
It seems that using `&` was sending `urxvtd` to the background too
quickly, i.e. before it would bind to the controller socket. Later calls
to `urxvtc` would have nothing to connect to and refuse to open.

`-f` will wait for the socket to be bound before forking.

xinit/xprofile.d/99-applications.sh

index 7155033c19035fe5d681ed4f70f66c770b8c8815..89731cc608cda12332578a71761a28d78cf7eeeb 100755 (executable)
@@ -4,7 +4,7 @@ URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls
 URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls/deprecated
 export URXVT_PERL_LIB
 
-urxvtd -q -o &
+urxvtd -q -o -f
 compton --config ~/.config/compton.conf &
 unclutter --timeout 1 &
 xcape -e "Control_L=Escape;Control_R=Escape"