How to disable screen saver? (solved)

Booting, installing, newbie
Post Reply
Message
Author
LordQwerty
Posts: 13
Joined: Thu 29 May 2008, 15:09

How to disable screen saver? (solved)

#1 Post 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.
Last edited by LordQwerty on Tue 10 Jun 2008, 16:55, edited 1 time in total.

spluthier
Posts: 10
Joined: Thu 29 May 2008, 23:52

#2 Post 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.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#3 Post by trapster »

Try adding xset s off to /root/.xinitrc before exec $CURRENTWM
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

From the menu Puppy 4
  • Menu / Desktop / pupx / Screensaver
    untick 'enable screensaver'
Does that help?
:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

LordQwerty
Posts: 13
Joined: Thu 29 May 2008, 15:09

#5 Post 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)

spluthier
Posts: 10
Joined: Thu 29 May 2008, 23:52

#6 Post 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! :)

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#7 Post 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.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

LordQwerty
Posts: 13
Joined: Thu 29 May 2008, 15:09

#8 Post by LordQwerty »

I actually solved it by putting the xset s off command as a script in the startup folder

LordQwerty
Posts: 13
Joined: Thu 29 May 2008, 15:09

#9 Post 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?

spluthier
Posts: 10
Joined: Thu 29 May 2008, 23:52

#10 Post 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.

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#11 Post by erikson »

[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

User avatar
dansolo
Posts: 65
Joined: Wed 20 Jun 2007, 20:09
Location: Argentina, Buenos Aires
Contact:

#12 Post 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.
:mrgreen: Acer Aspire 3690 full Puppy Laptop
:mrgreen: An old Puppy Pentium II to control machines by paralel port in my atelier.
:arrow: [url]http://www.ceramicart.com.ar[/url]

LordQwerty
Posts: 13
Joined: Thu 29 May 2008, 15:09

How to disable screen saver? (Solved)

#13 Post 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 :)

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#14 Post 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.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

sideburns
Posts: 56
Joined: Thu 28 Aug 2008, 01:32
Location: Freedonia
Contact:

#15 Post 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.
Registered Linux user #470359

nitrobanshee
Posts: 18
Joined: Wed 06 Aug 2008, 22:14

#16 Post 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.

brwnstown
Posts: 6
Joined: Thu 28 Oct 2010, 18:25

#17 Post 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

zandarian
Posts: 117
Joined: Wed 14 Oct 2009, 21:10

#18 Post 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

Post Reply