Comment 9 for bug 285998

Revision history for this message
Mahendra Tallur (mahen) wrote : Re: A misplaced ~/Templates folder over a reboot permanently changes the TEMPLATES path in ~/.config/user-dirs.dirs

I just encountered this issue as well. I understand why it occurs (in order to stop pointing to a directory that doesn't exist anymore), but I guess it's an issue nonetheless.

Indeed :

- I deleted the Templates ("Modèles" in my case) directory because I thought it was useless.
- When I figured out a friend of mine was looking for such a feature, I tried to re-create the Templates directory but it didn't behave as expected
- Expected behaviour : files copied to ~/Templates are added to the "New File" Nautilus menu
Obtained behaviour : the menu remains empty

So I guess the "xdg-user-dirs-gtk-update" app executed during each Gnome session should also check whether one expected directory (in this case Templates) has been created or removed.

To fix it I had to manually modify the ~/.config/user-dirs.dirs file.

Cheers !