On 08/05/2013 04:52 PM, Pablo Sanchez wrote: > [ Comments below, in-line ] > > On 08/05/2013 04:35 PM, Doug wrote: >> >> Please provide more detail. I need to know in what directories to put >> the script(s). I have tried in /root/.kde4/Autostart and in >> /etc/skel/.kde4/Autostart (both at once), putting the commands >> >> xset dpms 600 900 0 >> xset +dpms >> >> which works until reboot, and then it doesn't, and the commands don't >> carry forward either. >> >> Does it matter what the name of the script is? >> > > Hi Doug, > > The script name doesn't matter. > > I don't know what you mean `the commands don't carry forward either' > > If I were you, I'd do the following. > > First, open a terminal window. Next, type `mkdir ~/bin' This command > may fail if the directory `bin' exists under your HOME directory. So > ignore the error. :) > > Change your current directory to ~/bin: > > $ cd ~/bin > > Create the shell script with your commands - I fixed your calls from above: > > $ cat > set_screen_settings <<EOF > xset -display :0 dpms 600 900 0 > xset -display :0 +dpms > EOF > > Set the shell script's execution bits: > > $ chmod +x set_screen_settings > > Now, instruct KDE to execute the script at login: > > o Personal Settings > Startup and Shutdown > o Click `Add Program ...' > o Type in the full path to your shell script: > > /home/USER/bin/set_screen_settings > > where USER is your user name. > > o Click `OK' in the `Properties ...' pane > o By default, you should see the `Status' checked so it reads `Enabled' > > You can log out and log back in to set it or you can run the command > manually via a terminal window: > > ~/bin/set_screen_settings > > Cheers, >
I had to add one more item to your fine instructions. In pclos, there are four instances of a script file called noblank.sh, all identical, and all DISabling dpms. These files are in: /usr/bin/ /root/.kde4/Autostart/ /home/USER/.kde4/Autostart/ /etc/skel/.kde4/Autostart/ So I cp'd them all to noblank.sh.bak and rm'd the originals. Now the system works just as I want it to. Thank you very much, once again, Pablo! --doug -- Blessed are the peacemakers..for they shall be shot at from both sides. --A.M.Greeley ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.