Albert on some systems may have problems like this:
- Setting a hotkey gets refused
- A particular hotkey is not allowed
- Hotkey issues on niche system XYZ
- Can’t set single modifier hotkeys
- The set hotkey does not work (Wayland )
What can one do about this?
Qt does not provide systemwide hotkeys and hotkeys on Linux are cumbersome for several reasons. Especially emerging Wayland delegates hotkeys registration to the compositor, i.e. Gnome, KDE, …. Interfacing theses is too much to handle and does not generalize well. Therefore the native hotkey will be dropped. The general solution to these issues is to let your desktop environment register the hotkey and run the command
albert toggle or
albert show. For the major desktops you can achieve this by:
- Navigate to Settings → Keyboard.
- Click + at the bottom.
See the Gnome docs
- Navigate to System Settings → Shortcuts and Gestures → Custom Shortcuts
- Click Edit → New → Global Shortcut → Command/URL.
See the KDE docs
Cinnamon / LinuxMint
- Navigate to System Settings → Keyboard → Shortcuts → Custom Shortcuts
- Click Add custom shortcut