Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-08-2009, 08:08 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 16
Rep:
|
Ubuntu - turn monitor off after 5 minutes when no one is logged in
Hi all,
When I lock the work station my monitor turns off properly after 30 minutes. When I log out and no one else logs in the monitor turns off after 30 minutes. I suspect that it is controlled by the settings that I use in my account.
I would like to shorten the time to 5 minutes before the monitor is turned off when no one is logged in. Is this possible?
I am running Ubuntu 9.10.
cheers,
Troy
|
|
|
11-08-2009, 08:20 AM
|
#2
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
|
Quote:
Originally Posted by fenrisW0lf
Hi all,
When I lock the work station my monitor turns off properly after 30 minutes. When I log out and no one else logs in the monitor turns off after 30 minutes. I suspect that it is controlled by the settings that I use in my account.
I would like to shorten the time to 5 minutes before the monitor is turned off when no one is logged in. Is this possible?
I am running Ubuntu 9.10.
cheers,
Troy
|
That 30 minutes is controlled bij the power management .
30 minutus is the default
|
|
|
11-08-2009, 10:15 AM
|
#3
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,154
|
I'm running Kubuntu 8.04 (so KDE 3) and the monitor's power saving settings are set under
System Settings -> Monitor -> Power saving
There must be something similar for gnome, you'll just have to look for it.
|
|
|
11-08-2009, 11:01 AM
|
#4
|
LQ Newbie
Registered: Dec 2005
Posts: 16
Original Poster
Rep:
|
I can control the power settings fine (system/preferences/power management) from the desktop. This only seems to be a global setting. If I change it from 30 minutes to 5 minutes. This affects the login screen as well as when I lock the workstation.
What I would like to do is have a separate time to turn off the monitor. One time when I lock the computer (i.e. I am still logged in but have used the lock screen option). I also want another time for when no one is logged into the computer. I would like that time to be 5 minutes.
I was wondering if this was possible? I thought that the power management settings that I alter from my desktop would only affect me. It seems to affect the login screen.
Any ideas would be appreciated. If it isn't possible, or too difficult then that is fine too.
Thanks for the replies!
|
|
|
11-08-2009, 12:06 PM
|
#5
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,154
|
I am guessing that the timeout for the login screen will be the same as the timeout selected by the last user to logout. You could create another user, with a different timeout value and test this.
I don't think there's a simple way to achieve what you'd like, but there's always the soucecode available for you to have a look at, see how it works, and either improve on it, or just hack it until it behaves as you'd like.
|
|
|
11-09-2009, 04:45 PM
|
#6
|
LQ Newbie
Registered: Dec 2005
Posts: 16
Original Poster
Rep:
|
tredegar, thanks for confirming.
I had suspected as much. I am sure that it wouldn't be as difficult as hacking the code. I think it involves figuring out the user that owns the login session and using xset as that user.
It is probably not difficult, it's probably not apparent .
|
|
|
All times are GMT -5. The time now is 06:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|