As many I deleted the Templates on a fresh install. I followed the instructions in the accepted answer of What is the templates folder in the home dir for? I am running 12.10 and the proposed solution to restore the templates functionality does not work.

I did reboot. I tried a .Templates folder and a Templates folder and I played with XDG_TEMPLATES_DIR="$HOME/Templates". I added empty libreoffice files etc. All without success.

How can I restore template functionality in 12.10?

  • 1
    btw, I think the Templates dir should contain a README placeholder on a fresh install.
    – don.joey
    Dec 28, 2012 at 9:22

2 Answers 2


Use Ubuntu Tweak , It comes with some pre-installed template that you can add to your shortcuts in tweak section.

Ubuntu Tweak Admins Page

Template Section Of Ubuntu Tweak

Adding Templates To Your Template Folder

View Of Your Template Folder After Adding Templates

  • If you have deleted the templates folder, however, you first have to add in Ubuntu Tweak/Admin/User Folder.
    – don.joey
    Jan 3, 2013 at 17:11
  • To clarify, just in case, in Ubuntu Tweak, select Admins, select User Folder, and then select the Templates line. Click Restore.
    – H2ONaCl
    Jun 6, 2013 at 6:20

You have to tell the system where your template directory is first:

gedit ~/.config/user-dirs.dirs

Then edit: XDG_TEMPLATES_DIR="$HOME/Templates"

Now, just drop any blank document from LibreOffice, a text editor or other into ~/Templates.

When you right click in a Nautilus directory it will offer to open a new document with all the properties of the one you planted in Templates. Damn useful!

  • It appears the OP tried that and found it to not work, hence the need for this question. It didn't work for me either, even after a reboot.
    – H2ONaCl
    Jun 6, 2013 at 6:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .