Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'dimming the screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
dimming the screen
Authored by: MordEth on Jan 28, '04 04:58:36PM

using pmset from Terminal is easy to do...first of all, you're going to want to run 'visudo' either as root or with sudo (i.e. sudo visudo), and add this line to the end of that file:

%admin ALL=(ALL) NOPASSWD: /usr/bin/pmset

this will prevent you from having to type a password every time that you go to change pmset's settings, since you have to run it either as root or with sudo.

i also recommend that you alias 'pmset' to 'sudo pmset', to save yourself typing.

then all you have to do is:

pmset -a dim 1

if you're really lazy like i am, you can alias this to something, also, and not have to type the whole line out every time that you want to use it. to turn off the timed display sleep, you'd use the same command with "0" in place of the "1".

you might also want to look at http://wincent.org/article/articleview/36/1/8/

i found that extremely helpful when i was looking to make pmset a bit more GUI-friendly for my girlfriend's iMac, on which i'm using ScriptGUI-wrapped versions of the command above so that she can run them from FruitMenu. it works great.



[ Reply to This | # ]
dimming the screen
Authored by: arifsaha on Dec 08, '08 10:00:34AM
The referred page has changed, it is now http://web.archive.org/web/20050628193758/http://wincent.org/article/articleview/36/1/8/

In the forum there is also very nice trick to do exactly what OP wants: http://forums.macosxhints.com/showthread.php?p=507337#post466891

---
- http://www.arifsaha.com/


[ Reply to This | # ]