Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I add LibreOffice word processing to the options on the Nautilus right click create new document menu?

I'm on 12.04.

share|improve this question
up vote 7 down vote accepted

The "Create new document" dialog sources its entries from ~/Templates. Simply put an empty Libreoffice document in that folder or create a subfolder with multiple documents and you will be able to create LO documents from the context menu in Nautilus.

The same method applies to any other type of file, of course.

share|improve this answer
There is no ~/Templates folder. I created it. It now contains "Untitled 1.odt" which is an empty LibreOffice word processing document. The right-click menu still does not offer LibreOffice. – H2ONaCl Jun 6 '13 at 5:38
Thanks Glutanimate. The problem is that ~/Templates was deleted and to restore it you need to use Ubuntu Tweak. Once restored, adding empty documents works as you have described. This link describes using Ubuntu Tweak to restore the folder. link – H2ONaCl Jun 7 '13 at 14:24
A large pack of templates can be downloaded from here – opticyclic Jul 3 '14 at 8:37
And whatever you name the file will be the name that shows up in the menu. – Ian Martin Oct 29 '15 at 12:01

You can try Nautilus Actions.

Nautilus-action allows you to define custom actions or commands for certain file types or files with names matching your description. There are plenty of things that you can do with nautilus-action.

To install it, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install nautilus-actions

When its done, search for nautilus in Dash, and click on it.

enter image description here

Once it opens, you well see the program, and then you can create a new context menu.

enter image description here

share|improve this answer
Is a new menu really necessary when the existing menu already allows the creation of new documents, unfortunately, only a text file. In any event, this did not work for me. Are these instructions complete? What will go into this menu? Does this menu invoke LibreOffice and if so, then how? – H2ONaCl Jun 6 '13 at 5:40
If you want the open with Libreoffice, then you need to add that menu. To add it just follow the screens in Nautilus Actions. The instructions are complete, you just have to actually create the menu. Look at this example, it will help. – Mitch Jun 6 '13 at 6:05
This Post will help you as well. – Mitch Jun 6 '13 at 7:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.