February 2019
Intermediate to advanced
450 pages
11h 59m
English
The .desktop file is a simple text file in a standard key-value format with grouping. There are certain keys that are required as well as many optional ones (which we will not cover here). A basic desktop entry file may look like this:
[Desktop Entry] Type=Application Name=My Application Exec=myapp %f Icon=myapp.pngCategories=Utility
Save the content to a suitably named file, such as myapp.desktop, next to your compiled binary file. This file sets out the basic application information—the type of executable it describes (Application) and the name that will be used for display (you can add additional information with Comment if required). The name can be localized (displayed in different languages) as well—for this, use ...
Read now
Unlock full access