Re: Another .desktop related problem in 2.6?



On Thu, 2004-04-29 at 11:46, Ivan Noris wrote:
> Hello all,
> 
> I've just noticed another '.desktop' problem.
> 
> In my $GARNOME/bin/garnome-session I have:
> 
> ...
> GDK_USE_XFT=1
> XDG_DATA_DIRS=$GARNOME/share
> XDG_DATA_HOME=$GARNOME/share
> export PATH LD_LIBRARY_PATH MANPATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
> XDG_DATA_DIRS XDG_DATA_HOME
> exec ...
> 
> The .desktop files on desktop are interpreted ok.
> 
> The files in Nautilus are interpreted ok.
> 
> When I try to change background from Desktop -> right click -> Change
> background -> choose file -> click on DESKTOP icon in the window, I see
> e.g."New login with GDM.desktop" filename.
> 
> What am I missing? The variables are set in the garnome-session script, but
> when I look in shell:
> 
> [vix hudson ~]$ set |grep XDG
> XDG_DATA_DIRS=/usr/local/garnome/share
> [vix hudson ~]$
> 
> So, the XDG_DATA_HOME is not exported although it should.
> I'd prefer the garnome-session sets all the variables, and not user's scripts
> in his/her homedir. Is this even possible?

If you want XDG_DATA_DIRS set globally then you can put it in
/etc/profile.

Bob

-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]