Install Template Documents

Asked by Michael Fletcher

How do I install template documents? If I right click on the desktop and click on Create Document all I get is a file called "empty" and a message "No Templates Installed".

Question information

Language:
English Edit question
Status:
Solved
For:
Nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Dave Meikle
Solved:
Last query:
Last reply:
Revision history for this message
Dave Meikle (dmk-uk) said :
#1

There are no predefined Templates for GNOME and thus Ubuntu. This is just a feature for your own custom templates.

To Install some templates you have created you can do the following:

1) Goto Places -> Home
2) In the File Browser Click Go -> Templates
3) Copy in any templates you would like to have available. (For example, create a blank text file called "New Text File.txt" and you would have New Text File available from the right click menu).
4) Now this is accessable from the menu

NOTE: This will have created a Template directory in your home folder - ~/Templates. So you can just copy any templates in there and they will be available.

Revision history for this message
Michael Fletcher (mikefletcher) said :
#2

Thanks!

Revision history for this message
towsonu2003 (towsonu2003) said :
#3

this one helped me as well. thanks.

Revision history for this message
Martin (martin-wetterstedt) said :
#4

I am using Ubuntu 8.04 LTS, and if I follow the above description (2) In the File Browser Click Go -> Templates) Nautilus brings me to my home folder. What is that supposed to mean?

Revision history for this message
dcontard (nicolas-maquiavelo) said :
#5

I had the same problem. To solve it, you need to edit your ~/.config/user-dirs.dirs file and change the following line

XDG_TEMPLATES_DIR="$HOME"

with this one

XDG_TEMPLATES_DIR="$HOME/Templates"

then your templates will be available in the menu :D

(thanks to Wolki for the tip in the Ubuntu Forums http://ubuntuforums.org/showthread.php?p=4942614#post4942614).

Revision history for this message
ravikaigakar (ravikaigakar) said :
#6

This one helped me as well. thanks.

Revision history for this message
eumetaxas (eumetaxas) said :
#7

Thank you dcontard