-
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
Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives
$24.99
Apple MacBook Pro 13” Dual Core i5 16GB RAM | 1TB HD | MacOs Catalina | WARRANTY
$219.00
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
Samsung 1TB ST1000LM024 2.5" SATA Hard Drive
$12.99
1TB Samsung 850 Pro Series 2.5" SATA 3 SSD MZ-7KE1T0BW HDD hard drive MZ-7KE1T0
$59.99
Toshiba DT01ABA100V 3.5" SATA Internal Hard Drive 1TB Tested/Wiped
$15.00
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39