How to Disable screensaver

Bob Barrett bobbrrtt at earthlink.net
Mon Sep 29 17:27:38 UTC 2008


>
> screensaver is slightly buried.
>   
> KDE 4.1 menu->applications->system->system settings->left column screensaver
>
> Under the menu icon lower left, right click on an item and select "save to panel"
>
> I'd still like to know how to make the screensaver stay on indefinitely!
>
> There is some setting in xconfig or one of those files!
>
> Years ago I knew how to do this.
>
>   
>> -- 
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe:
>> https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines:
>> http://fedoraproject.org/wiki/Communicate/MailingListGuidel
>>     
Your efforts to adjust the KDE screen saver can be frustrated by dpms.

dpms is normally setup to blank your screen after 10 minutes. It will
look like the blank screen saver has come on. Dpms is controlled with
xset. "xset q" prints a longer report than this. Look for "DPMS" about
two thirds of the way down:

[]$ xset q
DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400
DPMS is Enabled
Monitor is On

This will blank the screen in X in 10 minutes (1200 would be 20 minutes,
but in every case, my screns blanked in 10 minutes).

[]$ xset dpms 0 0 0

[]$ xset q
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is On

I set up a script as ~/.kde/Autostart/dpms000 including:

#!/bin/sh
/bin/sleep 5; /usr/bin/xset dpms 0 0 0

The sleep statement was necessary in Fedora and Slackware, but not in
Debian. I originally named the script dpms-off, but it would not work in
Debian. The xset man page shows other ways to turn off dpms, but they
would not work in my machines. Before doing this, the KDE screen saver
would work at all, unless I set it to come on in less than ten minutes.
If I set the screen saver to come at 5 minutes, it would come for 5
minutes, and then the screen went blank. I don't remember this problem
before fedora 6 or 7.

Incidentally, KDE can be setup with shutdown scripts, also.

~/.kde/shutdown/restoresound :

#!/bin/sh
cp /home/bob/sys.setup/sound/kmixctrlrc \
/home/bob/.kde/share/config/kmixctrlrc

restores my desired Kmix default sound levels when I logout, so there
won't be any rude surprises when I next start KDE.

Bob




More information about the fedora-list mailing list