Linux and screensaver issues

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Laban
New Member
Posts: 4
Joined: Tue Feb 21, 2006 10:56 pm

Linux and screensaver issues

Post by Laban »

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_ »

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. :oops:
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

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 »

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 »

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 »

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 »

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
Post Reply