-
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
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
LOT OF 10 HPE JD092B X130 10G SFP+ LC SR Transceiver
$40.00
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
LOT OF 10 455883-B21 HP 10Gb SR SFP Transceiver 455885-001 456096-001
$59.99
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
Genuine Cisco ‎SFP-10G-SR Transceiver Module (10-2415-03)
$5.85
NEW FS SFP-10G-T 10GBASE T SFP+ 30M Transceiver Module (Lot of 1 Unit)
$39.95
Fully Compatibility 10GBase-T Transceiver SFP-10G-T SFP+ to RJ45 Copper 30M 80M
$58.50
New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module
$32.19