-
troubles with locales
Hi,
I still fiddle around with my Knoppix-derived debian system. I want to get rid of German messages, menues, titles,....
A "locale" command lists all LC_ and the LANG command: in German. Then I export LC_ALL and LANG to en_US (Yes, the locales are installed, and I stay in the same console-window), a "locale" command lists, as expected, all variables set to en_US. But when I open e.g. gftp all menues are in German, when I open e.g. dselect all dialogs are in German. This behaviour is not native to debian and makes no sense, since it has to be possible to change the locale for a specific application.
Hence my question: Where is this behaviour defined and how to remove these persistent settings?
Thanks
macherb
-
Senior Member
registered user
Using dselect, is it in german when in a console? or when in an x-terminal (running in a gui)?
What window manager or desktop environment are you using?
Window managers and desktop environments can use a different settings for the language than settings used for console.
You might want to install localepurge which when configured will remove any unncecessary locales from your system when adding or updating packages, this should fix your console behaviour.
apt-get install localepurge (you may need to use apt-get -t unstable install localepurge to get localepurge from unstable)
Note: it's always a good idea to use: apt-get install -s localepurge to simulate the install so you can see what apt is going to do...
~rock
-
OK, I've deleted now de_DE with localepurge. But thats only cosmetic, because the system simply cannot find what it wants to load, hence an error is displayed: cannot set LC_CTYPE, no such file or directory (or similar). There appear to exist more problems: The first one occurs whith booting: There now the locale (i.e. de_DE) is not found (Which script is running there? Is it a Knoppix-script or a normal debian-script?)
The problem with exporting locales persists. Now everything is in english, but exporting LAN=de_DE still has no consequences. (e.g. I need a special program in German and start with a script ssetting LANG to German). So it seems the locale is completely screwed up. Is this a Knoppix derived problem?
BTW, switching of consoles with Ctrl-Alt-F<number> is not possible. A Knoppix feature?
regards
macherb
-
Senior Member
registered user
As far as your locale problem, look and see if you have an /etc/sysconfig/i18n file and if it exists, see what lang it is set.
As far as the ctrl-alt-f1 etc. they should work in knoppix.
Maybe have a look at: /etc/init.d/keymap.sh and see what it is loading
~rock
Similar Threads
-
By TimWhite in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-02-2004, 02:17 PM
-
By mschievano in forum General Support
Replies: 3
Last Post: 05-17-2004, 05:21 PM
-
By datakid in forum General Support
Replies: 0
Last Post: 11-06-2003, 05:44 AM
-
By maltta in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 04-11-2003, 02:48 PM
-
By walla123ms in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 04-04-2003, 07:53 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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z490-P LGA 1200 Intel Z490 SATA 6Gb/s ATX Intel Motherboard NEW
$121.45

MSI PRO Z790-A MAX WIFI ATX Intel LGA 1700 DDR5 WiFi BT 2.5G LAN
$85.00

ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49

ASRock B550M Phantom Gaming 4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$71.49

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B560M Pro-E LGA 1200 Intel B560 M-ATX Intel Motherboard Intel 10th 11th gen
$69.99

GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7
$69.59