Enable ‘New Document’ Context Menu in Ubuntu 17.04 Nautilus

April 14, 2017 — 5 Comments

ubuntu 17.04

The default Nautilus file browser lacks ‘New Document’ option in its context menu (right-click menu) in my fresh installed Ubuntu 17.04 Unity Desktop.

When you right-click on blank area in Nautilus or Ubuntu Desktop, you’ll find there miss the ‘New Document’ option in the pop up menu.

It’s easy to re-enable the option in Nautilus context menu. As it prompts in Templates folder, simply create an empty document in Templates, the file name will be displayed as sub-menu option of ‘New Document’ menu.

While you can’t create a file via the context menu, do it via touch command:

1. Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run command:

touch ~/Templates/Untitled\ Document

This command creates an empty file called ‘Untitled Document‘ in the Templates folder.

Tip: the backslash in the code tells that the space following it is part of the filename since the shell treats whatever comes after a space as a separate argument.

2. Now right-click on your desktop or blank area in Nautilus browser, the pop up context menu will look like:

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

5 responses to Enable ‘New Document’ Context Menu in Ubuntu 17.04 Nautilus

  1. 謝謝
    我自已用Gnome ubuntu時

  2. Thank you very much it is very helpful.

  3. Very good tip, but, is there a way to do it for all users at once? I mean, not to do it inside the home folder?

    By the way, in Spanish the word must be “Plantillas” instead of Templates. I guess that in other languages it will be different as well.

  4. i just upgraded from 16.04 to 17.04, lost my ‘new document’ context menu option, and this method is not working for me, anyone else have a workaround?

  5. this method didn’t quite work for me, items in the Templates folder weren’t showing up in the context menu. something needed to be restored about how the system identifies and uses the Templates folder.

    to fix this, i installed ubuntu tweak like so:

    wget -q -O – http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add –
    sudo sh -c ‘echo “deb http://archive.getdeb.net/ubuntu xenial-getdeb apps” >> /etc/apt/sources.list.d/getdeb.list’
    sudo apt-get update
    sudo apt-get install ubuntu-tweak

    and then used this method, namely, delete your Templates folder and then use this method to ‘restore’ the Templates folder, worked for me in 17.04 on a thinkpad t530:


Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>