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

I am interested in adding a custom script to the Nautilus context menu. I am aware of solutions such as the Scripts folder and the Nautilus Actions application.

I created a test action in Nautilus Actions, but it only appears under the "Nautilus-Actions actions" submenu.

I would like to be able to add an item to the root level of the context menu itself (at the same level as cut, copy, dropbox, compress...) and not in a submenu.

Is this possible with Nautilus Actions?

If it isn't, is there any other way? (If it involves coding or strange configuration changes, that's OK too)

share|improve this question
up vote 9 down vote accepted

You can do it with nautilus-actions. Launch nautilus-actions-config-tool and go to Tools -> Settings, and bottom of the first tab.

share|improve this answer
You'll need to explain a bit more. Nautilus 3.4.2 does not have a 'tools' drop down menu. – fabricator4 Nov 11 '12 at 0:42
@fabricator4, I've made an edit.. I can't say it was the hardest question I've seen around here.. – user55822 Nov 13 '12 at 17:32
A bit late but it was this simple - Edit > Preferences > uncheck "Create a root Nautilus Actions menu" – Mendhak May 20 '13 at 18:11

As far as I know that's not possible with Nautilus Actions. But you can write a Nautilus extension that adds a menu item. For Python install the package python-nautilus and have a look at the examples in /usr/share/doc/python-nautilus/examples/

share|improve this answer
It is possible... – Wilf May 15 '14 at 22:49

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.