Jump to content

screensaver not working


Recommended Posts

Every time I boot up my computer, in konsole, I need to enter a command such as:

 

$ xset dpms 50000 55000 60000

 

Whether it's in root or not, doesn't matter. Anyway to make such changes permanent? Also, what command would be best, because I just randomly choose 50000 55000 and 60000.

 

Thanks,

Kieth

 

 

[moved from Everything Linux by spinynorman]

Link to comment
Share on other sites

This is what I have in rc.local.

 

#!/bin/sh

#

### BEGIN INIT INFO

# Provides: rc.local

# X-Mandriva-Compat-Mode

# Default-Start: 2 3 4 5

# Short-Description: Local initialization script

# Description: This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.

### END INIT INFO

 

touch /var/lock/subsys/local

xset dpms 0 360 420

 

It doesn't change DPMS at all. It's still:

 

DPMS (Energy Star):

Standby: 0 Suspend: 0 Off: 0

DPMS is Enabled

Monitor is On

 

Did I make a mistake on the command?

 

Thanks,

Kieth

Link to comment
Share on other sites

Do you have the DPMS option set in xorg.conf?

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce2 DDR (generic)"

Driver "nvidia"

Option "DPMS"

Option "NvAGP" "3"

Option "IgnoreEDID" "1"

Option "RenderAccel" "0"

EndSection

Link to comment
Share on other sites

It looks like it.

 

Section "Device"

Identifier "device1"

VendorName "ATI Technologies Inc"

BoardName "ATI Radeon X1950 and earlier"

Driver "ati"

Option "DPMS"

Option "AccelMethod" "EXA"

EndSection

Link to comment
Share on other sites

Kieth, If you're using KDE... you can just copy this and save it as display-screen.sh (or whatever you want to name it) in ~/.kde4/Autostart/

#!/bin/bash
xset +dpms && xset dpms 0 360 420 &

you can adjust the times for your needs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...