My X server is set to turn dpms blank on after 10
minutes without keyboard or mouse activity. When using
gxmame with joysticks, the monitor blanks in mid-play,
because the X server doesn't catch joystick presses. I
would like there to be an option in gxmame that would
deactivate dpms during play.
Here is one way this could be accomplished. Before
the rom begins to load, after a rom has been doubled
clicked, run this command: 'xset -dpms'. When the user
is done playing and presses 'escape' to quit xmame and
return to gxmame, run this command: 'xset +dpms', as
part of the process of redisplaying the frontend. This
behavior could be configurable with a check box in the
"Misc" section of the "Default Options" dialog.
Alternatively, gxmame could simply pass a user
configurable key press to the X server at a user
specified interval, attacking the problem directly.
This would have the side benefit of disabling
screensavers as well.
Unfortunately I don't have the programming
experience to create a patch to do this, but if you
ever have some free time to hack on gxmame, please
consider this feature request. Thanks for reading!