Repository navigation
Hotkey Not Working on Linux Wayland
This page documents a known issue where LazyTyper's global hotkey fails to trigger on Linux systems running Wayland display server, along with the root cause analysis and solution.
Environment: Zorin OS 18 (noble), GNOME Shell 46.0, Wayland session, LazyTyper v1.8.7
Symptom: Pressing the configured hotkey (
Alt+Win) does nothing - recording does not start.
| Item | Value |
|---|---|
| Kernel | Linux devhost 6.14.0-33-generic x86_64 |
| Distro | Zorin OS 18 (noble) |
| Desktop | GNOME Shell 46.0 |
| Session | Wayland |
| Desktop Session |
DESKTOP_SESSION=zorin, XDG_CURRENT_DESKTOP=zorin:GNOME
|
| User / Group |
uid=1000(dev), member of input group (gid=995) |
| Input Device Perms |
/dev/input/event* owned by root:input, mode 660
|
| LazyTyper Version | 1.8.7 |
A later solved report confirmed the same /dev/input permission family on Manjaro/Arch Linux + KDE Plasma + Wayland with LazyTyper 1.8.7. In that case the app started normally, but global hotkeys silently did nothing until the user joined the input group and restarted the login session. Source: LazyTyper-releases#191.
Two common issues can cause the failure:
LazyTyper maps Alt+Win internally as Option+Command. On Wayland + GNOME:
- The
Win/Superkey is heavily used by the desktop environment and may be intercepted before reaching applications - LazyTyper's Linux hotkey listener reported:
Failed to register shortcut Option+Command via linux hotkey listener: UnsupportedKey("Command")
Conclusion: Avoid using Win/Super as part of a global hotkey on Linux Wayland.
Even after switching to a compatible hotkey (Ctrl+Alt+Space), the hotkey still did not work. The log showed:
evdev: no keyboard devices found yet in /dev/input
The cause:
-
/dev/input/event*devices requireinputgroup membership to read (permissions:root:input 660) - The user had run
sudo usermod -aG input $USER, but did not log out and back in - The LazyTyper process was still running in the old session, which did not inherit the new group membership
- Attempting to open
/dev/input/event3orevent0directly returnedPermission denied - Running
sg inputto temporarily switch groups confirmed access was possible
sudo usermod -aG input $USER
# Arch / Manjaro users can also use:
# sudo gpasswd -a "$USER" inputThis is critical. Group changes from usermod -aG only take effect in new login sessions. Simply restarting LazyTyper in the same session is not enough.
# Verify group membership after re-login
groups
# Should include "input" in the outputAfter logging back in, launch LazyTyper. The hotkey should now work correctly.
After completing the steps above:
-
Ctrl+Alt+Spacetriggers recording as expected - LazyTyper log shows successful shortcut registration and keyboard device detection
If you encounter similar hotkey issues on Linux Wayland, check these three things in order:
-
Log recognition - Does the LazyTyper log show the target shortcut being processed? Check
~/.local/share/com.lazytyper.desktop/logs/for entries likeProcessing config: keys=... -
Device permissions - Can LazyTyper read
/dev/inputdevices? Look forevdev: no keyboard devices foundin logs -
Session freshness - Was LazyTyper started in a session created after the
usermod -aGcommand? If not, log out and log back in
- On Wayland, avoid
Win/Superas a global hotkey modifier - it is unreliable due to desktop environment interception. - On KDE Plasma / Manjaro / Arch-like systems, if LazyTyper starts but hotkeys silently do nothing, first check whether logs contain
evdev: no keyboard devices foundor whether the user is missing theinputgroup. - After any
usermod -aGchange, always log out and log back in before testing. - GNOME may also reserve
Alt+Spacefor the window menu (org.gnome.desktop.wm.keybindings activate-window-menu), so check for conflicts with:gsettings list-recursively | grep keybinding
Contributor: VAN