You are not logged in.
Is there a program for configuring global keybinds that work everywhere like REISUB does?
I'm on X11 using awesomewm & its keybinds would not work in specific programs.
I have also tried sxhkb & xbindkeys, both with sudo & no sudo to no avail.
Here some of the programs in which my global keybinds stop working:
- GoldenDict-nc & qolibiri
both of them prevent keybinds from working during a popup (ex. GD search bar popup; qolibri word lookup popup)
- the linux fork of JoeQuake: https://github.com/matthewearl/JoeQuake-1
keybinds completely stop working ingame
In all of those programs REISUB would still work.
Offline
The reason is that at this point the keyboard is grabbed by those clients and the shortcut daemons don't receive any events.
No shortcut daemon that's implemented as an X11 process will work, but you don't need (nor will get) shortcuts that bypass the entire userspace (well, you could implement a kernel module for that, but that's a really dumb idea)
https://archlinux.org/packages/extra/x86_64/keyd/ and https://aur.archlinux.org/packages/kmonad-git should let you do what you likely seek, but there're pitfalls (mostly that they won't run as your UID in the context of your GUI session)
What's the actual problem you're trying to solve? Why do you (think you) need to fire some shortcut while a popup menu is open?
Offline
The biggest problem is not the popups, but programs that lock you out completely like JoeQuake. The hotkeys I would generally use would be something for switching the workspace/tag or killing the current program in case something happen (I had it happen before & I had to use the REISUB keys to kill the whole current session in awesomewm). Honestly even for popups I would still want to switch a workspace/tag to quickly check something.
So outside of general conveniece, my main issue is that I don't have access to global hotkeys that would let me kill the current process (for example if it hangs), or switching to a workable workspace/tag.
Offline
ctrl+alt+F2, log in there, kill the game
Next to that and the forementioned daemons: /etc/X11/xorg.conf.d/10-server.conf
Section "ServerFlags"
# kills the X11 server
Option "DontZap" "false"
# enabled anyway, but allows you to switch to a different TTY, log in there and kill processes at will
Option "DontVTSwitch" "false"
# The next two are supposed for debugging purposes only and add a security breach as screenlockers use the grabs to secure the terminal!!
# Don't do this in a hostile environment
Option "AllowDeactivateGrabs" "true" # also run setxkbmap -option grab:break_actions
Option "AllowClosedownGrabs" "true"
EndSection
Offline
Yeah, switching to a TTY, would actually fix the issue as well. So I guess it is just convenience. Thanks!
I would still look into the packages you suggested to see if there is something I could do to make the hotkeys consistent.
I don't quite get what you meant with the code snippet to 10-server.conf.
Offline
You can enable zapping (ctrl+alt+backspace) and to deactivate grabs or kill grabbing clients w/ ctrl+alt+kp_divide/multiply and the snippet explains how and points out why esp. the latter isn't enabled by default.
Offline
I see, I guess I will stick to TTY for now - thanks!
Offline