Skip to content

Keyboard input layout configuration #2058

Description

@tulilirockz

Feature Description

I'd like it so these fields:

input {
    keyboard {
        xkb {
+           // Specifically the layout section!
+           // layout "us"
            // variant "colemak_dh_ortho"
            // options "compose:ralt,ctrl:nocaps"
            // model ""
            // rules ""
            // file "~/.config/keymap.xkb"
        }
    }
}

Would be modifiable via a dank material settings page or similar.

Use Case

This has been kind of a reocurring pain point I've noticed with DMS/Zirconium users, keyboard configuration on the niri level is only possible via the niri configuration file instead of a menu under "Keyboard Input" or whatever.

Compositor(s)

All compositors

If Other, please specify

No response

Proposed Solution

  • Making a new tab for "Input"?
  • Maybe repurposing the "Locale" one to "Input"?
Image
  • Then on the tab itself you can use localectl list-x11-keymap-layouts (or preferrably a dbus call for this) to get all the keyboard layouts available and make a huge list based on it maybe?

Alternatives/Existing Solutions

Whatever GNOME and KDE are doing, they did it right - I don't really see people complaining there

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions