guake icon indicating copy to clipboard operation
guake copied to clipboard

Add first-time configuration guide for global hotkey on wayland

Open Davidy22 opened this issue 2 years ago • 1 comments

Wayland prevents global hotkey registration as part of its anti-keylogger crusade, which means that Guake's global toggle needs to be done by adding guake-toggle to the window manager's global keyboard shortfcuts. Currently this is not mentioned in the program, so I'd like to propose the following flow for the program:

  1. Detect wayland by catching global hotkey binding failure
  2. Pop a dialog to explain the situation and provide instructions on how to set the hotkey in keyboard settings.
  3. Offer to unbind the global hotkey so that further messages do not appear.

Davidy22 avatar Jan 18 '22 04:01 Davidy22

I was trying to find out why F12 would not open/close Guake after logging into my desktop environment (Gnome), and your post lead me to an answer. Thank you!

For others, the solution was to add a custom shortcut in Gnome's keyboard settings (open the launcher, open settings, go to the Keyboard tab, and add a custom shortcut with guake-toggle as the command)

davidhaley avatar Jan 22 '22 02:01 davidhaley