Fedora 23 comes with Nautilus File Manager. You might have noticed that in the file manager, when you go to a location and right click with mouse, the option for “New Folder” is present, but the option for “New Document” is missing.
To create a new file, there is always command-line option like touch, vi, and so on, but what if you want to create a new empty file in right-click of mouse, and do not want to go to the terminal each time.
Solution:
Open the terminal, run the following commands:
cd ~/Templates/
touch ‘New Text File.txt’ && touch ‘New Word File.doc’ && touch ‘New Excel File.xls’
The above command will create 3 files, a txt file, a doc file and an xls file in the Templates folder within the HOME folder. Also if you open the Templates folder in the file manager, you will notice a message at the top:
Files in this folder will appear in the New Document menu.
Now if you go to any folder in the file manager, you will find a “New Document” menu, within which you will find the option to create an empty file as present in the Templates folder. Done !!!