Hi Sven-Haegar,
Sven-Haegar Koch wrote:
locking the screen with the running xscreensaver on lid close does not work
here, the shell function getXconsole does not find my x-server.
(it is running just as /usr/bin/X, not with any commandline parameters,
so the greps there never match)
but /etc/acpi/lid.sh already iterates over /tmp/.X11-unix - which would
be the wrong thing to do if using getXconsole.
just using the function getXuser like /etc/acpi/sleep.sh fixes it for me.
You're absolutely right, setting displaynum and then calling getXconsole
is absolutely useless, it should have been getXuser in the first place.
Consider the patch accepted.
Cheers,
Bart
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]