Ubuntu – Create a new document and rename it directly (in one step) in Ubuntu 18.04

18.04document

I know this is some how silly and ridiculous, but it is really annoying!
I recently installed Ubuntu 18.04.. With Ubuntu 16.04, I was able, when I create a new empty document, to rename it directly: I didn't need to :

  1. step1: create the document.
  2. step 2: click on it with the right button and choose rename

Everything was done in one step.
However, in Ubuntu 18.04, I can not do this (creating and renaming) in one step: every time I want to create an Empty document, I have to:

  1. Create the empty document
  2. Right click on it then choose rename.

Is there anyone who faced the same problem? And is there a fix for this?

PS: It is not about how to create an empty document in Ubuntu 18.04, it is about how to create and rename, in one step, an empty document.

Best Answer

This probably isn't the answer you want, but:

The easiest way to do this that doesn't vary with the type of document you want to create (application dependent) is via the terminal and the command:

touch /path/to/filename which will create a file where filename is the name of your choice in the location specified by the path.

You can open a terminal with CtrlAltT or or by searching the Activities menu. I recommend the former for those who hate wasting time.

The benefit of this approach is it works across all supported Ubuntu desktop environments and versions I've encountered and allows for increased speed by uitlizing tab completion.

The alternative is to open the application that supports the type of file you want to create, create the document and select save as. Simply launching the application will take more time than the approach I've outlined here (although you'll have to do that to edit it anyway)

The GUI doesn't appear to have the "New Document" option although you can create one. Not a great loss for CLI geeks like myself, but certainly a pain for those of us who live and breathe the GUI.