Development/Tutorials/Desktop File

< Development‎ | Tutorials
Revision as of 20:41, 8 August 2011 by Milianw (talk | contribs) (Created page with "{{Template:I18n/Language Navigation Bar|Development/Tutorials/Desktop File}} {{TutorialBrowser| series=Basics| name=Desktop File| pre=[[Development/Tutorials/Session_Manageme...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Development/Tutorials/Desktop File

Desktop File
Tutorial Series   Basics
Previous   Session Management
What's Next  
Further Reading   the .desktop Free Desktop Spec;

Desktop File

In order for your application to show up in menus and/or to be automatically associated with mime types in file browsers, you need to provide a .desktop file like follows:

[Desktop Entry]
Exec=your-app %u
Name=Your App
GenericName=Some Generic Name
Comment=Short Description Of Your App

Take a look at the .desktop Free Desktop Spec to find our more about the key/value pairs above. It's important to pick a good set of Categories, see the spec for a list of valid values.

Content is available under Creative Commons License SA 4.0 unless otherwise noted.