F12 acting weird in 21.04, can no longer toggle Guake

Since upgrading to 21.04, I can no longer use Guake as expected. My F12 key does not appear to function the way it used to. It will not summon the Guake window, and when I manually open it, pressing F12 will not cause the window to hide.

Instead, pressing F12 prints a "~". In fact, many function keys seem to, including F5 through F8, F10, and F12. Interestingly, F11 does successfully toggle Guake in and out of fullscreen mode.

When I check the shortcuts in the Guake Preferences, F12 is mapped to "Toggle Guake visibility". I can undo that mapping, set it to something else, and then successfully remap it to F12. But no matter what I set it to, it won't respond.

I have tried apt purge on all things guake and reinstalled, but it hasn't fixed the problem. Google hasn't been able to shed much light on this. Can anyone suggest another solution? Thanks very much.


Solution 1:

If you wish to continue using the default Wayland, you can add the shortcut manually.

  • Open Gnome settings
  • Click Keyboard Shortcuts
  • Scroll to the bottom and click '+'
  • Enter name: Show / hide guake
  • Enter command: guake-toggle
  • Click Set Shortcut and set which shortcut key you'd like to use

Relevant guake issue: https://github.com/Guake/guake/issues/1642

Specifically: https://github.com/Guake/guake/issues/1642#issuecomment-580668579

Solution 2:

This appears to be the result of an incompatibility with Wayland and guake. To work around this issue, log into Ubuntu with Xorg instead. It is a known issue to the guake development team: https://github.com/Guake/guake/issues/1841