Skip to content

Instantly share code, notes, and snippets.

View alseambusher's full-sized avatar
:shipit:
...

Suresh Alse alseambusher

:shipit:
...
View GitHub Profile
@alseambusher
alseambusher / myapp.desktop
Created January 4, 2013 10:09
To show your application in 'open with' in ubuntu 12.04, make a file called APPLICATION_NAME.desktop in /usr/share/applications and provide necessary commands in it. Here is an example of an application called 'myapp' (say in /usr/bin/myapp ). Say your application is used to view jpeg images (for mimetype). Say your icon exists as /usr/share/ico…
[Desktop Entry]
Name=My App
GenericName=My App
Comment=No comment
Exec=/usr/bin/myapp %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=image/jpeg
Icon=myapp