Documentation

Fichier .desktop
(lanceur de bureau)

Dossier par défaut des applications: /usr/share/applications/<name>.desktop

file.desktop

[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=<desktop name>
Name[<lang]>=<desktop name>
GenericName=<type of application> (Platform Game)
GenericName[<lang>]=<type of application>
Comment=<comment on application>
Comment[<lang>]=<comment on application>
Icon=<icon.png|icon>
Exec=<filename of binary file (can be relative with $PATH) and with args>
Terminal=false|true
StartupNotify=false|true
Categories=Game;ArcadeGame;Utility;Network;InstantMessaging; (list of multiple choice separated by ;)

For screensaver:
[Desktop Entry]
Actions=InWindow;Root

[Desktop Action Setup]
Exec=<cmd>
Name=<name>

[Desktop Action InWindow]
Exec=<cmd>
Name=<name>
NoDisplay=true|false

[Desktop Action Root]
Exec=<cmd>
Name=<name>
NoDisplay=true|false

For wm-properties:
X-GNOME-WMSettingsModule=metacity
X-GNOME-WMName=compiz
X-GnomeWMSettingsLibrary=compiz
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-AutoRestart=false|true
X-GNOME-Provides=windowmanager
X-Ubuntu-Gettext-Domain=<gettext-domain>
AutostartCondition=GNOME /desktop/gnome/remote_access/enabled
OnlyShowIn=GNOME;
NoDisplay=false|true

[Window Manager]
SessionManaged=false|true

For /usr/share/app-install/desktop:
[Desktop Entry]
X-AppInstall-Package=xt
X-AppInstall-Popcon=370
X-AppInstall-Section=universe
X-Ubuntu-Gettext-Domain=<gettext-domain>

<lang>: en, ca, cs, da, de, es, fr, hu, it, lt, nb, nn, nl, pt, pt_BR, ru, fi, sv, tr
<icon> : inside /usr/share/icons/[16x16|22x22|24x24|32x32|scalable]/apps/<icon>.(png|svg)