Monitor from going to sleep when playing with control

Posted:
09 Aug 2015, 00:10
by PauloBrazil
With the dolphin emulator does not happen that, but in SuperTuxKart does not cancel the stand-by when playing in USB Joystick
In the next version when SuperTuxKart open will cancel the stand-by using the joystick?
Google translator

Linux mint Cinammon 17.1
Re: Monitor from going to sleep when playing with control

Posted:
09 Aug 2015, 02:06
by hiker
Hi,
thanks for the report, I've opened a ticket for that (
https://github.com/supertuxkart/stk-code/issues/2275).
Cheers,
Joerg
Re: Monitor from going to sleep when playing with control

Posted:
09 Aug 2015, 05:30
by andrewj
This is somewhat an OS issue, where events like a mouse click are treated as "yes the user is still at the computer, so don't start the screensaver", but other events like mousewheel are ignored. It often happens to me when reading a long webpage, using just the mousewheel to scroll through it, and suddenly the screensaver decides to kick in. This issue has existed in Linux for a long long time.
It is possible this is not something which can be fixed within an application, ideally should to fix the X server or screensaver protocol to regard joystick events (etc) as "proof-of-life".
OTOH, movie players like VLC need to inhibit the screensaver, so there probably is some code around to look at for this.
Re: Monitor from going to sleep when playing with control

Posted:
09 Aug 2015, 14:32
by ArDanWol
I have this issue too. I use the caffeine app for Ubuntu to prevent this.
Re: Monitor from going to sleep when playing with control

Posted:
09 Aug 2015, 19:27
by deve
It should work now in current git. Every gamepad event resets screensaver timer.
Re: Monitor from going to sleep when playing with control

Posted:
10 Aug 2015, 23:17
by PauloBrazil
ArDanWol {l Wrote}:I have this issue too. I use the caffeine app for Ubuntu to prevent this.
when I watch long video in HTML5 in the browser Chrome monitor sleep.
this app does miracles with it?[but only when I watch video]