Skip to content
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

Not working on Ubuntu 18? #25

Open
mwalkerr opened this issue Jul 21, 2023 · 1 comment
Open

Not working on Ubuntu 18? #25

mwalkerr opened this issue Jul 21, 2023 · 1 comment

Comments

@mwalkerr
Copy link

The .Register() call succeeds without returning an error, but the shortcuts I'm trying (Ctrl + Shift + O and Ctrl + Shift + P) just aren't receiving any events. Using sudo showkey I see the same keycodes for ctrl (29), shift (42), and O (24) as I do in a Ubuntu 22 VM where the hotkey does work. Are there dependencies that may not be present in Ubuntu 18? Any ideas on how to debug?

@mwalkerr
Copy link
Author

Ah, numlock was toggled on. Found that out by using xev and seeing that the state was always 0x10 even when I wasn't pressing any modifiers. xmodmap showed Mod2 was numlock.

Ideally there'd be a way to register a hotkey that works with or without numlock toggled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant