How to add “New Document” to the right-click menu of Nautilus after upgrading Ubuntu 16.04 to Ubuntu 18.04?

Solution 1:

Follow these steps to add the empty text file on your right-click menu for the updated Ubuntu version.

  1. Press the Windows key or the Show Applications button and search for Text Editor:

    Image3

  2. Open the Text Editor:

    Image1

  3. Save an empty file at ~/Templates with your preferred file name (in my case it is text file):

    Image1

    You should now have a file named text file inside ~/Templates:

    Image1

  4. Now go back to any location you want to add an empty text file and check the right-click menu. The text file option should be visible inside New Documents on the right-click menu.

    Image1