|
Rationale
Like the title says, I want to turn off my monitor sometimes. With a hotkey. Complete with LCD backlight. Sure, you can usually do it by pressing the power key, but on a laptop you've got to close the lid, and sometimes I want to turn off the montitor without closing the lid, for example, when I'm using the notebook as a substitute audio player. Conserving the energy, yet having access to back/forward/volume/etc...
If you liked this idea, check out my other ideas.
|
|
Propose your solution
Attachments
No attachments.
Duplicates
Comments
|
|
|
Why would you want to turn off the monitor without closing the lid?
|
|
|
|
Using the notebook as an audio player. Conserving the energy, yet having access to back/forward/volume/etc... Better add this to description, though.
|
|
|
|
It works just fine on my IBM Thinkpad X40. There's a hotkey (Fn+F3) for turning of the monitor. And it works out-of-the-box with ubuntu feisty+gutsy.
|
|
|
|
A way to configure it, then. I don't have such hotkey preconfigured.
|
|
|
|
sleep 1 && xset dpms force off
|
|
|
@tromboneman
Will it turn it on again? Or is it "sleep 1 && xset dpms force on"?
|
|
|
|
And do I need to be root to execute that? (You see, I don't want to try without a way to revert it :) )
|
|
sf_007
wrote on the 31 Mar 08 at 00:34
|
|
|
|
Good ideia, I would like something like this for me...
|
|
jasmuz
wrote on the 31 Mar 08 at 01:52
|
|
|
Check out Brightside.
sudo aptitude install brightside
Check its configuration in: System--->Preferences-->Screen actions
|
|
johno
wrote on the 31 Mar 08 at 09:42
|
|
|
The command mentioned above:
sleep 1 && xset dpms force off
means wait 1 second (sleep 1), then use dpms to turn the monitor off. It will turn back on again when you move the mouse or press a key. The sleep is there so that the keypress itself doesn't wake it up immediately.
You could then bind this to a hotkey. To implement this "idea", there needs to be some way that people could work out/ find out that it can be done, and how to do it. Maybe this should appear somewhere in keybindings or in power management.
|
|
|
Thanks, johno. Even if it's not implemented, I gather I can implement if myself if I want to.
Frankly, I'm astounded this silly idea of mine got so many votes. I'd rather thought that my other two would be more sucessful, being more thought-out and all, yet they haven't yet broken through +10...
A lesson to me: KISS (keep it simple, stupid). Those have too many words, I guess...
|
|
leu
wrote on the 31 Mar 08 at 18:20
|
|
|
You could add a starter to your panel, give it an icon like this one: /usr/share/icons/gnome/32x32/apps/screensaver.png
and add: xset dpms force off
And you're done.
But why not as a feature in this "add to the panel"-menu?
Good idea! Saves the energy exactly when you don't need it.
|
|
diaa
wrote on the 3 Apr 08 at 17:45
|
|
|
|
I don't agree, this is a completely custom idea, yes it's nice to save energy and so on, but Ubuntu already has screensavers and turns off monitors to save power, it doesn't need a button
|
|
ændrük
wrote on the 28 Apr 08 at 04:09
|
|
|
The ability to force a quick poweroff of the monitor when you know you won't need it for a moment is a very reasonable one.
If you have any doubt of this feature's practicality, just look at its prevalence in other, small devices already. iPods, iPhones, and my Canon PowerShot all have single buttons to power off the screen when you're not using it. The iPhone's design in particular really promotes this sort of usage pattern.
In class last week, I kept referring to my laptop only about every 4-5 minutes. This was just long enough for the "black" screensaver to kick in, but the whole time I wished there was a way to just power down the LCD like it does automatically after about 30 minutes.
|
|
|
+1
atm, I'm doing this by "xset dpms force standby" when there are downloads still running on my notebook and I want to go to bed. The light would irritate me; but I can't close the lid because wireless would stop working then.
|
|
Endolith
wrote on the 10 Sep 08 at 15:01
|
|
|
Create a launcher on your desktop:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=gnome-display-properties
Exec=xset dpms force off
Name[en_US]=Shut off screen
Name=Shut off screen
Icon=gnome-display-properties
|
|
|
i agree, good idea, hada look at and got this.
xset dpms force off
and create a launcher. simple!
|
|
|
|
Jaunty will supposedly let you set keyboard shortcuts for any command, so you won't need a launcher anymore.
|
|
|
|
Well, I've installed ubuntu 9.04 server, and I don't have an xserver running, so I don't have the dpms command. Does anyone have an alternative?
|
|
|
Ok, I tried this, but it didn't work:
from:
http://bugs.gentoo.org/267805
1. setterm -powersave on
2. setterm -powersave powerdown
3. setterm -powerdown 1
Screen stays on
Desired Result:
screen should turn off but it does not
|
|
_sphinx_
wrote on the 27 Aug 09 at 06:35
|
|
|
thanks for this....
it did worked for me...
|
|
|
I totally needed this feature.
I'm using "xset -display :0 dpms force off" currently.
|
|
kjaggu
wrote on the 10 Dec 09 at 20:59
|
|
|
|
It used to work for me in Jaunty. Now the screen comes back on after a few minutes. Need this feature asap.
|
|
louisgag
wrote on the 14 Mar 10 at 03:32
|
|
|
"It used to work for me in Jaunty. Now the screen comes back on after a few minutes."
I have the same problem here on 9.10 (Karmic Koala)
|
|
|
******Try installing kpowersave
I tried using the power save tool of Ubuntu, but it doesn't turn the screen off. In the screensaver tool there no option for turning off the monitor, just to blank screen.
I had the same problem when using "xset dpms force off" or any of the other similar suggestions posted here. Monitor turns off but it turns on again in a few minutes.
But I found the program kpowersave in the Ubuntu software center. It works!!!!!
It seems that they are some programs running that do not allow the screen to be turned off.
|
|
|
I previously owned a VAIO which had a lid power off feature, I replaced that laptop with a new VAIO that does not have this nice button.
however issuing this is what I really need in a button:
xset dpms force off
Maybe someone should make an applet with such trivial function, so it will be there for those of us that want to power off only the lid some times.
I mostly use this because I tend to go away when uploading large files via FTP (as I can't do anything else until they are sent to other people) so this proposed power-saving feature comes in handy.
|
|
|
I also had the problem that with
'xset dpms force off'
and the laptop display turning itself on again for no apparent reason.
What I did was to put into a terminal:
while [ 1 ];do xset dpms force off;sleep 10;done
And the laptop display stayed dark.
|
|
|
Hi all,
I solved this a little differently, since I did not want the display to activate again when pressing a key or touching the mousepad.
I associated each of the following comands with a glaobal hotkey:
Key-Binding1: xrandr --output LVDS1 --off
Key-Binding2: xrandr --auto
where "LVDS1" is the name off the display you want to turn off (use "xrandr -q" too see which one to use).
If you have more than on display or some other fancy configuration the "xrandr --auto" may give you some weird results. But it works for me.
So now when I press the first hotkey the display is turned off but I can still use all input devices without activating the display again.
Except of course when I press the second hotkey, and everything magically reappears ;)
|
Post your comment
|