Locale settings not honoured - file bug report?

Terry teaman at exemail.com.au
Mon Dec 11 01:31:23 CET 2006


Erik Harrison wrote:
> On 12/9/06, Terry <teaman at exemail.com.au> wrote:
>   
>>> On 12/8/06, Terry <teaman at exemail.com.au> wrote:
>>>       
>> Thank you.  I have no idea why just adding the file reference should
>> invoke the settings it contains but I've done that anyway.  The file is
>> /etc/X11/xdg/xfce4/xinitrc
>>
>>     
>
> The period is like an include operator in sh. So
> period-space-filename is as if that file's contents were cut and
> pasted into the current script.
>
> So, to be perhaps excessively detailed, you are now including the
> contents of a system wide file in the script that launched Xfce.
> xinitrc loads values from /etc/sysconfig/i18n, and then launched the
> session manager, the session manager inherits those locale values and
> passes them on to the various applications it starts, like the panel,
> or the file manager. Apps then launched from the panel, the file
> manager, or the desktop inherit the locale.
>
> Tell me if this works

I altered xinitrc by adding as the first line . /etc/sysconfig/i18n

I've launched Thunar with "Run Program" and the dates are still 
displayed in the US format.

There is also a file /etc/X11/xinit/xinitrc which sets background and 
launches Xsession.

Xsession has a verse:
# read the user (~/.i18n) or system-wide (/etc/sysconfig/i18n) i18n settings
. /etc/profile.d/10lang.sh

(There is no ~/.i18n.)

10lang.sh applies i18n and uses en_US as the default.  I'm not sure 
about changing that and it would probably make no difference because I 
think the settings there are applying to the shell.

I've dealt with the immediate problem of Kspread.  It turns out that the 
Kde settings which I believed I had made must have been unmade (I had a 
Kde crash) and I had forgotten to reset them.

It seems to me that Xfce needs a similar mechanism.


-- 

Xfce on PCLinuxOS, OOo 2.0.2 (en_GB).
Direct mail to teaman is not opened; if necessary, email realmail.
If you're seeking, check out http://www.rci.org.au




More information about the Xfce mailing list