Bug#537737: Please gives warning about 'OnlyShowIn=' in .desktop file.
Package: lintian
Version: 2.2.12
Severity: wishlist
Dear Maintainer,
Some packages use 'OnlyShowIn=GNOME;' or 'OnlyShowIn=GNOME;XFCE;' or
even OnlyShowIn=GNOME;KDE;XFCE; in it's XDG's .desktop file. But these
packages are also works in desktops other than the desktops specificed,
such as LXDE.
Here are the list of packages in sid with keyword 'Show' in it's XDG
autostart .desktop file:
etc/xdg/autostart/xfce4-tips-autostart.desktop:OnlyShowIn=XFCE;
etc/xdg/autostart/user-dirs-update-gtk.desktop:OnlyShowIn=GNOME;
etc/xdg/autostart/update-notifier.desktop:OnlyShowIn=GNOME;XFCE;
etc/xdg/autostart/tracker-applet.desktop:OnlyShowIn=GNOME;XFCE;
etc/xdg/autostart/trackerd.desktop:OnlyShowIn=GNOME;KDE;XFCE;
etc/xdg/autostart/parcellite-startup.desktop:OnlyShowIn=GNOME;XFCE;
etc/xdg/autostart/nm-applet.desktop:NotShowIn=KDE;
etc/xdg/autostart/gnome-volume-manager.desktop:OnlyShowIn=GNOME;XFCE;
etc/xdg/autostart/gnome-user-share.desktop:OnlyShowIn=GNOME;
etc/xdg/autostart/gnome-osd-event-bridge.desktop:OnlyShowIn=GNOME;
etc/xdg/autostart/gnome-at-session.desktop:OnlyShowIn=GNOME;
etc/xdg/autostart/bluetooth-applet.desktop:OnlyShowIn=GNOME;XFCE
The nm-applet is a good example as it did that in a proper way. And
somehow trackerd specificd only 'GNOME;KDE;XFCE;' but there are more
desktops than 'GNOME;KDE;XFCE;' in debian.
So, as the subject says, please give warning about 'OnlyShowIn=' in
.desktop file.
Best regards,
-Andrew
-- System Information:
Debian Release: squeeze/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.19.1-1 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.3.1 Debian package development tools
ii file 5.03-1 Determines file type using "magic"
ii gettext 0.17-6 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.23 Perl interface to libapt-pkg
ii libipc-run-perl 0.82-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.5-2 on-line manual pager
ii perl [libdigest-sha-pe 5.10.0-24 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.5-2 on-line manual pager
-- no debconf information
Reply to: