-
Senior Member
registered user
Notice also the difference - in knoppix 6.2 the the list of supported locales is in /var/lib/belocs/locales.dep not in /var/lib/locales/supported.d/local as the article says. Knoppix uses belocs-locales package instead of locales that's the reason for this difference
-
Senior Member
registered user
Here is the final polished solution to the problem of displaying characters properly in terminal and all other programs using default locale.
Open and edit /etc/locale.gen
There are many preconfigured locales inside, just find the right one and unmark it. If it does not exist - create it. For example If you want all your menus and programs to be displayed in English, but you need Cyrillic phonetic characters to be properly displayed then type:
en_US.CP1251 CP1251 and save the file. Unmark any other locales which you would need in the future as well.
Next step is to generate the locales using:
sudo dpkg-reconfigure locales
By default knoppix uses belocs-locales, so you might have to to this using:
sudo dpkg-reconfigure belocs-locales-bin
After this is done open /etc/init.d/knoppix-autoconfig and navigate to line 290, just below
*) # American version.
Edit LANG="C" to LANG="en_US.CP1251" or whatever locale you created. I also changed the line CHARSET="iso8859-1" to CHARSET="microsoft-cp1251" - although I am not sure if it's necessary.
Save and reboot. Done
If you want knoppix to boot by default in any of the preconfigured languages which are in knoppix-autoconfig, you will have to edit:
/mnt-system/boot/syslinux/syslinux.cfg - go to the line bellow LABEL knoppix,KERNEL linux and change LANG=en to whatever language you want knoppix to boot by default
Hope this was useful
Last edited by mecho; 05-27-2010 at 10:46 PM.
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
HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11
$119.99
Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200
$124.67
SRF8T INTEL XEON GOLD 5218 2.30GHZ 16-CORE 22MB 125W CPU PROCESSOR
$297.00
HP Z820 Workstation 20-Core 2.50GHz E5-2670 v2 128GB No HDD No OS
$284.89
Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor
$49.99
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$4.66
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$19.99
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$52.00
Intel Xeon Gold 6136 SR3B2 12-Core 3.0GHz 24.75MB LGA 3647 Processor
$37.31
Intel Xeon E3-1285 V3 3.6 GHz 8M Quad-Core SR14W CPU Processor
$49.50