[Bug 30378] Re: Joystick activity does not stop the screensaver
I think danellisuk's approach is interesting. I wonder if there is any "null" key they could be redirected to? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
Dammit, I missed the tenth birthday of this incredibly annoying bug. Anyway, belated happy birthday! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
I wrote a program called joystickwake to work around this problem until display servers learn that joysticks are input devices. If you happen to be running Ubuntu Trusty, you can install it from my PPA: https://launchpad.net/~foresto/+archive/ubuntu/toys -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
Adding xscreensaver as an affected package, as it exhibits the same behavior as gnome-screensaver in this regard. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xscreensaver (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Also affects: xscreensaver (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
Agree whole heartedly with Stephan Sokolow. We need a way to have the X server handle the joystick without having it send the mapped events to other applications. Was there any response from upstream? For now, here is how you can enable the joystick within the X server:- sudo apt-get install xserver-xorg-input-joystick This creates the file /usr/share/X11/xorg.conf.d/50-joystick.conf Now to disable the mouse integration, and create a mapping of the buttons so they all behave as shift keys, edit the file to look as follows:- Section "InputClass" Identifier "joystick catchall" MatchIsJoystick "on" MatchDevicePath "/dev/input/event*" Driver "joystick" Option "StartKeysEnabled" "True" Option "StartMouseEnabled" "False" Option "MapButton1""key=50" Option "MapButton2""key=50" Option "MapButton3""key=50" Option "MapButton4""key=50" EndSection Now pressing any of the four mains buttons will prevent the screensaver from appearing. Although, this will not work for any games that you only use the direction pads on. I think most games involve button presses, so hopefully this is a practical solution for people until a proper solution is available. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
I have tested this and can confirm the issue still remains on both Ubuntu 12.04 and 14.04, so marking as confirmed. The technical reasons behind the current behaviour do not cause the issue at hand to become invalid. Upstream may have marked this as invalid, but this remains an Ubuntu issue, and this bug should remain confirmed until a suitable work around is found for Ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Changed in: gnome-screensaver (Ubuntu) Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
@10: It shouldn't. Expecting every game, past present and future (including closed-source ones where the developers bundled a copy of everything except libc and libGL to avoid having to maintain them) to special-case joysticks on Linux is insanity. This disagreement over approach reminds me of a Buddhist quote. “Where would I find enough leather To cover the entire surface of the earth? But with leather soles beneath my feet, It’s as if the whole world has been covered.” Even if that weren't the case, ignoring the joystick is architecturally wrong. The X server is supposed to reset the screensaver counter on INPUT. Joysticks are input. (And they're not typically used for the special "Let's control the music player without waking the monitors" case which justifies LIRC also being an exception.) Anyway, since the xf86-input-joystick driver can watch the joystick without blocking other applications, I've just e-mailed the upstream developer/maintainer to ask whether it's possible to use it to map joystick input to the X11 input queue in a way which would have no effect beyond being visible to the screensaver subsystem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
I'm on Ubuntu 12.04, and each of the Steam for Linux games I've played that support gamepads don't seem to inhibit the screensaver themselves. I don't know if it's realistic to expect them to all patch to deal with this themselves, and I'm not sure the responsibility should be on them. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-screensaver/+bug/30378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Changed in: gnome-screensaver Status: Unknown => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/30378 Title: Joystick activity does not stop the screensaver -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Changed in: gnome-screensaver Status: Invalid => Unknown ** Changed in: gnome-screensaver Importance: Unknown => Medium -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
The upstream task has become invalid because upstream has determined that the best workaround is for joystick using applications to inhibit screensaver activation directly. In the unlikely event that all games are ported to use the X joystick interface, it may be appropriate to revisit the behaviour of gnome-screensaver in the presence of joystick activity. For reference, joystick using applications that use SDL are expected to not activate the screensaver any longer, due to changes in SDL ( http://www.libsdl.org/cgi/viewvc.cgi?view=rev&revision=3558 ). Applications not using SDL should call XResetScreensaver as appropriate to avoid screensaver activation. Note also that the effects of such changes may be unobserved if some changes to xsync ( http://cgit.freedesktop.org/xorg/xserver/commit/?id=1f4fb0225b278d1cf4145aebeb0bdd23dc8f62d5 ) are not included in the running X server. I am marking this bug against Ubuntu gnome-screensaver also invalid, for the same reasoning. Those experiencing this issue are encouraged to file new bugs against the joystick using packages which fail to inhibit screensaver activiation. For example, if the behaviour with sauerbraten mentioned in comment #4 can be reproduced with a recent Ubuntu release, a bug should be filed against sauerbraten. ** Changed in: gnome-screensaver (Ubuntu) Status: Confirmed => Invalid -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
So this was never concluded. Why did it become "Invalid"? Did someone mistake this for a discussion of the problems with the mouse wheel? I suppose it is more of a feature request than a bug, but why couldn't the screensaver notice input from joystics? (especially now that more programs are using events to control the input and there should be some way to hotwire the sdl input anyway). -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Changed in: gnome-screensaver Status: New => Invalid -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
if you wish to script this you can add gnome-screensaver-command -i to your game launchers to inhibit the screen saver . I have yet to find a way to stop this command when the game quits -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
I would also like a fix/workaround to solve this issue. Even a screenlet switch would be useful at this point. -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
Just wanted to add a "me too". This is quite annoying, is there some kind of workaround? -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Changed in: gnome-screensaver Status: Unknown => New -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Bug watch added: GNOME Bug Tracker #347092 http://bugzilla.gnome.org/show_bug.cgi?id=347092 ** Also affects: gnome-screensaver via http://bugzilla.gnome.org/show_bug.cgi?id=347092 Importance: Unknown Status: Unknown -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
This screensaver bug is still present G.Gibbon, I found it while player sauerbraten using both mouse and keyboard. disabling the screensaver is necessary. I used to use Debian with Gnome and I didn't have this problem. If anyone is interested I still have my old debian partition and can check the difference if you tell me what to look for. Dan -- Joystick activity does not stop the screensaver https://bugs.launchpad.net/bugs/30378 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30378] Re: Joystick activity does not stop the screensaver
** Bug 56760 has been marked a duplicate of this bug -- Joystick activity does not stop the screensaver https://launchpad.net/bugs/30378 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs