-
Notifications
You must be signed in to change notification settings - Fork 38
Hotkey In Wayland
Tom Watson edited this page Jun 20, 2023
·
5 revisions
Fedora and Ubuntu (since 21.04) use the Wayland session by default.
By design, Wayland prevents apps from registering global hotkeys. Until something is implemented to allow us to do that, you must manually add a shortcut that executes emote
. In Gnome, you can add a global keyboard shortcut with the following steps:
- Open "Settings"
- Navigate to the "Keyboard" settings in the sidebar
- Scroll down to "Keyboard Shortcuts" and press "Customize Shortcuts"
- Select "Custom Shortcuts" and then "Add Shortcut"
- Set a name, choose your desired shortcut and then set "Command" to
- If you have installed via snap:
emote
- If you have installed via flaptak:
flatpak run com.tomjwatson.Emote
- If you have installed via snap:
For now, Emote works better under X11 - you can configure the global keyboard shortcut in the app itself and the app generally will respond to the shortcut more quickly. Emojis are also auto-inserted into the focussed app under X11. If desired, you can switch back to an X11 session like so:
- Log out
- Click name
- Click on the gear icon in the bottom right and select "Ubuntu" (or similar). Whichever option does not say "Wayland".
- Log back in