You are not logged in.

#1 2011-03-16 06:29:27

MkFly
Member
From: Mars
Registered: 2009-12-10
Posts: 141

xbindkeys: apply only to right Control key

I'm trying to set up some Ctrl+ shortcuts that I want to apply only to the right Control key, Control_R.

The output of xbindkeys -mk shows the same thing, whether I use the left Control key, or the right Control key, for the button being pressed.  xmodmap wasn't any help, no matter what I changed keycode 105 to (which is Control_R by default on my keyboard), xbindkeys gives me the same output for the keypress.

The first below is me hitting Control_R+Right, the next is Control_L+Right.  The keyup appears to change, but it becomes Ctrl+Ctrl?  Not sure what's going on there.  Any help with this would be appreciated, I'm new to xbindkeys/xmodmap.


"(Scheme function)"
    m:0x14 + c:114
    Control+Mod2 + Right
"(Scheme function)"
    m:0x14 + c:105
    Control+Mod2 + Control_R

"(Scheme function)"
    m:0x14 + c:114
    Control+Mod2 + Right
"(Scheme function)"
    m:0x14 + c:37
    Control+Mod2 + Control_L

Offline

#2 2024-06-29 07:00:10

haml3t
Member
Registered: 2024-06-29
Posts: 1

Re: xbindkeys: apply only to right Control key

having the same issue 13 years later

Offline

#3 2024-06-29 08:36:43

mesaprotector
Member
Registered: 2024-03-03
Posts: 172

Re: xbindkeys: apply only to right Control key

You might consider making a new thread (with more details!) instead of posting in one for a 13 year old issue smile

That said, you can definitely get around the issue in Xorg; no idea how Wayland handles it.

Last edited by mesaprotector (2024-06-29 08:37:02)

Offline

Board footer

Powered by FluxBB