mooz / xkeysnail

Yet another keyboard remapping tool for X environment
890 stars 112 forks source link

Mapped CapsLock to Ctrl, but Ctrl + mouse clicks and scroll does not work #174

Open abzrg opened 11 months ago

abzrg commented 11 months ago

I mapped CapsLock to be both Ctrl and Escape:

define_multipurpose_modmap({
    Key.CAPSLOCK: [Key.ESC, Key.LEFT_CTRL]
})

However, when I try to zoom into my browser with Ctrl + mouse scroll up/down, it does not zoom. Or when I want to open a link in a new tab with Ctrl + mouse click it does not work.

Note that I previously was able to use setxkbmap to map CapsLock to Ctrl, and it handled mouse clicks.

setxkbmap -option "caps:ctrl_modifier"

With xkeysnail running I cannot do that.

Do you know how can I fix this?