Sway: input ... numlock|capslock off|on

Created on 19 Jul 2018  路  7Comments  路  Source: swaywm/sway

Would be nice to set the initial state for modifiers.

enhancement

Most helpful comment

What do you think of having numlock on by default (ie. if there's nothing in the config to say otherwise)?

All 7 comments

I think that needs a new export in wlroots, maybe wlr_keyboard_set_modifiers to complement wlr_keyboard_get_modifiers.

What do you think of having numlock on by default (ie. if there's nothing in the config to say otherwise)?

I like it

Closed by #2330

The new default behavior is not fun on many laptop keyboards, where the "number pad" reuses U, I, O, J, K, L, and other keys.

Also on most systems, isn't the default numlock value configurable in the BIOS? I don't know of any other window manager that defaults to messing with numlock.

Most other window managers also aren't in charge of your entire input stack. But fair point, we should probably turn this off by default.

I made a PR that changes this behavior: https://github.com/swaywm/sway/pull/2371

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StephenBrown2 picture StephenBrown2  路  4Comments

aidanharris picture aidanharris  路  3Comments

WhyNotHugo picture WhyNotHugo  路  3Comments

jakubn551 picture jakubn551  路  4Comments

dnkl picture dnkl  路  4Comments