sx: use XDG_RUNTIME_DIR for xauthority file#31
sx: use XDG_RUNTIME_DIR for xauthority file#3162832 wants to merge 1 commit intoEarnestly:masterfrom
Conversation
|
I had considered this approach in earlier iterations but eventually decided against it. Ultimately because it relies on too many assumptions about the environment/system, such as assuming If it were up to me I would remove This all means that realistically if As a result, and because the old location was This is not an unreasonable PR but I'd like to keep it under |
|
That's fair enough, and I do like the rationale you gave with regards to how |
|
setting xauth like this can lead to very confusing bugs |
Relatively minor PR to move the default location of
xauthorityto$XDG_RUNTIME_DIRrather than$XDG_DATA_HOMEas per typical recommendation, hopefully to better comply with the current XDG Base Directory spec.If there are any problems with the current approach being proposed then please let me know.