Kieth Posted April 28, 2012 Report Share Posted April 28, 2012 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] Quote Link to comment Share on other sites More sharing options...
daniewicz Posted May 1, 2012 Report Share Posted May 1, 2012 to make it permanent you could add the command to /etc/rc.d/rc.local I use xset dpms 0 360 420 this command disables DPMS standby and sets the DPMS suspend time to 360 seconds and the off time to 420 seconds Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 5, 2012 Author Report Share Posted May 5, 2012 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 Quote Link to comment Share on other sites More sharing options...
daniewicz Posted May 6, 2012 Report Share Posted May 6, 2012 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 Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 8, 2012 Author Report Share Posted May 8, 2012 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 Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 9, 2012 Report Share Posted May 9, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.