5

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.

10

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.

|improve this answer|||||
  • Although a lot of code breaks, because instead of $XDG_DESKTOP_DIR, they just use a hardcoded ~/Desktop. – UniversallyUniqueID May 28 '16 at 13:50
  • 3
    @BharadwajRaju That seems unlikely, since the line $XDG_DESKTOP_DIR can point to a different directory in any language. ("Bureaublad" in Dutch). – Jacob Vlijm May 28 '16 at 14:36
  • 2
    Just to be on the save side ln -s <new-name> Desktop. – Reactormonk May 28 '16 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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