Hi, everyone,

I'm trying to get my laptop's screen to shut off every time I lock it.
It's fairly trivial to do so using a launcher with a script like this:

        #!/bin/sh

        gnome-screensaver-command --lock
        sleep 3
        xset dpms force off

However, this means I have an extra button on my Gnome panel which looks
rather out of place. What I want to know is if there is any way I can
hook the DPMS command into gnome-screensaver's lock command so that it
executes every time I lock my laptop. Anyone know of a way?

Thank you for your time,
-- 
Roshan George <[email protected]>

_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to