[Kde-kiosk] Re: Locale locked by Kiosk Tool?
Martijn Klingens
klingens at kde.org
Thu Sep 9 23:32:37 CEST 2004
On Thursday 09 September 2004 09:27, Erik Forsberg wrote:
> Martijn Klingens <klingens at kde.org> writes:
> > On Wednesday 08 September 2004 15:03, Erik Forsberg wrote:
> > > In one of the directories generated by kiosktool, I've noticed a
> > > share/config/kdeglobals with, among other things, the following:
> > >
> > > [Locale]
> > > Country=sv
> > > Language=sv:SE
> > >
> > > Does this mean that the locale for a user using a kiosk profile is
> > > locked and set by the kiosk tool?
> >
> > It's set, but not locked, because there's no immutable flag in the
> > setting.
>
> Ah. Of course.
>
> > You should consider this as the default for your users (which usually
> > makes sense), but users can still override if they want.
>
> The problem is that in my situation, I want to set the locale for my
> users before starting KDE. I can't see any easy way to do that,
> without fiddling with their config files.
Although I'm a native Dutch speaker I use the C locale exclusively as do most
IT professionals in Holland, so I don't know, but does $LANG follow the same
naming convention as the KDE language setting? If so, you can just set
[Locale]
Language[$e]=$LANG
You can even lock it for your users with
Language[$ei]=$LANG
This requires the encoding to be identical of course. And the locking is kinda
fake because a user can set $LANG and restart kdeinit if he/she has shell
access.
> I'm pretty sure at least KDE 3.1 understood $LANG.
I honestly don't know, I hoped Coolo would answer, but I'm just realizing he's
on vacation right now. Anyone on this list who knows?
Martijn
More information about the kde-kiosk
mailing list