Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

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

Trying to open the file:

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

closed as off-topic by Luis Alvarado Apr 23 '14 at 17:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

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

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