-
Booting the right Swiss locale / keyboard layout
Hi all,
I have a simple question I could not answer on my own: what does the lang=ch cheatcode mean? Switzerland has 3 (4) national languages, and two keyboard layout variants (Swiss German and Swiss French), and lang=ch is not self explanatory...
I would like to boot Knoppix with the right language / locale / keyboard layout, in order to avoid changing it in the KDE control panel after the desktop has started. How could I do that?
My settings are:
Language: Italian
Country/Locale: Switzerland
Keyboard Layout: Swiss German (or CH variant de)
If I set lang=it at boot, KDE assumes an Italian locale (which in my case is wrong since for example I want Swiss Franc as currency instead of Euro). I also have problems with the keyboard layout since the Italian keyboard is different from the Swiss German one...
Every hint is really appreciated
Thanks a lot
Andrea
-
Senior Member
registered user
Most "cheatcodes" are handled by the /etc/init.d/knoppix-autoconfig script.
Here's the relevant section for "lang=ch":
# Swiss version (basically de with some modifications)
ch)
LANGUAGE="de"
COUNTRY="ch"
LANG="de_CH"
KEYTABLE="sg-latin1"
XKEYBOARD="ch"
KDEKEYBOARD="ch"
CHARSET="iso8859-15"
# Additional KDE Keyboards
KDEKEYBOARDS="de,us,fr"
TZ="Europe/Zurich"
;;
(note that I am looking at the 5.0 DVD).
The problem with knoppix (and to be fair other live CD's) is trying to cover too many notions with a single keyword (localisation of messages, keyboard layout, timezone...). Once installed to HD, debian allows you to tune every one of those aspects. With the CD, your best bet is to choose the code that offers you the best support for your keyboard, then adjust the rest if needed - exactly what you said you were doing already, if I followed correctly ![Smile](images/smilies/icon_smile.gif)
Now with the upcoming sidux "gaia", you could say "lang=it-ch", which I think would suit you better...
-
Senior Member
registered user
On 2d thought, you could try
knoppix lang=it keyboard=sg-latin1 xkeyboard=ch
or some variant I guess...
Once you've found the values that work for you, you can add these as defaults in the isolinux.cfg boot configuration file so you don't need to type them on every system start.
-
Hi Kirol,
thanks for the explanation, but this does not completely solves my problem. Keyboard layout apart, lang=it sets both the KDE Italian language and the Italian locale. I wonder if there is a cheadcode that sets the county...
For example USA, Canada, UK, Republic of Ireland, Australia, New Zealand, South Africa (and many other countries) use the same language (=English), but have different locales (for example currency, but also date & time notation). How is possible to specify the locale in the bootline?
Maybe this is not possible, but I think that it would be a nice feature...
Thanks again
Andrea
Similar Threads
-
By shantanuo in forum General Support
Replies: 2
Last Post: 06-13-2008, 11:52 PM
-
By Josh83 in forum General Support
Replies: 3
Last Post: 03-04-2005, 01:00 PM
-
By mzruya in forum General Support
Replies: 0
Last Post: 05-11-2004, 07:34 PM
-
By tonyleake in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 03-28-2004, 08:50 PM
-
By GuineaPig in forum Customising & Remastering
Replies: 0
Last Post: 05-06-2003, 09:43 AM
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
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
![Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture](/store/img/g/1UcAAOSwYS9lXgtq/s-l225/Lenovo-IdeaCentre-3-07IRB8-Desktop-Intel-Core-i5-1.jpg)
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99
![Lenovo Legion Pro 7 16](/store/img/g/9OsAAOSw37RlW2f8/s-l225/Lenovo-Legion-Pro-7-16-Intel-i9-13900HX-GeForce-RT.jpg)
Lenovo Legion Pro 7 16" Intel i9-13900HX GeForce RTX 4090 32GB Ram 2TB SSD W11H
$2199.99
![Dell 14](/store/img/g/6CgAAOSw80lltRSe/s-l225/Dell-14-TOUCHSCREN-Laptop-8th-Gen-Core-i5-16GB-RAM.jpg)
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$235.00
![AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed picture](/store/img/g/oVIAAOSw0tpmdfut/s-l225/AMD-Ryzen-7-7800X3D-Processor-5-GHz-8-Cores-Socket.jpg)
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![HP - Victus 15.6](/store/img/g/KosAAOSwLHVl~III/s-l225/HP-Victus-15-6-Full-HD-144Hz-Gaming-Laptop-Intel-C.jpg)
HP - Victus 15.6" Full HD 144Hz Gaming Laptop - Intel Core i5 - 8GB Memory - ...
$879.99
![Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor picture](/store/img/g/SN4AAOSwxIRmWRvk/s-l225/Intel-i7-3770-SR0PK-3-40GHz-8MB-4-Core-LGA1155-Soc.jpg)
Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor
$29.99
![Dell 14](/store/img/g/GbIAAOSw~uBmYagJ/s-l225/Dell-14-TOUCHSCREEN-IntelQuadCore-16GB-RAM-up-to-5.jpg)
Dell 14" TOUCHSCREEN IntelQuadCore 16GB RAM up to 512GB SSD Fingerprint BT Win11
$210.00
![Dell 15.6](/store/img/g/9x4AAOSwVAlmICu5/s-l225/Dell-15-6-NVIDIA-Gaming-Laptop-Intel-Quad-Core-i7-.jpg)
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$523.00