Sample Header Ad - 728x90

Light Locker - Run script on screen lock/unlock

11 votes
4 answers
8969 views
I'd like to run a script if the XFCE session is locked and unlocked. Is there a way that I can intercept this and perform certain actions when the desktop is locked or unlocked? I have found following solutions: for Gnome - https://unix.stackexchange.com/questions/28181/run-script-on-screen-lock-unlock for xscreensaver - https://unix.stackexchange.com/questions/29232/how-do-i-run-a-script-on-unlock But I'm using light-locker and no screen saver. I was trying to monitor DBUS but it doesn't seem the light-locker emits any signals. One option would be to modify xflock4 but that would help only with screen locking. Is there any way for light-locker?
Asked by jnovacho (327 rep)
May 14, 2015, 08:40 AM
Last activity: Aug 29, 2024, 09:27 PM