Skip to content

Add support for Multi_key in valid modifiers #1956

@kevinclevenger

Description

@kevinclevenger

This is an accessibility issue, seems like it would be a simple addition.

To help work around some physical left hand issues I can set something like this in sway/swayfx

input type:keyboard {
  xkb_layout us
  xkb_variant altgr-intl
  xkb_options compose:rctrl
}

bindsym Multi_key+left exec wtype -P home -p home
bindsym Multi_key+right exec wtype -P end -p end
bindsym Multi_key+down exec wtype -P next -p next
bindsym Multi_key+up exec wtype -P prior -p prior

and get a 'right hand only' solution for home/end/pgup/pgdown on a laptop without having to use the fn modifier.

In niri I can do

input {
  keyboard {
    xkb {
      layout "us"
      variant "altgr-intl"
      options "compose:rctrl"
    }
  }
  ...

and wev sees rctrl as Multi_key (key 105), but it's not in valid modifiers in Configuration:-Input.md and niri doesn't recognize it for mapping.

YaLTeR@Niri said: If this modifier is recognized by xkb as such, then it needs to be added in Smithay for niri to support this kind of binding niri-wm/niri#1405

I opened a discussion but it's been ignored for almost a year.

Can we please get Multi_key added to the valid modifiers for Smithay?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions