Ubuntu: How can I restore template functionality after having deleted the Templates folder in 12.10?


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?


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


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!

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »