Is there any way to create a text file without using the terminal at all?
5 Answers
Ubuntu 16.04 and earlier:
Prior to 16.10, you can create blank text-files by simply right clicking on the desired location in Nautilus.
Ubuntu 16.10 and Later:
Later versions of Nautilus ("Files") removed this feature so you cannot create a blank text-file by just clicking anywhere. You need to use the "Templates" folder for this purpose.
To do this, first navigate to your templates directory:
Then open a Terminal in that folder (by right clicking > "Open in Terminal") and then type the following command in the terminal.
touch "Blank Document"
You can name this file anything you want. I personally prefer "Blank Document" because what it creates is essentially a blank document.
After this you should be able to create blank text-files anywhere you want (and are allowed to):
Note: You can use the Templates folder to do many other things like creating a particular image, etc. Anything you put there will appear in the "New Document" menu.

- 881
Navigate to the folder where you want to place the new document using the Nautilus file browser.
Right-click anywhere in the empty space in the folder and choose New Document
from the menu.

- 1,433
-
2
-
2@AlperenBırçak: it will only work in the "grid of icons" view. In the list view you need to go to the "File" menu on the top bar. – Takkat May 21 '17 at 19:43
-
5@AlperenBırçak I didn't mean to suggest that you are stupid, but you said you were new to Ubuntu. This normally works on grid view (I think you need to use the file menu in List view). If the New Document option is missing when you try to create a document in Grid view, the answers on this post may help. – sempaiscuba May 21 '17 at 19:46
-
1@sempaiscuba You werent the one that meant I was stupid, take no offense please. It worked, thanks for the answer. – Alperen Bırçak May 22 '17 at 04:18
Click the Ubuntu logo to open the dash, then start typing Text Editor.
Click the Text Editor logo.
Type in any text you want in the file, then in the top-right of the menu, click File, then Save (or press Ctrl+S on the keyboard). Select the name and location for the file and click Save.

- 8,866

- 161
"Without opening the terminal" - if you press Alt+F2, you get a mini-command line, which will close as soon as you press return and it executes your command - is that allowed?
If so, Alt+F2, then
touch filename
Or
> filename
This has the advantage of not having to take your hand from the keyboard to use the mouse.

- 8,866

- 155
- 1
- 7
xdotool
or perhaps a nautilus script/plugin? – hexman Nov 11 '17 at 14:22