In my ubuntu 10.04 pc the files that are stored in /home/myusername folder gets copied to Desktop automatically. When I delete the files in Desktop the files from home directory is also deleted. But I can't copy these files to home because it says file exists and whenever I press Merge button it shows some error

  • could you please post the error?
    – Meintjes
    Jul 22 '13 at 12:48
  • My guess is that your desktop is displaying the contents of your home folder. Try doing the opposite of this: askubuntu.com/questions/297132/…
    – iBelieve
    Jul 22 '13 at 13:19
  • For what it's worth, this just randomly happened to me too (Ubuntu 14.04 LTS) and I have no idea what I did to trigger it. Jul 18 '14 at 16:29
  • Conjecture: I may well have deleted the directory "Desktop" in my home directory and several weeks later when I logged out the user-dirs.dirs file was auto-edited by the system. Jul 18 '14 at 16:36

As iBelieve says, you want the opposite of the solution to this question. (And it's strange that your desktop shows the contents of another folder without you having deliberately configured it to do so, but I've heard of that before.)

Specifically, what you should do is to open the file ~/.config/user-dirs.dirs. (~ stands for your home directory. One way to open the file is to open a Terminal window with Ctrl+Alt+T and run gedit ~/.config/user-dirs.dirs. Or you can run that command in the dash textbox or Run... dialog box raised by pressing Alt+F2.)

With the file open in the text editor, find the line that says:


Make it say


instead. Save the file, and quit the text editor. To apply this configuration change, log out and back in (or, if you prefer, reboot).

Finally, please note that the desktop version of Ubuntu 10.04 LTS is no longer supported. It doesn't even get security updates for newly discovered vulnerabilities, so it is dangerous to use! You should upgrade to a supported version of some operating system--perhaps to Ubuntu 12.04 LTS.

Ordinarily we would close a question about an unsupported release (and it's possible that will happen here). However, this is one relatively rare case where your quetion is similar enough to an existing question that we can know the solution applies generally, while still different enough probably not to be a duplicate.

If you choose to upgrade and need any help, please feel free to post a (separate) question about that.

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