Skip to content

How to clear modifier without RedirectKey? #145

@sandangel

Description

@sandangel

Hi, I'm trying to remap Super+C to Ctrl+C using xkb, but I don't want to remap Super to Ctrl because I'm still using Super for other shortcuts. I have achieved this X using interpret F13 { RedirectKey(keys=c,modifiers=Control,clearmodifiers=Super) } and set symbols c to [c, C, F13]

I have tried set symbols c to [c, C, XF86Copy] on Mod4 xkb type but XF86Copy doesn't work with some applications because I still have modifier Super set when pressing Super+C

It would be great to have a way to clear modifier without using RedirectKey, or should I do something else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    X11 legacy: missing featureIndicates a need to implement legacy X11 featuresquestionIndicates that an issue, pull request, or discussion needs more information

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions