Ubuntu – change the name of the Desktop directory

desktop-directoriesxdg

Is it possible to change Desktop directory name? If it is how can I rename that directory?

I've tried mv /home/username/Desktop /home/username/newName.

Best Answer

Yes indeed you can change this by closing nautilus and opening a terminal, then do the following:

mv -v /home/$USER/Desktop /home/$USER/<new-name>

But thats only the first step on the change you intend to do, now open /home/$USER/.config/user-dirs.dirs and edit the following line:

XDG_DESKTOP_DIR="$HOME/desktop"

To reflect your changes, like in the following example:

XDG_DESKTOP_DIR="$HOME/<new-name>"

Then save, exit, and reboot and enjoy your different named desktop directory.