Results 1 to 4 of 4

Thread: troubles with locales

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    3

    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

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    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

  3. #3
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    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

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    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

  1. locales
    By TimWhite in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-02-2004, 02:17 PM
  2. damn locales!
    By mschievano in forum General Support
    Replies: 3
    Last Post: 05-17-2004, 05:21 PM
  3. locales in knoppix
    By datakid in forum General Support
    Replies: 0
    Last Post: 11-06-2003, 05:44 AM
  4. apt-get building maaany locales...
    By maltta in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-11-2003, 02:48 PM
  5. more problems with locales, help!
    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
  •  


Supermicro X10SRW-F Server picture

Supermicro X10SRW-F Server

$169.99



Supermicro 815-6 4-Bay Server picture

Supermicro 815-6 4-Bay Server

$239.99



HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES

$174.99



HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED picture

HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED

$550.00



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE Proliant Microserver Gen10 X3421 Perf AMS,  P03698-S01, 16GB Ram picture

HPE Proliant Microserver Gen10 X3421 Perf AMS, P03698-S01, 16GB Ram

$299.00



Supermicro CSE-512 1U Sever Intel G550 2.60GHz 4GB w/ X9SCM Motherboard picture

Supermicro CSE-512 1U Sever Intel G550 2.60GHz 4GB w/ X9SCM Motherboard

$99.98



Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS picture

Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS

$199.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00