-
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
![VINTAGE DEC Digital RK11-D STATUS M7254 PDP 11 (B1) picture](/store/img/g/EIUAAOSwhFpmdXe5/s-l225/VINTAGE-DEC-Digital-RK11-D-STATUS-M7254-PDP-11-B1-.jpg)
VINTAGE DEC Digital RK11-D STATUS M7254 PDP 11 (B1)
$129.99
![Vintage DEC/CLEARPOINT INC. -QRAM-2 SAB-1 1MB Q-BUS MEMORY MSV11-QA (B2) picture](/store/img/g/x0gAAOSwJlpkpY~1/s-l225/Vintage-DEC-CLEARPOINT-INC-QRAM-2-SAB-1-1MB-Q-BUS-.jpg)
Vintage DEC/CLEARPOINT INC. -QRAM-2 SAB-1 1MB Q-BUS MEMORY MSV11-QA (B2)
$129.99
![Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP picture](/store/img/g/kd8AAOSw0itmAxUu/s-l225/Vintage-Harris-S550-Front-Control-Panel-Console-w-.jpg)
Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP
$2379.15
![Vintage DEC MicroVAX 3400 MAYFAIRII CPU Board ~ 50-17386-01 picture](/store/img/g/9cIAAOSwyTFlcmlv/s-l225/Vintage-DEC-MicroVAX-3400-MAYFAIRII-CPU-Board-50-1.jpg)
Vintage DEC MicroVAX 3400 MAYFAIRII CPU Board ~ 50-17386-01
$69.85
![Vintage DEC Digital Professional 350 Desktop Computer PC350-D2 picture](/store/img/g/6IUAAOSwRzhmeaIC/s-l225/Vintage-DEC-Digital-Professional-350-Desktop-Compu.jpg)
Vintage DEC Digital Professional 350 Desktop Computer PC350-D2
$1699.95
![Vintage DIGITAL DEC MICROVAX II - 630QZ-A2 picture](/store/img/g/EIgAAOSwY89mbGro/s-l225/Vintage-DIGITAL-DEC-MICROVAX-II-630QZ-A2.jpg)
Vintage DIGITAL DEC MICROVAX II - 630QZ-A2
$2000.00
![VINTAGE Green Screen Digital Terminal Monitor Model DEC VT320 - Powers On picture](/store/img/g/rQcAAOSwkRJmZ0mf/s-l225/VINTAGE-Green-Screen-Digital-Terminal-Monitor-Mode.jpg)
VINTAGE Green Screen Digital Terminal Monitor Model DEC VT320 - Powers On
$195.00
![VINTAGE Digital Terminal Monitor Model DEC VT320 Powers On Black & White Screen picture](/store/img/g/79cAAOSwb69mZ0gO/s-l225/VINTAGE-Digital-Terminal-Monitor-Model-DEC-VT320-P.jpg)
VINTAGE Digital Terminal Monitor Model DEC VT320 Powers On Black & White Screen
$99.00
![Vintage DEC Digital Equipment PDP-11 Half Blank Front Panel 19'' picture](/store/img/g/YgoAAOSwEBxmcwVZ/s-l225/Vintage-DEC-Digital-Equipment-PDP-11-Half-Blank-Fr.jpg)
Vintage DEC Digital Equipment PDP-11 Half Blank Front Panel 19''
$69.99
![*NEW UNOPENED* Vintage DEC LB-5923 Keyboard picture](/store/img/g/4hUAAOSwWCtmNpag/s-l225/-NEW-UNOPENED-Vintage-DEC-LB-5923-Keyboard.jpg)
*NEW UNOPENED* Vintage DEC LB-5923 Keyboard
$40.00