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

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
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

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

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.