-
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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17
$3.35

LOT OF 17/ Micron/Hynix/Sam/ 16GB PC4- 3200 /2666V /2400/ DDR4 Laptop Memory
$980.00

Samsung (21x16GB) 336GB 1Rx8 PC4-3200AA, PC4-2666V Laptop Memory DDR4
$1499.00

NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory
$75.00

SK Hynix 64B PC4-2933Y Server Memory DDR4 RAM HMAA8GR7MJR4N-WM
$449.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$234.00

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98