-
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
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$219.99
4TB Ssd 870 Internal Solid State Drive Hard Disk 2.5 Inch Sata Iii 2TB Ssd
$34.99
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD
$45.17
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
2 Pack SanDisk Z400s 2.5" 128GB SSD SATA III Internal Solid State Drive Memory
$18.79
4TB SSD 870EVO Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop
$59.99
2tb Ssd 870Evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop
$73.00
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$269.99
Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot
$188.09