diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-02 22:37:06 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-02 22:37:06 -0500 |
commit | 9d1b3f23a64506988608143f4bca8ab4c5141d3e (patch) | |
tree | 0955588a5f4bcb3f802b6398a537a83cdb0091e0 /modules/root/resources/x11 | |
parent | 4730b215fdc4095800fedfdf690c12fec994bb6b (diff) | |
download | nixos-9d1b3f23a64506988608143f4bca8ab4c5141d3e.tar.xz nixos-9d1b3f23a64506988608143f4bca8ab4c5141d3e.zip |
update moreee
Diffstat (limited to 'modules/root/resources/x11')
-rw-r--r-- | modules/root/resources/x11/xinit-startx-xdg.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/root/resources/x11/xinit-startx-xdg.patch b/modules/root/resources/x11/xinit-startx-xdg.patch new file mode 100644 index 0000000..c1bca97 --- /dev/null +++ b/modules/root/resources/x11/xinit-startx-xdg.patch @@ -0,0 +1,14 @@ +diff --git a/startx.cpp b/startx.cpp +index dfbebe1..472a1b0 100644 +--- a/startx.cpp ++++ b/startx.cpp +@@ -272,7 +272,7 @@ if [ x"$enable_xauth" = x1 ] ; then + dummy=0 + + XCOMM create a file with auth information for the server. ':0' is a dummy. +- xserverauthfile=$HOME/.serverauth.$$ ++ xserverauthfile="${XAUTHORITY:-$HOME/.Xauthority}" + trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM + xauth -q -f "$xserverauthfile" << EOF + add :$dummy . $mcookie + |