On 9/3/20 1:45 PM, Hans-Peter Jansen wrote:
what's the canonical way to run scripts (eg. from crontab), that want to access the X session, (eg. xprop, wmctrl), now that xauth is a random file in /run/user/$UID?
There isn't a canonical way, because there is no guarantee that there is an X-session at the time the crontab script runs. My old scripts are still working (but I don't run them from crontab). I use: XAUTHORITY=${XAUTHORITY:-$HOME/.Xauthority} I've been using that incantation for 20 years. The change you are seeing appears to be a change to SDDM. If you are using GDM, it is still /run/user/uid/gdm/Xauthority and if you are using "lightdm" it is still $HOME/.Xauthority -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org