Dennis Brakhane wrote:
> 
> OK, but these options prove handy in scripts that lock the screen in
> case the laptop lid is closed (xscreensaver-command
> -throttle&&xscreensaver-command -lock)
> 
> Is there another way to accomplish this via script?

If closing the lid halts the CPU, you don't need to lock first --
when the lid is re-opened, xscreensaver will notice that the clock
has drifted, and lock automatically.

If closing the lid leaves the CPU running, but powers off the screen,
then xscreensaver will (in a few minutes) notice that the screen is
off, and stop running hacks on it (just as it would on a desktop 
machine when DPMS kicked in.)

So I don't think you need to do either of those things.

-- 
Jamie Zawinski      [EMAIL PROTECTED]                  http://www.jwz.org/
                    [EMAIL PROTECTED]      http://www.dnalounge.com/
                                         http://jwz.livejournal.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to