-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable the Super-Key while Ingame #46
Comments
I wonder if we should / can do this in the extension or rather in game mode directly. |
Yes, have thought about this myself too. But it'll probably require some DE-specific things, so I asked here. |
@gicmo @Preisschild I doubt this could be done from an extension, the Super binding under Gnome Shell is baked pretty deep into the system. (There are configurable shortcuts for both Applications view and Overview, but they default to Super+A and Super+S, respectively. The binding of a lone Super press, when it's not used as a modifier, is special-case logic in the input handler.) One approach that might work is to go the route that remote-session tools use. Both Remmina and vncviewer have modes (optionally activated by Fullscreen, in vncviewer; activated by a toolbar icon, in Remmina) where they deliver all input events to the remote session, even special keypresses like Super and Ctrl+Alt+Fn. TBH I don't know how they do it, but I assume it involves imposing their own input handler in front of the Shell's default one. Certainly, the code is available, if someone wanted to find out how they do it. And presumably, a similar feature could be added to Game Mode, in order to bypass the normal global keybindings. (I still don't think the extension could handle it on its own, though. There would need to be support in Game Mode.) |
Some games (such as Arma) use the Super/Windows-Key for some actions, as it is disabled in Windows in those games.
On GNOME while playing such games the Activity-Menu opens.
I think a good feature would be to disable the hotkey while gamemode is running.
This feature could also be behind a switch, as it may be unwanted for some.
The text was updated successfully, but these errors were encountered: