|
|
Subscribe / Log in / New account

Typing costs of non-English keyboard layouts in programming languages

Typing costs of non-English keyboard layouts in programming languages

Posted May 4, 2020 12:14 UTC (Mon) by ballombe (subscriber, #9523)
In reply to: Typing costs of non-English keyboard layouts in programming languages by NAR
Parent article: Improving Python's SimpleNamespace

I do something similar. I stopped using X for typing when xmodmap was deprecated in favor of unusable xkb.


to post comments

Typing costs of non-English keyboard layouts in programming languages

Posted May 4, 2020 12:58 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

I use Xcompose settings which still seem to work even in the xkb era. `setxkbmap` is how I enable AltGr/compose keys on my layout as well. `xmodmap` seems mostly replaced with libinput these days. For example, here's how I remap Caps Lock to be Backspace:

% cat /etc/udev/99-kb-capslock.hwdb
evdev:input:b0011v0001p0001eAB41-*:
KEYBOARD_KEY_70039=backspace

which means that it also works on the TTY and not just when X is running (and apps can't sniff the fact that it is Caps Lock behind my back and do the wrong thing).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds