monitor power and lock screen (Ubuntu Lucid)
Posted
by
xsznix
on Super User
See other posts from Super User
or by xsznix
Published on 2010-10-07T03:15:32Z
Indexed on
2010/12/25
12:55 UTC
Read the original article
Hit count: 211
Hi,
I'm trying to get my screen to turn off whenever I lock my screen. I know that in Power Management, there's an option to turn off the screen after a set amount of time, and I know about xset dpms force off
, but the former doesn't allow me to turn off the screen from the logout menu, and the latter only turns the screen off for a short amount of time (1 minute or so. The screen just turns back on by itself).
Is there a script I can modify to change what happens when "Lock screen" from the logout menu is selected, or is there a script I can add to the panel to lock the screen and then turn the monitor off (and turning it back on when I shake the mouse or something)?
Thanks.
© Super User or respective owner