How to disable screensaver while using Gxine?
How to disable screensaver while using Gxine?
In Puppy 2.12 whenever I watch a movie using Gxine after a while
the screen goes blank (screensaver) which is kind of annoying when you have to press a key to resume playing every so often.
Is there a way to prevent this...? I could'nt find anything in the preferences that alluded to a solution.
Thanks.
the screen goes blank (screensaver) which is kind of annoying when you have to press a key to resume playing every so often.
Is there a way to prevent this...? I could'nt find anything in the preferences that alluded to a solution.
Thanks.
In 2.12 my monitor shuts off while I'm playing mp3 files unless I go to Menu -> Control Panel -> Gxset X settings, select the Screen saver tab and uncheck enable screen saver. I don't know that I'd consider this a bug, more like an unfortunate choice of default settings. My gripe is, the setting isn't saved. I have to do it each time I reboot.
yes, it turns the screen saver off
you could put this in defaultmediaplayer:
#!/bin/sh
xset s off
gxine "$@"
xset s on
which should disable the screensaver when gxine runs, and re-enable it when gxine shuts down
you can set the inactivity time if you like ... for example, run the screen saver after 600 seconds (10 minutes) of inactivity:
xset s 600
30 minutes:
xset s 1800
again, you can put the commands in /root/.xinitrc (it won't work in rc.local), or put the commands in defaultmediaplayer
i don't know why the gui doesn't save the changes
man page:
http://www.die.net/doc/linux/man/man1/xset.1.html
you could put this in defaultmediaplayer:
#!/bin/sh
xset s off
gxine "$@"
xset s on
which should disable the screensaver when gxine runs, and re-enable it when gxine shuts down
you can set the inactivity time if you like ... for example, run the screen saver after 600 seconds (10 minutes) of inactivity:
xset s 600
30 minutes:
xset s 1800
again, you can put the commands in /root/.xinitrc (it won't work in rc.local), or put the commands in defaultmediaplayer
i don't know why the gui doesn't save the changes
man page:
http://www.die.net/doc/linux/man/man1/xset.1.html
Now that's interesting: The Gx Settings GUI saves my settings without any problems at all. Odd that it seems to not be saving for others. I don't recall if it worked in 2.02 but it has from 2.10 and up. Now in Grafpup it never did.
Fluxbox, JWM, and IceWM likewise load the Gx.sh file (or whatever it's called) from my /root directory where I save it. The only one that doesn't is my desktop environment Xfce, but that doesn't bother me as it only takes a second to disable the screensaver and then turn on Mark's Puppy Screensaver instead. (Love those desktop waves! So don't the grandkids!)
In all of my distros I have the DPMS turned off by default in the Xorg.conf file. I hate it when the LCD monitor goes -snap!- as it shuts off. I don't mind it going blank, I just don't care for the power going off.
That's my 2 pieces of wampum anyway.
Amicalement,
Eyes-Only
"L'Peau-Rouge"
(P/s: Howdy Profolio!! )
Fluxbox, JWM, and IceWM likewise load the Gx.sh file (or whatever it's called) from my /root directory where I save it. The only one that doesn't is my desktop environment Xfce, but that doesn't bother me as it only takes a second to disable the screensaver and then turn on Mark's Puppy Screensaver instead. (Love those desktop waves! So don't the grandkids!)
In all of my distros I have the DPMS turned off by default in the Xorg.conf file. I hate it when the LCD monitor goes -snap!- as it shuts off. I don't mind it going blank, I just don't care for the power going off.
That's my 2 pieces of wampum anyway.
Amicalement,
Eyes-Only
"L'Peau-Rouge"
(P/s: Howdy Profolio!! )
-
- Posts: 1
- Joined: Fri 08 Jun 2012, 18:43
how to disable screensaver
(click) Menu
(click) Desktop
(click) pupX: set properties of X
the third tab will be
(click ) Screensaver
(clear the check box that displays) Enable screensaver
(click) Desktop
(click) pupX: set properties of X
the third tab will be
(click ) Screensaver
(clear the check box that displays) Enable screensaver