Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Komodo Edit from a download (wasn't available in Software Center.) I want to be able to open .php files in Komodo, but when I right-click and choose Open With Other Application, Komodo doesn't display anywhere in the list. How can I add it to the list?

enter image description here

share|improve this question

3 Answers

If you have /usr/share/applications/application.desktop, change Exec=command to Exec=command %F in the file.

application: the name of application.

command: the name of application command.

like this:

sudo sed -i 's/Exec=command/Exec=command %F/' application.desktop

Then, you will be able to add the application to the list.

Please arrange the portion of Exec=command according to your application.desktop file.

It may be necessary to change MimeType=applications/php etc., if it is not still displayed.

Although it may be needlessness in this question, I consider that it may be effective in other applications.

share|improve this answer

Only applications available in the Launcher/Dash show in the Other Applications list.

Komodo Edit 7 creates an icon on your desktop by default:

enter image description here

To put Komodo Edit in the Launcher list and thus make it available in Other Applications, you must do the following:

  1. Open the terminal with Ctrl-Alt-T
  2. Type or paste:

    sudo cp ~/Desktop/komodo-edit-7.desktop /usr/share/applications/
    
  3. Exit the terminal.

  4. Check that Komodo Edit shows up in the Dash (it may take a few moments):

    enter image description here

  5. Now, it should also show in the Other Applications list for php (and other) files:

    enter image description here

share|improve this answer
This is an older version of Komodo - it was installed about a year ago, and definitely did not create an icon on the desktop. But it IS already available in the dash, so I don't get why it's not in the applications list. – EmmyS Jul 12 '12 at 15:05
@EmmyS, please find the Komodo Edit desktop file in /usr/share/Applications and share its content to better help us troubleshoot your problem (instructions in this answer) – izx Jul 13 '12 at 22:19

Based on vine_user's method, but with a different approach.

I normally download Blender from the official website, then use Alcarte / Main Menu software to create the menu link. After that, you will find the menu at "/.local/share/applications".

Now, see which one of the .desktop files is yours (and make sure it's executable). Right Click on it, hit Properties. Then, in the Command field, right after the command stated there, add %U.

That's it! It should now show in your menu.

share|improve this answer

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.