[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: "Cornelius's grand plan" - Merging KDElibs into Qt
From:       John Layt <johnlayt () googlemail ! com>
Date:       2010-11-02 21:21:38
Message-ID: 201011022121.39008.johnlayt () googlemail ! com
[Download RAW message or body]

On Monday 01 November 2010 21:25:45 John Layt wrote:
> We'd also need to start setting the users envvars on login to the KDE
> settings so Gnome apps play nice, but that's a separate issue to be worked
> out (or it could be how Qt reads our settings, who knows yet).

Hmmm, the POSIX standard says that if a user sets their LC_ALL to something 
that starts with a '/' it's to be taken as a path to the locale file to use.  
So in theory if we were to dynamically generate a POSIX locale file either at 
the start of a KDE desktop session, or when the settings are changed in the 
KCM, we could set the LC_ALL to point to it at login (e.g. something like 
'/home/user/.kde/config/locale/en_GB@kde).  Then any Gnome / glibc / POSIX 
compliant apps should load that instead and end up using our settings.

Of course, generating a valid POSIX locale file would be the hard part, but it 
is doable within KDE without trying to convince Gnome / glibc / everyone else 
that they should be trying to load our settings files instead.

John.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic