Skip to content

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

@abzrg

Description

@abzrg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions