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

Error when launching xcolor from the Activities overview: Could not grab pointer #38

Open
guihkx opened this issue May 7, 2022 · 2 comments

Comments

@guihkx
Copy link

guihkx commented May 7, 2022

When trying to launch xcolor from the GNOME's Activities overview, nothing happens. Upon inspecting the system journal, however, you can see this message:

$ journalctl -b
< ... >
May 07 18:25:38 arch xcolor.desktop[164542]: error: Could not grab pointer

System information:

  • OS: Arch Linux
  • xcolor: 0.5.1
  • Desktop: GNOME 42.1
@aerosol
Copy link

aerosol commented Dec 1, 2022

I have the same stderr output trying to launch xcolor from polybar's click-left hook.

@SkwalExe
Copy link

I fixed the problem in my i3wm config by adding --release to the key binding:

bindsym --release $mod+x exec --no-startup-id xcolor...

I think this is because the pointer grab conflicts with the keyboard, so adding a short delay before starting the program also fixes the issue for me: sleep 0.2; xcolor ...

I also had this problem with polybar and adding the timeout fixed it.

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

3 participants