-
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
HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$129.95
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$38.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS
$40.00
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Kingston Fury HP32D4U8D8HC-16X 16GB 2Rx8 XMP4-3200-UB1-11 RAM Desktop Memory
$22.00
CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)
$79.95
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
Lot of 50 Samsung/SK Hynix/Kingston (8GB) DDR4 1Rx8 PC4-3200AA Laptop RAM Memory
$599.98
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96