Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to add a contextual menu item to .psd files in Nautilus? The menu item would execute a script and pass it the path of the file.

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Install nautilus-actions Install nautilus-actions. This lets you add items to the context menu.

Open System>Preferences>Nautilus Actions Configuration.

You can define new menu items, and use conditions to ensure they only display for psd files.

This page has a decent walkthrough.

share|improve this answer
add comment

if you want Gnome-wide action on particular MIME type of file (within your login), you make right mouse click on one of those files icon in Nautilus, choose "Open with Other Application..." and in dialog popped up, make open edit window "Use a custom command" at bottom, type name of script (it should be executable, e.g. with chmod +x filename), and mark "Remember this application for "MIME type chosen" files" crossed.

share|improve this answer
    
Good solution for default double click action, but I was referring to the right click contextual menu. –  Olivier Lalonde Feb 10 '11 at 21:44
add comment

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.