meshlab/scripts/Linux/resources/meshlab.desktop
Pino Toscano 9eb5072aa1 Install app icon in XDG hicolor icon theme
Install the icon of the application in the hicolor XDG icon theme;
this way it can be properly loaded by XDG menus in the currently set
XDG icon theme, without looking in the legacy pixmaps location.

As result, adapt the desktop file by removing the full path to the icon
(which was already buggy for installations in prefixes different than
/usr), so the bare icon name will be searched in the XDG icon theme as
expected.

Also, remove the manual icon copying in a bundle script, as the icon is
installed in the right place now.
2021-05-20 11:23:51 +02:00

14 lines
676 B
Desktop File

[Desktop Entry]
Version=1.0
Name=MeshLab
Name[en_GB]=MeshLab
GenericName=Mesh processing
GenericName[en_GB]=Mesh processing
Comment=View and process meshes
Type=Application
Exec=meshlab %F
Icon=meshlab
Terminal=false
MimeType=model/mesh;application/x-3ds;image/x-3ds;model/x-ply;application/sla;model/x-quad-object;model/x-geomview-off;application/x-cyclone-ptx;application/x-vmi;application/x-bre;model/vnd.collada+xml;model/openctm;application/x-expe-binary;application/x-expe-ascii;application/x-xyz;application/x-gts;chemical/x-pdb;application/x-tri;application/x-asc;model/x3d+xml;model/x3d+vrml;model/vrml;model/u3d;model/idtf;
Categories=Graphics;3DGraphics;Viewer;Qt;