General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.
Moderator: ZSNES Mods
Laban
New Member
Posts: 4 Joined: Tue Feb 21, 2006 10:56 pm
Post
by Laban » Wed May 31, 2006 7:18 pm
Does any of you have a good idea on how to disable the screensaver/powermanager (turning the monitor off) while using Zsnes? I'm playing with a USB-attatched Logitech Dual Action. Of course I COULD disable the saver manually and then take it back when done, but somehow that feels wrong. I want it to be automatic!
I'm probably not alone in this matter, but I couldn't find any solutions here on the forum. Using KDE with X.org if that's of any interest.
!ERAU QSSI DLRO WEHT
kieran_
Mugwump
Posts: 824 Joined: Fri Jul 30, 2004 9:05 pm
Post
by kieran_ » Wed May 31, 2006 7:31 pm
Wrong forum.
Isn't there an option in ZSNES that allows you to disable the screensaver? Maybe it isn't in the linux version.
Edit: I checked the ZSNES docs and the "disable screensaver" option is only in the Win port.
Deathlike2
ZSNES Developer
Posts: 6747 Joined: Tue Dec 28, 2004 6:47 am
Post
by Deathlike2 » Wed May 31, 2006 7:37 pm
I remember hearing the disable screensaver option doesn't work... but meh.. (this feature being Windows specific is a different problem altogether)
You will have to make a request for the disable power management options though... (for SDL+Win)
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
paulguy
Zealot
Posts: 1076 Joined: Sat Jul 02, 2005 2:01 am
Contact:
Post
by paulguy » Wed May 31, 2006 11:17 pm
make a script, im sure there's a command for enabling and disabling those.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632 Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !
Post
by grinvader » Thu Jun 01, 2006 2:31 am
Too many different screensavers/power managers without any standardized way to pause them -> no effort from our side.
皆黙って俺について来い!!
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon:
Gideon Zhi | CaitSith2 | Nach | kode54
BRPXQZME
Hazed
Posts: 54 Joined: Tue May 30, 2006 3:47 am
Location: Centreville, VA
Contact:
Post
by BRPXQZME » Thu Jun 01, 2006 2:33 am
MPlayer disables screensavers in various ways, but it does depend on the OS and (especially in Linux) the WM.
In KDE, the command MPlayer uses to disable it is
Code: Select all
dcop kdesktop KScreensaverIface enable false 2>/dev/null >/dev/null
(and just set it to true to turn it back on).
Surely a script can handle that.
Laban
New Member
Posts: 4 Joined: Tue Feb 21, 2006 10:56 pm
Post
by Laban » Thu Jun 01, 2006 4:24 pm
The script turned out this simple:
Code: Select all
#!/bin/sh
dcop kdesktop KScreensaverIface enable false 2>/dev/null >/dev/null
zsnes-bin
dcop kdesktop KScreensaverIface enable true 2>/dev/null >/dev/null
Also renamed zsnes to zsnes-bin. Thanks for the help!
!ERAU QSSI DLRO WEHT