this seems handy, and i couldn't remember it, having saved it in a script for convenience sake. but it works well for keeping screen awake for me in linux. i'll just share what i use for my script files, short and sweet:
gui-wake.sh:
#!/bin/bash
xset -dpms; xset s off
gui-unwake.sh:
#!/bin/bash
xset -dpms; xset s on
they are probably self explanatory, but the 'gui-wake.sh' keeps the screen awake, and the 'gui-unwake.sh' puts it back to normal.
cheers! (your welcome)
:P
~peace
-db
[EDIT]
I had found the main part of this code online at some point but searching now I can't find it. I had to boot a Thinkpad with the script as I had reinstalled debian to the desktop*
"Nothing is ever easy"
No comments:
Post a Comment