New OS, new problems. Recently, I wanted to try out Fedora. In my daily work
routine, I heavily rely on Guake, the terminal that
pops up when a global hotkey is pressed. However, when I started Guake for the
first time on Fedora 30, there was an error message saying that it could not
bind the global hotkey F12
.
This seems to be a known issue. Workarounds are described on GitHub.
- https://github.com/Guake/guake/issues/994
- https://github.com/Guake/guake/issues/492#issuecomment-119075514
- https://github.com/Guake/guake/issues/492#issuecomment-324165795
The workaround described the latter comment relies on Python 2, which is not available on Fedora 30. The updated instructions are as follows.
Create a file called /usr/bin/guake-toggle.py
with the following content.
#!/usr/bin/env python3
import dbus
try:
bus = dbus.SessionBus()
remote_object = bus.get_object("org.guake3.RemoteControl",
"/org/guake3/RemoteControl")
remote_object.show_hide()
except dbus.DBusException:
pass
Make the script executable. Finally, go to Setting > Devices > Keyboard and add a new hotkey that runs the above script.
If you want Guake to run at startup, go to Guakeās Preferences panel and enable Start Guake at login.
Update: The above solution has also been mentioned on GitHub.