trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-users] The "Desktop is $HOME, not $HOME/Desktop" issue again

From: "Mag. Dr. Nikolaus Klepp" <office@...>
Date: Fri, 2 Dec 2011 15:28:32 +0100
Am Freitag, 2. Dezember 2011 schrieb John A. Sullivan III:
> On Fri, 2011-12-02 at 13:00 +0100, Mag. Dr. Nikolaus Klepp wrote:
> > I just installed TDE 3.5.15 on a fresh wheezy box (T61p, kernel 3.*,
> > nvidia drivers). Funny thing, anything worked, after I got rid of all
> > KDE4 libs which caused a blue screen with cursor after login otherwise.
> >
> > The only issue I did not find a reason for is that
> > $HOME/.config/user-dirs.dirs gets overwritten with all folders set to
> > $HOME:
> >
> > XDG_DESKTOP_DIR="$HOME"
> >
> > So this causes TDE to assume the desktop folder is the useres home
> > directory. I can change that dir to "$HOME/Desktop" and apply the
> > immutable flag to the file to prevent it beeing overwritten at login -
> > the fiole is overwritten at each login somewhere before TDE reads it.
> >
> > Now my question is, what when why is this file written? It's a bit
> > anoying when you stumble upon that problem :-)
> >
> > Nik
>
> I'm not sure if it's the same bug but does running xdg-user-dirs-update
> solve the problem? - John

Hm, could be. I have investegated a bit further: xdg-user-dirs-update is 
called by /etc/X11/Xsession.d/60xdg-user-dirs-update which generates the 
mangled file on each login. 

I'm just reading through the sources of xdg-user-dirs-update and try to figure 
out why it works on most systems and failes on others. 

I personly think it's a bug to generate $HOME/.config/user-dirs.dirs on every 
login. Would be way better to just regenerate that stuff if it's missing.


>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-users-unsubscribe@... For additional
> commands, e-mail: trinity-users-help@... Read list
> messsages on the Web archive: http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting



-- 

Mag. Dr. Nikolaus Klepp
Einnehmerstra├če 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: office@...