XDG_DESKTOP_DIR reverts to $HOME if ~/Desktop not available

Bug #236076 reported by brettatoms on 2008-05-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-user-dirs (Ubuntu)
Low
Unassigned

Bug Description

My ~/Desktop directory is a soft link (ln -s) to a CIFS mounted share. Normally XDG_DESKTOP_DIR in ~/.config/user-dirs is set to "$HOME/Desktop". If I login when my Samba server is not available then XDG_DESKTOP_DIR reverts to $HOME. If my server becomes available and I log out and then log back in then XDG_DESKTOP_DIR is still set to $HOME and doesn't revert back to ~/Desktop. I then have to run...
xdg-user-dirs-update --set DESKTOP ~/Desktop
....and re-login.

I don't have "use $HOME as your desktop directory" set anywhere. I would prefer if it did revert to $HOME then it would revert back to what it originally was, in this case ~/Desktop. If not then I think it makes more sense that if ~/Desktop isn't available then it doesn't revert to $HOME at all and just doesn't show any files on the desktop. At least then if my desktop directory does become available all I have to do is refresh the desktop or run "nautilus ~/Desktop" to reload the desktop.

brettatoms (brettatoms) wrote :

BTW, this is on Hardy.

Dennis Dirdjaja (dcd-ditsch) wrote :

I doubt if this is rather a feature request than a bug. However, I assigned the right package, maybe someone more experienced with xdg-user-dirs can have a look at this?

Sebastien Bacher (seb128) wrote :

the issue is bug #151576

Changed in xdg-user-dirs (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers