hugin.desktop file

Bruno Postle bruno at postle.net
Thu Oct 9 20:41:24 BST 2003


The hugin RPMs I've built lately have a patch that adds a .desktop
file.  This is used by Gnome/KDE to place an entry in the 'start'
menu amongst other things.

This file needs to get installed here:

    $PREFIX/share/applications/hugin.desktop

This is the entire contents of hugin.desktop, it seems to work ok on
my system:

[Desktop Entry]
Name=Hugin panorama creator
Comment=Stitch photographs together
GenericName=Panorama stitcher
Categories=Application;Graphics;
Encoding=UTF-8
Exec=hugin
Icon=/usr/share/hugin/xrc/data/gui.xpm
StartupNotify=false
Terminal=false
Type=Application

Note that the 'Icon' path depends on the $PREFIX, so it's not quite
as simple as just copying the file (actually, the 'Icon' line can
just be left out and it will still work but without an image).

It can also be internationalised, but by default it just has
english text.

-- 
Bruno


More information about the ptX mailing list