trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2012

Re: [trinity-devel] KDE Profile /etc/kde-profile/

From: Slávek Banko <slavek.banko@...>
Date: Wed, 14 Nov 2012 04:12:30 +0100
On Tuesday 13 of November 2012 00:28:50 Darrell Anderson wrote:
> > When i talk to kde profile, i speak of /etc/kde-profile defined in kderc
> > and kde-user-profile. I'm using Trinity 3.5.13 on debian.
> >
> > > I use kde profile in order to manage menu, wallpaper ... and i would
> > > like tu use the env
> > >
> > > folder. If i create : $HOME/.trinirty/env/locale.sh, it works but not
> > > in the kde profile.
> > >
> > > I have found in the startkde where $HOME/.trinity/env, /opt/trinity/env
> > > where used but not my profile folder. Thanks for your help.
> >
> > Which version of Trinity are you using? 3.5.13? 3.5.13.1? GIT?
> >
> > Bear in mind that the default profile directory is
> > $HOME/.trinity and not $HOME/.kde, $HOME/.kde3, etc.
> >
> > Posting the contents of locale.sh might help. :)
>
> Does Trinity support running scripts from a global env location? Probably
> but I'm being rhetorical as I don't know the answer. Perhaps filing a bug
> report is the best way to keep this problem active?
>
> Just a thought, is the locale.sh script stored in your global env location
> executable by all users (chmod 777)?
>
> Darrell
>

Using the Language from ~/.trinity/share/config/kdeglobals to set the 
environment variable LANG is an interesting idea, but as I have mentioned 
earlier, Language does not contain all the information necessary for LANG.

For example, I have Language=cs, but LANG=cs_CZ.UTF-8. Set LANG to a mere 'cs' 
would cause me mischief. Therefore, we first needed to have a way for the 
user to set all that is needed for LANG.

Slavek
--