How to create a new blank file in Nautilus 3.6 and above?

I used to create new blank files in Nautilus (Files) using the right click context menu. It really saved me a lot of time. Since Nautilus 3.6, there is no such entry.

Is there a way to create a new blank file in Nautilus 3.6 and above?


Well, I filled a bug report on bugzilla.gnome.org and I feel stupid now... This feature still exists.

The solution is to create a blank file named for instance new inside the ~/Templates/ folder of your home directory.

→ On non-English installations, the templates directory might have another name. One can find the actual directory with xdg-user-dir TEMPLATES.

Creation of a new template file


If you're still facing the problem, Check the file in ~/.config/user-dirs.dirs if XDG_TEMPLATES_DIR variable is set correctly. If it is set to $HOME/ instead of $HOME/Templates/, correct and save that file.


Just create some file templates in your home Templates directory:

XDG_TEMPLATES_DIR=$(xdg-user-dir TEMPLATES)
cd "$XDG_TEMPLATES_DIR"
touch 'New Text File.txt' && touch 'New Word File.doc' && touch 'New Excel Spreadsheet.xls'

Go to any folder then, right click and you will see the "New Document" option with the templates you created.


I can't really find this option in 3.6 either, but there are command line tools that can help you out (but it depends on what you are actually trying to accomplish here).

In a Terminal (CTRL+ALT+T) you can write the command:

 touch filename.ext 

This will create an empty file called filename.ext - you can call it whatever you want, with whatever extension (or no extension) you feel like.


I guess you could write a nautilus script with touch "New files.txt" in it.

You could even keybind it using accels.


I installed nautilus-terminal.

It gives you a small embedded terminal inside Nautilus.

The directory in the embedded terminal is identical to the directory you are watching in nautilus.

So you can use the touch command there without opening a separate terminal and changing directories manually.