Mailinglist Archive: opensuse-factory (341 mails)

< Previous Next >
Re: [opensuse-factory] latest factory update
  • From: Oddball <monkey9@xxxxxx>
  • Date: Tue, 17 Feb 2009 16:31:35 +0100
  • Message-id: <499AD857.8090709@xxxxxx>
Carlos E. R. schreef:




Well... Typically, you do it in YaST, but the change applies to all
users, I think.

You can simply:

# export LANG=en_US.UTF-8

then that xterm will be in English from then on. You can change more
variables; I have a script to call programs in English:

cer@nimrodel:~> cat /usr/local/bin/ingles
#!/bin/sh
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 DICTIONARY=english
KDE_LANG=en_US.UTF-8 $*


or in Spanish:


cer@nimrodel:~> cat /usr/local/bin/espaniol
#!/bin/sh
LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 DICTIONARY=espanol KDE_LANG=es_ES $*


You can also have a look at the output of "locale". The default for
root is:

nimrodel:~ # locale
LANG=POSIX
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


To change any user, even root's, you change its locale. I'm not sure
of the locale command syntax. I think there is a setting in YaST for
root's only, somewhere. I thought the default was always "posix".

-- Cheers,
Carlos E. R.

I will look into it as soon as i have some spare time:
The newly build has some very unpleasant, unpractical bugs.
1) Selections randomly get saved (or not) to klipper.
2) Try to use the mouse in TB, to cut text is impossible, as there is a
very strange thing happening with the menu, so it is impossible to
select the menu item you want.
3) Desktop- and taskbar items changed into binary'pieces of paper'..;)

Only first sight thingies...
--

Enjoy your time around,


Oddball (M9.) (Now or never...)


OS: Linux 2.6.27.13-3-default x86_64
Huidige gebruiker: oddball@AMD64x2-sfn1
Systeem: openSUSE 11.2 Alpha 0 (x86_64)
KDE: 4.2.00 (KDE 4.2.0) "release 97"

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >