Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed Xubuntu 13.10. I replaced the Desktop directory with a symlink to a directory on another partition (I've been doing this for a while). It worked fine at first, but then I did something that broke the mounting of the partition that Desktop is on. After that, the desktop was showing the contents of the home directory. I fixed the mounting issue and rebooted. I can verify that the target of the Desktop link is properly mounted and there, but the desktop still shows the contents of the home directory. How do I change it back?

(Found this, but it appears to be Gnome-specific.)

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Found it... it's in the file ~/.config/user-dirs.dirs. Change the line

XDG_DESKTOP_DIR="$HOME/"

to

XDG_DESKTOP_DIR="$HOME/Desktop"

Did a full reboot (relog might have sufficed) and my desktop is back. I also had to change a few more lines in that file, as I had similarly linked a couple of the other "special" directories.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.