I created a .desktop
entry for a custom QGIS installation in ~/.local/share/applications
. For some reason the Unity launcher and Kupfer refuse to index the entry - it does not show up.
Here is the content of ~/.local/share/applications/qgis-custom.desktop
. I left out the translations.
[Desktop Entry]
Type=Application
Name=QGIS Desktop HEAD
Version=1.0
GenericName=Geographic Information System
Icon=qgis
TryExec=env LD_LIBRARY_PATH=/home/jjd/bin/qgis/lib /home/jjd/bin/qgis/bin/qgis
Exec=env LD_LIBRARY_PATH=/home/jjd/bin/qgis/lib /home/jjd/bin/qgis/bin/qgis %F
Terminal=false
StartupNotify=false
Categories=Qt;Education;Science;Geography;
MimeType=application/x-qgis-project;image/tiff;image/jpeg;image/jp2;application/x-raster-aig;application/x-raster-ecw;application/x-raster-mrsid;application/x-mapinfo-mif;application/x-esri-shape;
Keywords=map;globe;postgis;wms;wfs;ogc;osgeo
In a former question I found out that the LD_LIBRARY_PATH
has to be exported. The application successfully starts when I start it from the shell.
The
TryExec
key should only contain the command without any parameters. If it doesn't exist (in one of the folders in$PATH
if you don't use an absolute path) the entry may be ignored.So just use
(or remove the line altogether)