-
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
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
Knoppix NSM 1.2
$8.50
Hamshack Live DVD-ROM
$6.80
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
Linux Knoppix 4.0.2 Installation Disc
$39.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95