Add create new document option in new context menu

Iā€™m trying to add an option to create a new document from the context menu but no success. I have followed the following link but instead of creating a new file, it opens the properties.

Also tried to place empty files in /home/USERS/Templates/ and /home/USERS/.local/share/templates/ but no luck.

without infos is hard to respond :wink:

for me:

tree ~/.local/share/templates/

ā”œā”€ā”€ EmailFile.desktop
ā”œā”€ā”€ HTMLFile.desktop
ā”œā”€ā”€ Modeles
ā”‚   ā”œā”€ā”€
ā”‚   ā”œā”€ā”€ email.eml
ā”‚   ā””ā”€ā”€ HTMLFile.html
ā””ā”€ā”€ sh.desktop

cat ~/.local/share/templates/HTMLFile.desktop

[Desktop Entry]
Name=HTML File...
Name[fr]=Fichier HTML...
Comment=HTML filename:
Comment[fr]=Saisir le nom du fichier HTML :

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.