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

Hotkey doesn't always bring up Cerebro on Gnome wayland #291

Open
2 tasks done
haroldadmin opened this issue Apr 21, 2017 · 9 comments
Open
2 tasks done

Hotkey doesn't always bring up Cerebro on Gnome wayland #291

haroldadmin opened this issue Apr 21, 2017 · 9 comments

Comments

@haroldadmin
Copy link

haroldadmin commented Apr 21, 2017

  • I am on the latest Cerebro.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: <Fedora 25 with Gnome>
  • Cerebro.app version: <0.2.8>
  • Relevant information from devtools (See above how to open it):

Issue

Pressing the hotkey does not always toggle Cerebro on Fedora 25 with Gnome on Wayland. Whenever I'm on the desktop, or in Nautlius (or any other stock gnome app), Cerebro does not show up when i press the hotkey.

However, it does work when I am in other programs like Chromium or Firefox. Maybe this has something to do with Wayland itself? The hotkey invokes Cerebro as it should whenever I am using a program that uses Xwayland. Also, the issue is not present when I'm using Gnome on Xorg.

I should also mention that i have configured Super+Space as the hotkey. This combination is not used for any other shortcut in the DE.

@KELiON
Copy link
Collaborator

KELiON commented Apr 25, 2017

@haroldadmin just a quick first idea – is it possible that super+space is some Gnome shortcut that is used in desktop and default apps? It is easy to check – you can change shortcut and try to reproduce the same issue

@haroldadmin
Copy link
Author

I mentioned this in the description as well: Super+Space is not mapped to any shortcut in GNOME.

@glja021
Copy link

glja021 commented Apr 26, 2017

Well it is a bug indeed as the hotkey is only registered to XWayland via XGrabKey therefore is not accessible from any native Wayland app, however it's implementation belongs to the Chromium project.

Doing some quick research, looks like Electron doesn't have any plans yet to add compatibility, but I guess you could lend them a hand or drop a comment there 👍

@haroldadmin
Copy link
Author

So I guess the only workaround till then is to run GNOME on xorg.

@KELiON
Copy link
Collaborator

KELiON commented Mar 13, 2018

So, should we close this or you have another idea how we can fix it?

@mschrupp
Copy link

mschrupp commented May 9, 2018

@KELiON is it possible to toggle cerebro via CLI? if so, this would be a workaround. Gnome offers to define your own shortcuts... if I map this to a non-blocking script like cerebro toggle, it would be good for now...

@xkevinx
Copy link

xkevinx commented Feb 26, 2022

hello! I am experiencing the same issue. Was the CLI solution implemented? It seems that going back to X11 would affect the performances of my laptop.

thanks!

@heywoodlh
Copy link

I've noticed this issue on GNOME + X11 (on NixOS) when I have Super+Space as my hotkey. I have to press it twice in order for Cerebro to appear, which is pretty annoying. When I have Ctrl+Space set, Cerebro always appears on the first press.


Related, the Super+Space keyboard shortcut in GNOME is set by default to "Switch to Next Input Source". You must disable that in order to use any additional command with the Super+Space hotkey.

For now, I'm using Rofi on Super+Space as my launcher, I would rather not remap that muscle memory.

@tmerten
Copy link

tmerten commented Dec 12, 2024

This seems to be related #500 . It's also how e.g. ulauncher solves this.

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

7 participants