Page 1 of 1

How to disable screen saver? (solved)

Posted: Sat 31 May 2008, 12:28
by LordQwerty
hi,

another newby question ... sorry it's me again ...

Is there a way to disable the screensaver, so that my screen is not turning black after a few minutes?
I can do this, but it is only in the same session. After I rebooted the computer, all settings are gone.
So, is there a way to save this option to disable the screensaver?

tnx.

Posted: Sat 31 May 2008, 23:42
by spluthier
Hey,

Did you ever find out how to do this? I'm trying to do the same thing. After the computer reboots, the screensaver is re-enabled.

Posted: Sun 01 Jun 2008, 00:30
by trapster
Try adding xset s off to /root/.xinitrc before exec $CURRENTWM

Posted: Sun 01 Jun 2008, 01:00
by Lobster
From the menu Puppy 4
  • Menu / Desktop / pupx / Screensaver
    untick 'enable screensaver'
Does that help?
:)

Posted: Sun 01 Jun 2008, 09:43
by LordQwerty
Lobster,

Thank you for your reply.

Nope that won't help, that's the option I found myself to ;-)

This setting is lost when you restart the computer, so it is only disabled for the current session (as mentioned when you change this setting)

Posted: Sun 01 Jun 2008, 21:43
by spluthier
trapster wrote:Try adding xset s off to /root/.xinitrc before exec $CURRENTWM
I tried this and it doesn't seem to work. I created a line inbetween a comment field and the exec $CURRENTWM field, and to no avail, the screensaver still enagages.

Also booted into the BIOS to see if there was a power-saving feature that was causing problems and didn't see anything.

Keep the suggestions coming! :)

Posted: Sun 01 Jun 2008, 21:52
by trapster
Try xset -s off in a console.
Then open the gui xsetter (Gxset from the menu) and see if the screensaver has been disabled.

I first opened the gui and checked to make sure it was enabled. Then I closed the gui.
Then I ran xset -s off
Reopened the gui and screensaver was not enabled. The command in the console worked for me by changing the gui.
I did not actually reboot to try it, but if the command worked, it would get set when .xinitrc ran.

Unless.....you're executing a wm prior to where you put it in .xinitrc
I actually bail out of .xinitrc a little early depending on which wm I use.

Posted: Mon 02 Jun 2008, 09:49
by LordQwerty
I actually solved it by putting the xset s off command as a script in the startup folder

Posted: Mon 02 Jun 2008, 14:49
by LordQwerty
I guess there must be some kind of power-manager look-alike in Linux, because the display is powered off after several minutes.

Maybe someone has a clue?

Posted: Wed 04 Jun 2008, 02:15
by spluthier
I actually solved it by putting the xset s off command as a script in the startup folder
Did this too with the same result you had - computer screen still goes black. I'm surprised at just how difficult this is turning out to be. haha

Keep me posted if you, or anyone on the forum figures out a way to disable the screensaver/power management system in puppy. (BTW I've checked my BIOS for a power management setting and didn't find anything - Thinkpad 600)

Cheers.

Posted: Wed 04 Jun 2008, 09:10
by erikson

Posted: Sun 08 Jun 2008, 15:39
by dansolo
Another way:

1- Do wath Lobster said
(be sure that (in Pupx) you click the 'Exit apply and save settings' button)
Lobster wrote:From the menu Puppy 4
  • Menu / Desktop / pupx / Screensaver
    untick 'enable screensaver'
2- Then, in rox, go to root directory.
3- Right clik on 'eye' button
(now you can see shared files witch names have a dot before the file name)
4- Right clik over '.xset.sh' file.
5- In the contextual menu go to " File '.xset.sh' / Permissions /"
6- Be sure that the command 'a+x (Make executable/searchable) is selected.
7- Clik the 'yes' button.

Please come here and reply us your results.
Thank you.

How to disable screen saver? (Solved)

Posted: Tue 10 Jun 2008, 16:54
by LordQwerty
Actually I did it with a conbination of:

1) putting the xset s off command as a script in the startup folder

2) http://www.murga-linux.com/puppy/viewtopic.php?t=29853

So this case is solved :)

Posted: Tue 10 Jun 2008, 18:29
by erikson
Actually the issue is confusing because one should indeed think of setting both screensaver and dpms (display power management signaling) parameters.

This can be done in one, combined xset command.

Code: Select all

xset s off -dpms
For Puppy series 4, the command can be put in a separate script placed in the startup folder (which is new to Puppy 4).

For Puppy series 3, the command can be put in /root/.xinitrc (or in /etc/rc.d/rc.local).

---
NB: There are still other ways, better integrated with xset gui's, and involving the /root/.xset.sh script. I'm working on a detailed, fully documented howto.

Posted: Sun 21 Sep 2008, 22:21
by sideburns
Thank you, you've just helped me solve the opposite problem. I don't like having to turn the screensaver back on every time I restart. (This seems to be the default in Dingo.) I've just edited the line in .xinitrc that sets up the screensaver, and will be rebooting to see how it worked.

Posted: Sun 21 Dec 2008, 01:43
by nitrobanshee
If this is not a sticky, it needs to be for all of the car PC`s out there running Puppy like me. It took a long time to find it. Make a script with xset s off -dpms and inset into the start up folder if running puppy 4 and up.
erikson wrote:Actually the issue is confusing because one should indeed think of setting both screensaver and dpms (display power management signaling) parameters.

This can be done in one, combined xset command.

Code: Select all

xset s off -dpms
For Puppy series 4, the command can be put in a separate script placed in the startup folder (which is new to Puppy 4).

For Puppy series 3, the command can be put in /root/.xinitrc (or in /etc/rc.d/rc.local).

---
NB: There are still other ways, better integrated with xset gui's, and involving the /root/.xset.sh script. I'm working on a detailed, fully documented howto.

Posted: Tue 30 Nov 2010, 02:21
by brwnstown
dansolo wrote:Another way:

1- Do wath Lobster said
(be sure that (in Pupx) you click the 'Exit apply and save settings' button)
Lobster wrote:From the menu Puppy 4
  • Menu / Desktop / pupx / Screensaver
    untick 'enable screensaver'
2- Then, in rox, go to root directory.
3- Right clik on 'eye' button
(now you can see shared files witch names have a dot before the file name)
4- Right clik over '.xset.sh' file.
5- In the contextual menu go to " File '.xset.sh' / Permissions /"
6- Be sure that the command 'a+x (Make executable/searchable) is selected.
7- Clik the 'yes' button.

Please come here and reply us your results.
Thank you.


This worked fine on puppy 511. Thanks

Posted: Mon 28 Jan 2013, 15:19
by zandarian
dansolo wrote: 3- Right clik on 'eye' button
(now you can see shared files witch names have a dot before the file name)
Thanks.

You have to left click to see the hidden files ( instead of witch :-) it should be which).

In my live Lucid Puppy 511 .xset.sh is created after, in Menu -> Desktop -> Desktop settings -> pupX..., I click on Apply. But that hidden file is created with execution/search permissions for all the users, as seen on the file properties, so 2 to 7 steps wouldn't be necessary. Perhaps if you install Puppy on your HDD this file is created without those permissions?

I think that .xset.sh is the configuration file for the xset command: if you run xset with some parameters (or use pupX -the graphical way-) that config file changes. So, if Puppy is installed (not live) the next time you boot it it should remember the changes (for example if you want a screensaver or not).

Are the suggestions of this thread valid for both full and frugal instalations of Puppy to a HDD?

Regards