-
Selecting language with non-latin alphabet should enable keyboard layout switching
Hi!
It's a common problem, not a lot of people get this right. When I boot with lang=ru cheatcode, /etc/init.d/knoppix-autoconfig automatically selects xkeyboard=ru, too. The problem is that to get any work done I still need to go to keyboard layout settings, add 'us' keyboard and select some switchng hotkey (it's impossible to type commands or URIs with 'ru' layout, you'll get ыуечлиьфз -щзешщт пкзЖсекд_ыршае_ещппду гыбкг and реезЖ..лтщззшчютуе. instead). It's not a grave problem in Knoppix (not only I can add xkeyboard=us to boot parameters, there is even a GUI to setup layouts), but it can be solved completely in different ways:
1) Add another cheatcode which would set XKBOPTIONS in /etc/default/keyboard, so it would be possible to boot like this: knoppix lang=ru xkeyboard=us,ru xkbopts=grp:ctrl_shift_toggle
2) Copy the logic from, for example, d-i (https://sources.debian.net/src/conso...n.config/#L487): they first set the layout[s] based on the locale, adding 'us' if needed, then add -option grp:alt_shift_toggle,grp_led:scroll if there is more than one layout (also, lv3:ralt_switch if the layout is single, but non-US).
Best regards,
Ivan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$25.99

8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY
$19.99

16GB 2x 8GB DDR3 PC3L-12800R ECC REG Server Memory RAM for Dell Precision T5500
$25.99

A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC REG RDIMM Server Memory RAM
$14.99

16 GB (2 x 8GB) SK Hynix DDR3 Desktop Memory RAM PC3-12800U HMT41GU6AFR8C-PB
$31.95

4GB PC3 12800 Desktop Memory - Mixed Brands
$5.52

8GB PC3L-12800 SODIMM Laptop Memory RAM DDR3L 1600MHz MIXED BRANDS
$19.00

Hynix 4GB PC4-17000 DDR4-2133MHz DDR4 288-Pin Desktop Memory HP 798033-001
$9.49

Samsung 16GB 2Rx4 PC4-2133 RDIMM DDR4-17000 ECC REG Registered Server Memory RAM
$31.99

Memory Card Reader Mini 26-IN-1 USB 2.0 High Speed For CF xD SD MS SDHC
$5.49