keyboard: set numlock to off by default

...to avoid surprises on Acer Aspire One laptops where the numeric
keyboard does not physically exist but "overlaps" the qwerty keyboard.

Reported-by: staryvyr on IRC

Note: We do not like changing defaults, but feel that there is a good
reason for this one.
This commit is contained in:
Johan Malm 2024-12-29 17:32:23 +00:00 committed by Johan Malm
parent 968dc89277
commit bb982dc0af
3 changed files with 3 additions and 3 deletions

View file

@ -565,7 +565,7 @@ extending outward from the snapped edge.
*<keyboard><numlock>* [on|off]
When recognizing a new keyboard enable or disable Num Lock.
Default is on.
Default is off.
*<keyboard layoutScope="">* [global|window]
Stores the keyboard layout either globally or per window and restores

View file

@ -229,7 +229,7 @@
your favourite terminal or application launcher. See rc.xml for an example.
-->
<keyboard>
<numlock>on</numlock>
<numlock>off</numlock>
<layoutScope>global</layoutScope>
<repeatRate>25</repeatRate>
<repeatDelay>600</repeatDelay>

View file

@ -1497,7 +1497,7 @@ rcxml_init(void)
rc.repeat_rate = 25;
rc.repeat_delay = 600;
rc.kb_numlock_enable = true;
rc.kb_numlock_enable = false;
rc.kb_layout_per_window = false;
rc.screen_edge_strength = 20;
rc.window_edge_strength = 20;