[opensuse] 10.2: kdesu LANG...
Greetings, when kdesu launch an application, from where does it then take the LANG setting to pass on to the application? On my system it passes the wrong LANG setting, but I can not find where to set the right one. Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 27 March 2007 17:43:30 Johnny Ernst Nielsen wrote:
Greetings,
when kdesu launch an application, from where does it then take the LANG setting to pass on to the application?
On my system it passes the wrong LANG setting, but I can not find where to set the right one.
I don't know how the kdesu case works specifically but KDE_LANG is the environment variable that tells an application which language to use, if that is not set the language is read from $HOME/.kde/share/config/kdeglobals, something like this: [Locale] Language=en_GB:en_US You might want to run kcontrol with kdesu and set the other user's language correctly too. HTH Will -- Will Stephenson Desktop Engineer Interfaces and Applications -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tirsdag 27 marts 2007 22:54 kvad Will Stephenson:
On Tuesday 27 March 2007 17:43:30 Johnny Ernst Nielsen wrote:
Greetings,
when kdesu launch an application, from where does it then take the LANG setting to pass on to the application?
On my system it passes the wrong LANG setting, but I can not find where to set the right one.
I don't know how the kdesu case works specifically but KDE_LANG is the environment variable that tells an application which language to use, if that is not set the language is read from $HOME/.kde/share/config/kdeglobals, something like this:
[Locale] Language=en_GB:en_US
You might want to run kcontrol with kdesu and set the other user's language correctly too.
Thank you Will, but it seems I have not properly understood the language/charset stuff. The proplem is not the displayed language. It is in danish, as I expect. The problem is that the danish letters are all wrong in applications started through kdesu. (su from konsole has the same problem.) Everything I start with kdesu assumes ISO-8859-1 encoding. So both file names and file contents display the danish letters wrong, since they are UTF-8 encoded. Doing a real root login, from kdm, assumes the right encoding (UTF-8). Where do I tell kdesu to assume UTF-8 encoding for the applications it starts? Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Johnny Ernst Nielsen schrieb:
Greetings,
when kdesu launch an application, from where does it then take the LANG setting to pass on to the application?
On my system it passes the wrong LANG setting, but I can not find where to set the right one.
Try 'kdesu kcontrol'. Go then for the regional settings...if you run a KDE app and you want it e.g. Dutch instead of English. Or lunch an app in console: 'LC_ALL=pl_PL@UTF-8 /path/app &' e.g. for polish. thx Jan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Johnny Ernst Nielsen wrote:
Greetings,
Hi,
when kdesu launch an application, from where does it then take the LANG setting to pass on to the application?
On my system it passes the wrong LANG setting, but I can not find where to set the right one.
I've never tried this but, on Yast->Sysconfig Editor, there is a option called ROOT_USES_LANG. Try it with your won value and see if it works: like pt_PT.UTF-8 .
Best regards :o)
Johnny :o)
Rui -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rui Santos schrieb:
I've never tried this but, on Yast->Sysconfig Editor, there is a option called ROOT_USES_LANG.
That might be a problem, coz i meat some programs which needed there english. IMO the better way is to change the lang for KDE or Gnome only. Thx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGChKxN8oPNJi4M6IRAiB7AJ93GuVMlcMSGBAQikvdJLPm5AJY3gCfbtl2 v55FqhrQBfMgJCfVx3sYwwQ= =IW1A -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Jan Tiggy
-
Johnny Ernst Nielsen
-
Rui Santos
-
Will Stephenson