"Create Document" templates not working.

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Pawmaline

"Create Document" templates not working.

Post by Pawmaline »

I use Linux Mint Xfce. I created a Templates folder in my home directory, and placed an .odt file in it, but when I try and use the right-click "create document" option, it just says "no templates installed".
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
nahjo
Level 4
Level 4
Posts: 258
Joined: Sat May 06, 2017 10:46 am

Re: "Create Document" templates not working.

Post by nahjo »

check the line with XDG_TEMPLATES_DIR = in the ./.config/user-dirs.dirs file.
If not present add it.

gr. Johan
Pawmaline

Re: "Create Document" templates not working.

Post by Pawmaline »

Hm, it was empty like this:
XDG_TEMPLATES_DIR="$HOME/"

So I changed it to this:
XDG_TEMPLATES_DIR="$HOME/Templates"

But nothing changed, still says "no templates installed".

Edit: I did a restart and it reset itself to XDG_TEMPLATES_DIR="$HOME/"
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: "Create Document" templates not working.

Post by smurphos »

Pawmaline wrote: Fri Oct 19, 2018 2:43 am .odt
Wrong file format - libreoffice writer templates are .ott

You can save a template to the Templates folder in the correct file format using save as from within LibreOffice writer.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Pawmaline

Re: "Create Document" templates not working.

Post by Pawmaline »

Thanks, that's good to know. But sadly it's still not working.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: "Create Document" templates not working.

Post by smurphos »

Please post the output of this terminal command.

find -iname Templates

BTW my bad - .odt format can be used as a template - it doesn't have to be .ott
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Pawmaline

Re: "Create Document" templates not working.

Post by Pawmaline »

find: ‘./.gvfs’: Permission denied
./.gimp-2.8/templates
./Templates
find: ‘./.dbus’: Permission denied
find: ‘./.cache/dconf’: Permission denied
Pawmaline

Re: "Create Document" templates not working.

Post by Pawmaline »

Freaky, for some reason it works now!

Edit: The changes to the XDG_TEMPLATES_DIR line stuck the second time I tried it, and after the reboot the Templates folder changed appearance. Now I can create templates with the rightclick function.

Thank you both! I much appreciate your help. :)
Locked

Return to “Beginner Questions”