The title says all. I would like to have this option in right click menu on the desktop or in nautilus. I know that is possible, but I don't remember how to do this.
Ubuntu – How to add an option to create a new file with a specific extension in right click menu
filemanagerfilesmenunautilus
Related Question
- Ubuntu – How to add “Refresh” option to right click menu in Lubuntu
- Ubuntu – How to add “open with custom command” option in right click menu of Nautilus
- Ubuntu – “Create new document” – right-click option missing in Ubuntu GNOME
- Ubuntu – How to add a refresh option in the right click menu in Ubuntu 16.04
Best Answer
You may want to use
Templates
directory (or how is called in your language) from your home directory in this sense. Files from this folder will appear in theNew Document
menu. So, add the files with the extension what you want in this folder and you can create them after files with the same extension from the right click menu:Moreover, if you add some predefined text in these files from
Templates
folder, the new files which you will create them from the right click menu will contain that text.See also: What is the "Templates" folder in the home directory for?