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.

Before the Error

I've modified my ~/.config/user-dirs.dirs

XDG_DESKTOP_DIR=”$HOME/Área de Trabalho”

I've changed the line above by


And updated with

$ xdg-user-dirs-gtk-update
$ xdg-user-dirs-update

Nothing wrong until here.

Testing Modifications

After that, I was testing if everything was ok. First, I created an empty file on Desktop

$ touch Desktop/teste.txt

The file was created with success. But, it was not appearing in my Desktop --- I could only see the file via Terminal or Nautilus, opening the Desktop folder.


So, I've opened the Nautilus and --- I don't know why --- dragged and drop the teste.txt file from the Desktop folder in Nautilus to the visible Desktop. Then, I've removed the file via terminal $ rm Desktop/teste.txt to see if the file would disappear. But no, it didn't. It stills here. When I click with right bottom, Rename, Move to Trash options are gray. I tried pressing Delete button, but nothing. F2 does not work either.

What should I do? Have you seen this bug before?


File that can't be deleted: http://i44.tinypic.com/kdqz4y.png

Nautilus Desktop and the Desktop <code>Nautilus Desktop</code> and the <code>Desktop</code>

Trying to open the file: http://i39.tinypic.com/2nkhnps.png

It says:

It was not possible to show /home/victorhugo/Desktop/teste.txt
The file type is unknown


The file disappeared. I just had to reboot the Ubuntu. Thanks everyone!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Just reboot Ubuntu 11.10 and the file will disappear.

I believe that just the commands xdg-user-dirs-gtk-update and xdg-user-dirs-update were not enough to really change the name of Desktop. This is why I had trouble with a file in Desktop. Once you reboot the system I believe it really update the Desktop name.

share|improve this answer
add comment

Your Answer


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.