When to run Xfce-XScreenSaver script on unlock?

When to run Xfce-XScreenSaver script on unlock?

-watch Prints a line each time the screensaver changes state: when the screen blanks, locks, unblanks, or when the running hack is changed. This option never returns; it is intended for use by shell scripts that want to react to the screensaver in some way. 1

Why is my screen lock not working in LXDE?

Screen lock functions properly when run by any other method (terminal, application menu, and LXDE logout menu), so I am inclined to call it a bug caused by lxpanel.

Why does XScreenSaver fail to detect mouse movement?

It fails to detect mouse movement to wake up the screensaver and doesn’t intercept mouse events. The command xscreensaver-command -lock works properly so I’ve tried the following:

How to ask a question about LXDE XScreenSaver?

Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers. Browse other questions tagged lxde screen-lock xscreensaver or ask your own question.

How to run XScreenSaver from a GDM session?

You can run xscreensaver from your gdm (1) session, so that the screensaver will run even when nobody is logged in on the console. To do this, run gdmconfig (1) and on the Background page, type the command “xscreensaver -nosplash” into the Background Program field.

What happens if you run XScreenSaver as root?

If run as root, xscreensaver changes its effective user and group ids to something safe (like “nobody”) before connecting to the X server or launching user-specified programs. An unfortunate side effect of this (important) security precaution is that it may conflict with cookie-based authentication.

What does XScreenSaver Demo ( 1 ) do on Linux?

The xscreensaver-demo (1) program pops up a dialog box that lets you configure the screen saver, and experiment with the various display modes.