Nemo templates not working

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
wibus

Nemo templates not working

Post by wibus »

hi,

I wanted to add templates to the right click > New Document menu.
according to Google there should be a folder in home called 'Templates'.
it wasn't there, so I created it and put empty documents like "New PHP.php" (I have a couple more, like new OpenOffice Document.doc etc)
nothing changed, so I tried reinstalling nemo, still nothing.
if I go to Go > Templates it just opens my Home folder.

I have restarted and still nothing.
does someone know what I could do?
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.
Blindekinder
Level 3
Level 3
Posts: 104
Joined: Mon Mar 19, 2018 5:48 am

Re: Nemo templates not working

Post by Blindekinder »

Hi!
same for me. I probably deleted "Modèles" folder since I never use it, but now I want to use the context menu to create LibreOffice files.
What doe's have the original folder special, or where should we mention it to be recognized?
mikeflan
Level 17
Level 17
Posts: 7143
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Nemo templates not working

Post by mikeflan »

there should be a folder in home called 'Templates'.
it wasn't there
You've been a bad boy :twisted:
Delete the 'Templates' that you created.
Type this in a terminal:

Code: Select all

gedit ~/.config/user-dirs.dirs
Make sure

Code: Select all

XDG_TEMPLATES_DIR="$HOME/Templates"
is listed. If it isn't, add it. Then hope for good things to happen.
Blindekinder
Level 3
Level 3
Posts: 104
Joined: Mon Mar 19, 2018 5:48 am

Re: Nemo templates not working

Post by Blindekinder »

working!!! thank you

gedit is not installed by default on mint, use xed instead
Locked

Return to “Software & Applications”