Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a very useful entry in gnome's context menu when clicking on any file:
Open with gedit (the first entry in the context menu).

I'd like to add similar one, for my second favourite editor.

The question is how to do it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Install the "nautilus-actions" package

Then, In the following location :

System -> Preferences -> Nautilus Actions Configuration

Click on "Add"

In Menu Item & Action:
Label: Open with ..
Path: <Path to executable>
Parameters:

In Conditions:
Filenames: <Give a filter>
Match Case: [selected]
Mimetypes: <Give the mime type>
share|improve this answer
    
i don't see this menu item ("Nautilus Actions Configuration") on Ubuntu 10.04. can you add what command it runs or what version of Ubuntu you have that provides this menu item? –  quack quixote Jun 20 '10 at 18:49
1  
Could you try installing the nautilus-actions package and then try the above. I have this working on 10.04, with the said package installed. –  Abhinav Jun 20 '10 at 18:55
    
@quack quixote ♦ Thanks. Any chance to make the new context menu entry appear as first? –  takeshin Jun 21 '10 at 20:28

Your Answer

 
discard

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.