Problem:

I recently shifted to Ubuntu 18.04 or 20.04, I noticed that there was no option in the right click menu of File Explorer (Nautilus) to create an empty text file.

Solution:

Create a file into ~/Templates folder.

Step by step:

  1. Open a Terminal and type:
    touch ~/Templates/"Untitled Document"
    
  2. Now you can open Files (Nautilus) application and right clic button to create a new file.

Source:

https://vitux.com/add-new-document-back-to-the-right-click-menu-in-ubuntu-18-04/