I want to add an item to my right click menu, and run a command when a user clicks on it.

I'm using Centos 6.2, is it possible? If yes please tell me how I can do this.

  • This depends on which DE (desktop environment) and/or WM (window manager) you use, and not the distro. CentOS offers a choice of DE, most likely yours is GNOME, but it could be something else. So if you can determine that, it will help determine the answer to your question. – goldilocks Sep 22 '13 at 10:16
  • yes , its GNOME – Alireza Fallah Sep 22 '13 at 10:18

You can use the tool nautilus-actions to do this. The main website is accessible here: http://www.nautilus-actions.org/. Should be in the standard repositories.


$ sudo yum install nautilus-actions


It can be invoked like this:

$ nautilus-actions-config-tool

It can also be invoked via pull downs: System -> Preferences -> Nautilus Action Configuration.

The main window looks like this:

ss of actions

When you invoke Nautilus you'll see it on the right context menu when right clicking on a file:

                                        ss of menu


  • when i run the nautilus-actions-config-tool it says:t should i do ? another instance of programming is already running , what should i do? – Alireza Fallah Sep 22 '13 at 14:58
  • ps -eaf | grep nautilus-actions. Then kill it. – slm Sep 22 '13 at 15:04
  • 1
    I killed it , but still that error apears , any idea? – Alireza Fallah Sep 22 '13 at 15:06
  • I'm thinking that it's already running and is accessible from a menu directly in nautilus then, not sure where though, I'm looking. – slm Sep 22 '13 at 15:08
  • Check under the System pull down, System -> Preferences -> Nautilus Action Configuration. – slm Sep 22 '13 at 15:13

The same trouble on RHEL 6.4. No nautilus-actions instance is found in ps aux. This helped in my case:

nautilus-actions-config-tool --non-unique

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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