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.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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:
It can also be invoked via pull downs: System -> Preferences -> Nautilus Action Configuration.
The main window looks like this:
When you invoke Nautilus you'll see it on the right context menu when right clicking on a file: