-
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

Supermicro 1U Server 10 BAY SFF 2x Xeon E5-2667 v2 3.30Ghz 128GB 2x 10GBase-T
$364.00

Dell PowerEdge R720 Server / 2x E5-2670 V2 =20 Cores / 128GB RAM / 4x Trays
$558.40

1U Supermicro Firewall Router Jumpbox 6x 10GB Ethernet E3-1270 V3 8GB Dual PS
$199.00

Dell PowerEdge T610 Tower Server - CTO Wholesale Custom to Order
$180.19

Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY
$159.99

HPE ProLiant EC200a Mini Server, Xeon D1518 2.2GHz CPU
$199.00

Dell PowerEdge R720xd Server 2x E5-2680 2.7Ghz 16-Cores 64gb H710 12x Trays
$329.99

Dell PowerEdge R620 1U Server - 2X E5-2630 Hex Core/64GB/H310 RAID/2X 300GB SAS
$174.99

Supermicro 2U Server 8 HD Bay 3.5 LFF E ATX Storage Chassis TQ Direct Connect
$199.00

Server 2022 2019 2016 2012 Standard/Datacenter/ essential License Key Activation
$15.00