Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bind since Ubuntu 18.04 update #1340

Closed
MrDJthib opened this issue Jun 4, 2018 · 18 comments
Closed

Can't bind since Ubuntu 18.04 update #1340

MrDJthib opened this issue Jun 4, 2018 · 18 comments
Milestone

Comments

@MrDJthib
Copy link

MrDJthib commented Jun 4, 2018

Console show this :
** (guake:14095): WARNING **: 18:52:19.209: Binding 'asterisk' failed!
My caracteristics:
Guake Terminal 3.2.2
VTE 0.52.1
Gtk 3.22.30
GNOME 3.28.1

@gsemet
Copy link
Member

gsemet commented Jun 4, 2018

do you use wayland?

@MrDJthib
Copy link
Author

MrDJthib commented Jun 4, 2018

Yes but before on Ubuntu 17.10 I was already on and binding worked perfectly

@gsemet
Copy link
Member

gsemet commented Jun 4, 2018

dont know how it worked i never had the binding working under wayland (see this page on the doc)

@gsemet
Copy link
Member

gsemet commented Jun 4, 2018

Can you see if this recommendation works: kupferlauncher/keybinder#11

@MrDJthib
Copy link
Author

MrDJthib commented Jun 4, 2018

The solution with guake -t works well, i'll try the recommandation

@MrDJthib
Copy link
Author

MrDJthib commented Jun 4, 2018

The recommandation didn't work, I suppose the update of ubuntu updated wayland and so now makes this error

@gsemet
Copy link
Member

gsemet commented Jun 4, 2018

i though ubuntu reversed back to x11 ?

@MrDJthib
Copy link
Author

MrDJthib commented Jun 5, 2018

I think Ubuntu 18.04 gives X11 when it is the first installation but not when you're updating it.

For me, the upgrade updated all softwares and after I've got this bug. I'll take a look on previous version of Gnome, Guake, etc. when they were working to see differences.

@gsemet
Copy link
Member

gsemet commented Jun 5, 2018

"Because Gtk2 applications are ran in XWayland. env GDK_BACKEND=x11 would make a Gtk3 application run under XWayland too"
so guake 0.8 (on gtk2) should work natively on wayland, while gtk3 app (guake 3) should have this env var set prior to launch, apparently.

@MrDJthib
Copy link
Author

MrDJthib commented Jun 5, 2018

Ok I got it I was on guake 0.8 and the Ubuntu upgrade updated it to guake 3. Finally, the recommmandation with the environment variable worked, it was because I was doing it wrong.
Thank you 😄

@MrDJthib MrDJthib closed this as completed Jun 5, 2018
@gsemet
Copy link
Member

gsemet commented Jun 5, 2018

cool :) can you manage to make this environment variable in /usr/local/share/applications/guake.desktop ?
Something by replacing:

Exec=guake

by

Exec= env GDK_BACKEND=x11 guake

will it fix for everyone ?

@MrDJthib
Copy link
Author

MrDJthib commented Jun 5, 2018

Tested and it works on Wayland and X11 :)

@gsemet
Copy link
Member

gsemet commented Jun 5, 2018

great, I'll prepare a patch on master and if you agree to test, it will please all wayland users !

@MrDJthib
Copy link
Author

MrDJthib commented Jun 5, 2018

No problem :)

gsemet added a commit to gsemet/guake that referenced this issue Jun 5, 2018
@gsemet gsemet added this to the -- Next Version -- milestone Jun 5, 2018
gsemet added a commit that referenced this issue Jun 6, 2018
@gsemet gsemet modified the milestones: -- Next Version --, 3.3.0 Jun 20, 2018
@deekosta
Copy link

I just ran into this issue on Arch in 2019; GNOME 3.32, fully updated, Wayland. My solution was to add a manual keybinding for the "guake" command to F12 in GNOME Settings. Works like a dream!

@samtuke
Copy link

samtuke commented Nov 11, 2019

@deekosta Works for me too (Fedora 30). For others, see Gnome docs on custom shortcuts.

@charbelcs123
Copy link

charbelcs123 commented May 25, 2020

Tried all solutions, still failing to bind indicator to guake:
image

Enabled/Disabled Wayland
started with env GDK_BACKEND=x11 guake

No luck, Please Help

@insign
Copy link

insign commented Jun 20, 2020

env GDK_BACKEND=x11 guake-toggle

Solution for me. Faster to toggle. Maybe needs be be opened with env GDK_BACKEND=x11 guake at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants