easwee.net // tiny digital playground

ubuntu 24 guake shortcut remap to cedilla

Another note.

I always use the cedilla / grave key (the one left of 1, under Escape) as a dedicated key shortcut to toggle Guake.

This used to work well in previous Ubuntu versions and I could set it from Guake settings, but since on Ubuntu 24 and supposedly because of Wayland, now if I'm in an editor it types the ¸ mark which is annoying. Setting it as a custom keyboard shortcut also does not override the mark output event. So I came up with this convoluted solution, but it does the job.

Install keyd and enable it:

sudo systemctl enable keyd --now

Create /etc/keyd/default.conf that will map the key to a key combination that is recognized by the system (after trying many keys like scrolllock, F13 and others that were taken or not recognized, i picked meta + F12)

[ids]
*

[main]
grave = M-f12

Restart keyd:

sudo systemctl restart keyd

Disable Guake’s internal shortcut:

gsettings set guake.keybindings.global show-hide "'disabled'"

Add a GNOME custom shortcut in Settings → Keyboard → Custom Shortcuts:

The cedilla key no longer types anything and reliably toggles Guake everywhere, on Wayland, on both laptop and external keyboards.