8

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

I'm on 12.04.

2 Answers 2

15

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.

7
  • 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, 2013 at 5:38
  • 3
  • 1
    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, 2013 at 14:24
  • 1
    A large pack of templates can be downloaded from here gnome-look.org/content/show.php/?content=129681
    – opticyclic
    Jul 3, 2014 at 8:37
  • 1
    And whatever you name the file will be the name that shows up in the menu.
    – Ian Martin
    Oct 29, 2015 at 12:01
1

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

3
  • 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, 2013 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, 2013 at 6:05
  • This Post will help you as well.
    – Mitch
    Jun 6, 2013 at 7:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .