You are not logged in.

#1 2015-05-28 09:30:39

Fred7109
Member
Registered: 2015-05-17
Posts: 134

xbindkeys and multiplie hotkeys

Hi

I have set xbindkeys to open my desktop menu with the "windows key", but I will also like to open a website with the "windows key + z". But every time I launch the website it also launch the menu? Is it possible to stop this? I have tried searching around the WWW, but could not really find anything.

Regards
Frederik

Offline

#2 2015-05-28 12:05:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,543
Website

Re: xbindkeys and multiplie hotkeys

I'm not sure if it is possible with Xbindkeys, but it is definitely possible for a key binding program to do this in X - one of the iterations of one of my WMs did what you describe.

You might want to check other key binding programs.  Sxhkd can use key chains, so it is more likely to be able to do this - though I haven't used it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-05-28 13:47:00

Fred7109
Member
Registered: 2015-05-17
Posts: 134

Re: xbindkeys and multiplie hotkeys

Thankyou for your help, but it did not solve the problem. Sxhkd cannot use the 'super' key alone. But I will look for other programs.
I will post as edit if I find a solution.

Offline

#4 2015-05-28 14:14:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,543
Website

Re: xbindkeys and multiplie hotkeys

You might also try "Super_L" or "Super_R" as these are the Xorg keysyms used for one of the 'windows' keys pressed by itself.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-05-28 15:27:03

Fred7109
Member
Registered: 2015-05-17
Posts: 134

Re: xbindkeys and multiplie hotkeys

"Super_L" or "Super_R" do not work either. But the output when using the 'super' or 'meta' alone is as follows:

Could not grab key 124 with modfield 221: the combination is already grabbed.

Can this be solved?

Offline

#6 2015-05-28 18:16:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,543
Website

Re: xbindkeys and multiplie hotkeys

The error message is pretty clear - something else is already grabbing that key - most likely your WM/DE.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB