GNOME Files Introduces Most-Requested Feature: New File Menu

3 min


Here’s the “new file” feature in GNOME Files which gives you a new way of creating documents and files. Have a look.

No more tweaking in the backend. The most anticipated feature of creating a new document / new files via the context menu in Files (aka Nautilus) finally arrives.

Developed as part of the Google Summer of Code 2022 (by Ignacy Kuchciński), the change was recently reviewed and merged into the main branch of Files.

How it looks

When you right-click on the Files, the context menu has a new option, “New File”.

New File Option in Files Context Menu
New File Option in Files Context Menu

The GNOME Files New File option launches an action window, as shown in the below image.

GNOME Files New Document Action Dialog
GNOME Files New File Action Dialog

A couple of things happen behind the scenes when it launches the above dialog box.

You are probably aware that you can create a “Template” folder with templates in your Home directory to easily access commonly used document types. So, Files checks whether you have a Template directory. 

If a template directory with templates is present, you get a list of those document types to create a new document.

GNOME Files New Document Template Dialog
GNOME Files New File Template Dialog (when some templates present)

And if you don’t have any templates (which is likely), Files scans your system and shows a list of common file types based on the installed applications in your system.

For example, Text editor, LibreOffice document types – Spreadsheets, presentations, etc.

Some other things happen here. The file extension is selected by default when you choose a file type for a New document. That’s a protected label on the file name text box.

Moreover, if you don’t have any templates or any applications installed, then the Files New Document menu option is not shown at all!

Future Roadmap

The developer also proposed a future enhancement of this feature, extending its functionality to a greater extent.

When no template is available, the dialog will look like the one below. It will allow you to create files by selecting the applications, including blank files.

In addition, you can directly launch Software to install some applications which can help you create those respective file types.

Long term vision with additional features
Long term vision with additional features (Image Credit: GNOEM Team)

Since this feature is more complex, it may be developed later. There is no timeline as of now. 

Is this available in Files 43 (via GNOME 43)?

However, this change requires some additional design review, in my opinion. I feel it’s not complete. For example, when you have templates, you can not create the standard document types (for text, LibreOffice docs) – those two dialog are mutually exclusive. Also, there are some minor bugs which I find. 

Although the feature is approved and merged at the moment, it could not make it to the GNOME 43 release candidate due to schedule conflicts. 

Hopefully, you can get this in GNOME 44 release next year after a good round of review and testing.

Wrapping Up

Overall, it’s an elegant feature, and I don’t think any other File manager has this advanced design today. Once this FIles New document feature is implemented entirely, it would a nice addition to its excellent set of features.

So, do you like this new design? Do let me know in the comment box.


Arindam

Creator of debugpoint.com. All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, or send us an email.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
1
0
Would love your thoughts, please comment.x
()
x