4,494
edits
(Add information about dealing with setxkbmap resets in X windows) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 112: | Line 112: | ||
== Troubleshooting == | == Troubleshooting == | ||
=== | === Settings reverted during X Windows session === | ||
Since at least March 2020 there have been issues with | Since at least March 2020 there have been issues with <source lang=console inline>setxkbmap</source> settings being reset without user instruction under the [[wikipedia:X Windows System|X Windows System]]. | ||
Below is a script written in Raku that continuously checks for this undesirable reset behavior and puts the intended settings back in place. | Below is a script written in [[wikipedia:Raku (programming language)|Raku]] that continuously checks for this undesirable reset behavior and puts the intended settings back in place.<ref>John Longwalker. [https://5ab5traction5.bearblog.dev/ 5ab5traction5 blog]. [https://5ab5traction5.bearblog.dev/apl-keyboard-keeper/ Raku to the Rescue: APL Keyboard Keeper]. 29 Jun, 2020</ref> | ||
<source> | <source lang=perl6> | ||
#!/usr/bin/env raku | #!/usr/bin/env raku | ||