[kde-linux] Why is it so difficult to disable a screensaver?
Robin Pedersen
robinpeder at gmail.com
Wed Feb 4 19:43:41 UTC 2009
On Wed, 04 Feb 2009 20:39:16 +0100, Pablo Sanchez <pablo at blueoakdb.com>
wrote:
> On Wednesday 04 February 2009 at 2:34 pm, Robin Pedersen penned
> about "[kde-linux] Why is it so difficult to disable a screensaver?"
>
>> Have you ever tried to disable the screensaver on your linux box, to
>> have
>> the screen powered on at all times?
>>
>
> Howdy,
>
> I ended up disabling a whack of KDE stuff and wrote a little script
> ... if you `man xset', you'll figure out how not to turn off the
> screen - see -dpms flag (I think that's it).
>
> ::::::::::::::::::::::::
> ::: turn_off_display :::
> ::::::::::::::::::::::::
> #!/bin/sh
>
> #
> # Truly switch off the display
> #
>
> if [ $# -ne 1 ] ; then
> MINUTES_OF_INACTIVITY=15
> else
> MINUTES_OF_INACTIVITY=$1
> fi
>
> _SECONDS=`echo $MINUTES_OF_INACTIVITY \* 60 | bc`
>
> xset -display :0.0 +dpms
> xset -display :0.0 dpms 0 0 $_SECONDS
Thanks for the tip, but I didn't want to turn off the screen. What I want
is the opposite, to turn off all features that turn off the screen, so
that it stays on.
--
Robin Pedersen
More information about the kde-linux
mailing list