Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding application to 'Open with other applications' dialog

Tags:

ubuntu

komodo

I installed Komodo earlier today and am unable to locate it in the "Open with other applications" dialog. The application works as intended other than this.

Using ubuntu 11.10

like image 855
castis Avatar asked Oct 09 '22 09:10

castis


1 Answers

URL from answer is down

Here is how to do it:

Create file in ~/.local/share/applications named XXX.desktop e.g flashplayer.desktop

Content of file

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=/home/executable-path %f
Name=flashplayer
Comment=Custom definition for flashplayer
NoDisplay=true

Note: the %f after the path to the executable is necessary for the application to appear in the 'Open with' menu.

In nautilus,

- right click on file
- open with other applications
- show other applications
- select the one created e.g flashplayer

Also update the properties / open-with and set it as a default

like image 182
hbt Avatar answered Oct 11 '22 21:10

hbt