Removing home directory contents from your desktop


Recently I was trying to install xfce 4.10 on my Ubuntu 12.04 OS but found my desktop filled with my home directory contents.

This is what I do to remove the contents.

Open “~/.config/users-dirs.dirs” file and chnage line with XDG_DESKTOP_DIR as “XDG_DESKTOP_DIR=”$HOME/Desktop””, and log out and come back ( alternatively restart).

And you shall have only desktop icons on your desktop.