Thanks for your comment, padrino. Looking at existing X scripts run from acpi events, I see that they too look just for ~/.Xauthority (see /usr/share/acpi-support/power-funcs on Ubuntu 9.10).
Thanks for your comment, padrino. Looking at existing X scripts run from acpi events, I see that they too look just for ~/.Xauthority (see /usr/share/ acpi-support/ power-funcs on Ubuntu 9.10).