Guake terminal does not drop down with F12
After a recent upgrade on my local Debian install Guake does not drop down by using F12
Operating System: Debian GNU/Linux buster/sid
Kernel: Linux 4.12.0-1-686-pae
Architecture: x86
Guake version: 0.8.8-1
once I started it manually I can call it with F12, but only on the virtual desktop where it was started, as soon as I change do a different desktop I can't call it with F12 anymore.
As you can see on the screenshot, I'm on the 2ond desktop and in the bottom left the guake symbol shows up. I can call the terminal by clicking there with the mouse. But F12 does not work.

If I start it from a terminal I get the following output:
(guake:3387): libglade-WARNING **: unknown attribute `swapped' for <signal>.
INFO:guake.guake_app:Logging configuration complete
/usr/lib/python2.7/dist-packages/guake/guake_app.py:865: GtkWarning: IA__gtk_window_set_type_hint: assertion '!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)
/usr/lib/python2.7/dist-packages/guake/guake_app.py:866: GtkWarning: IA__gtk_window_set_type_hint: assertion '!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_NORMAL)
^CTraceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/guake/main.py", line 253, in <module>
exec_main()
File "/usr/lib/python2.7/dist-packages/guake/main.py", line 250, in exec_main
gtk.main()
Are you running on Xorg or Wayland? If it's Wayland it may be related to this issue: https://github.com/Guake/guake/issues/492
If I type this command:
echo $XDG_SESSION_TYPE
I get this:
wayland
I found out that it makes a difference what kind of window is in the background:
- with Guake itself it works (close)
- with Firefox it works (open and close)
- with Frescobaldi it works (open and close)
- with gedit nothing works
- with no window nothing works, etc...
Is there a way how to check if a window is using Wayland or X?
Yes. That's the same behaviour as the issue I mentioned. It's the same one. Every Gnome app uses Wayland, so that's why it doesn't work on gedit, nautilus, no window, etc. Firefox (and most other non-gnome programs) are running on Wayland through XWayland, and in that case it will work. The issue is that Guake uses a global hotkey library made for Xorg, and there is no interfaces in the Wayland specification yet for global hotkeys so that a similar library can be developed for Wayland. The only workaround as of now is configuring hotkeys on your window manager of choice for opening and closing Guake as specified by this and this comment, the first one explaining the workaround and the second one providing a way to reduce the delay of guake opening and closing when using the provided workaround. Another workaround is simply ditching Wayland entirely and choosing Gnome on Xorg as your session on GDM or whatever display manager you're using. It might be a good idea to close this issue seeing as it is a duplicate.
thanks for the support, I'll close the issue.
I have this issue as well, however I'm on X11.
In particular I'm using Arch and
$ guake --version
Guake Terminal: 3.7.0
VTE: 0.60.3
VTE runtime: 0.60.3
Gtk: 3.24.21
I actually had this issue first on my laptop (also Arch), several months ago. I figured out that first opening the Guake preference menu fixes the issue. I don't actually need to DO anything, I just need to open it and can then close it again.
Also, starting a few months ago, Guake doesn't initially honor the "no scroll bar" setting. However, closing Guake (with F12) and then immediately reopening it (again with F12) fixes this, but it has to be done every time you start a new terminal or split an existing one.
Hi all,
I have the exact same problem under archlinux.
'Guake Terminal: 3.7.0
VTE: 0.60.3
VTE runtime: 0.60.3
Gtk: 3.24.22
$
Pressing the F12 key does not work. I have to start the Guake configuration program, quit it immediately, for the F12 key to work again. Creating a keyboard shortcut calling the guake-toggle program does not work. And I'm on X11:
$ echo $XDG_SESSION_TYPE
x11
$
Best regards.
same problem under Ubuntu 20.04.1 LTS
guake -V
Guake Terminal: 3.6.3
VTE: 0.60.3
VTE runtime: 0.60.3
Gtk: 3.24.20
$XDG_SESSION_TYPE:
echo $XDG_SESSION_TYPE
x11
Same with me. Absolutely the same versions and settings.
Ubuntu 20.04.1 LTE
same with me i am on ubuntu 20.04! Also i tried to remove it with going to software & updates -> other software and removing it but it doesn't work, i also tried to delete all of their files
ok i think i found a solution to remove it : you have to type in command sudo apt autoremove guake now i am trying to install it and try again
ok i tried sudo apt-get install guake -y but the same prob again actually i tried to change the shortcuts like ctr alt 0 and stuff like that but nothing any suggestions about how to replace that or something?? i need it for a competitive programming tournament:)
I found a nice workaround. Add a keyboard shortcut for it in the DE's keyboard shortcut settings. For example, in Gnome I set F12 to run Guake and it is working perfectly so far.
Seems the restore previous session is what is causing the issue of it not coming up as visible with F12 for me when I restart the machine. With that option removed, it works fine... I'm just using x11 (fvwm). Could be related, not enough time to diagnose, so just leaving those options off for now.
by the way if "guake -t" doesn't work "guake --show" should definitely bring it up.
I had the same issue on dell precision 5550 where guake will report issue with binding F12. The problem is that on my keyboard you have to press Fn + End to get F12 and I had it locked so it defaults to F1-12. This caused the issue.
Changing keyboard setting in BIOS to default to F keys and not to volume up, volume down, and similar functions resolved the issue.
To be clear, I'm using a normal, full-sized American keyboard without a Fn-key. It doesn't have any multimedia keys either. It's just a keyboard.
same problem under Ubuntu 20.04.1 LTS
guake -V Guake Terminal: 3.6.3 VTE: 0.60.3 VTE runtime: 0.60.3 Gtk: 3.24.20$XDG_SESSION_TYPE:
echo $XDG_SESSION_TYPE x11
Exactly same settings and Guake does not slide down
I have the same problem on Ubuntu 21.04
guake -V
Guake Terminal: 3.6.3
VTE: 0.62.3
VTE runtime: 0.62.3
Gtk: 3.24.25
$XDG_SESSION_TYPE:
echo $XDG_SESSION_TYPE
wayland
My workaround is a custom keybinding to F12 via ubuntu intern keyboard shortcuts
same here as well wayland
done i have set a shortcut using ubuntu system
