Bug#990637: Why do marble have several .desktop files?
Package: marble
Version: 4:17.08.3-3.2
I just noticed the .desktop files in marble confuses the script used to
generate <URL: https://wiki.debian.org/MimeTypesSupport/PackageList >
because it contain 9 .desktop files:
% dpkg -L marble|grep desktop
/usr/share/applications/marble_geo.desktop
/usr/share/applications/marble_gpx.desktop
/usr/share/applications/marble_kml.desktop
/usr/share/applications/marble_kmz.desktop
/usr/share/applications/marble_shp.desktop
/usr/share/applications/marble_worldwind.desktop
/usr/share/applications/org.kde.marble.desktop
/usr/share/kservices5/marble_part.desktop
/usr/share/kservices5/marble_thumbnail_kmz.desktop
%
Is there a good reason for all these desktop files. At elast some of
them seem redundant:
--- /usr/share/applications/marble_gpx.desktop 2017-10-20 05:52:49.000000000 +0200
+++ /usr/share/applications/marble_shp.desktop 2017-10-20 05:52:49.000000000 +0200
@@ -96,7 +96,7 @@
GenericName[x-test]=xxVirtual Globexx
GenericName[zh_CN]=虚拟地球仪
GenericName[zh_TW]=虛擬地球儀
-MimeType=application/x-gpx+xml;
+MimeType=application/x-esri-shape;
Icon=marble
Terminal=false
Categories=Qt;KDE;Education;Geography;
These two files could be combined into once by using
MimeType=application/x-gpx+xml;application/x-esri-shape;
Perhaps the number of .desktop files in the package can be reduced?
--
Happy hacking
Petter Reinholdtsen
Reply to: