freedesktop.org standard menu entry submission

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
jhansonxi
Engineer
Engineer
Posts: 3
Joined: 28 Apr 2007 23:12

freedesktop.org standard menu entry submission

Post by jhansonxi »

Many *nix desktop environments (KDE, Gnome, etc.) are supporting the freedesktop.org desktop-entry-spec which standardizes the way that applications are added to desktop menus. The Ubuntu/Debian package didn't include one so I created it (openttd.desktop). This needs to be put in /usr/share/applications:

[Desktop Entry]
Categories=Application;Game;Simulation
Version=1.0
Comment=Build a transportation empire
Name=OpenTTD
Icon=openttd.64.png
Exec=openttd -m extmidi
Terminal=false
TryExec=openttd
Type=Application

Note, Gnome currently doesn't look for it in /usr/local/share/applications so the source package may need another config option so as to put it in /usr/share/applications during "make install".
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest