Typing glyphs on Linux: Difference between revisions

Jump to navigation Jump to search
(Add information about dealing with setxkbmap resets in X windows)
Line 114: Line 114:
=== Why do my settings keep getting forgotten during my X windows session? ===
=== Why do my settings keep getting forgotten during my X windows session? ===


Since at least March 2020 there have been issues with `setxkbmap` settings being reset without user instruction under X windows.
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. It is described in more detail in the blog post [https://5ab5traction5.bearblog.dev/apl-keyboard-keeper/ Raku to the Rescue: APL Keyboard Keeper].
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>5ab5traction5 blog. [https://5ab5traction5.bearblog.dev/apl-keyboard-keeper/ Raku to the Rescue: APL Keyboard Keeper]</ref>.


<source>
<source lang=perl6>
#!/usr/bin/env raku
#!/usr/bin/env raku


Navigation menu