The problem is that there is more than one .desktop file to start the hp-toolbox:
---------- till@till-laptop:~/printing/foomatic/lporg-site$ dpkg -S .desktop 2>&1 | grep '/hp' hplip: /usr/share/applications/hplip.desktop hplip: /usr/share/applications/hp-fab.desktop hplip: /usr/share/applications/hp-toolbox.desktop hplip: /usr/share/applications/hp-sendfax.desktop app-install-data: /usr/share/app-install/desktop/hplip.desktop hplip: /usr/share/applications/hplip-kubuntu.desktop till@till-laptop:~/printing/foomatic/lporg-site$ less /usr/share/app-install/desktop/hplip.desktop till@till-laptop:~/printing/foomatic/lporg-site$ ----------
in total my installation (Ubuntu standard + KDE) contains 4:
---------- till@till-laptop:~/printing/foomatic/lporg-site$ grep -i Exec `dpkg -S .desktop 2>&1 | grep '/hp' | cut -d ' ' -f 2` /usr/share/applications/hplip.desktop:Exec=/usr/bin/hp-toolbox /usr/share/applications/hp-fab.desktop:Exec=/bin/sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-fab' /usr/share/applications/hp-toolbox.desktop:Exec=/usr/bin/hp-toolbox /usr/share/applications/hp-sendfax.desktop:Exec=/usr/bin/hp-sendfax /usr/share/app-install/desktop/hplip.desktop:Exec=/usr/bin/hp-toolbox /usr/share/applications/hplip-kubuntu.desktop:Exec=/usr/bin/hp-toolbox till@till-laptop:~/printing/foomatic/lporg-site$ ----------
where 2 are already in the hplip package, and assuming that app-install-data makes also part of a Ubuntu live CD there are 3.
Only the following files are deactivated with a "NoDisplay=true" directive:
---------- -till@till-laptop:~/printing/foomatic/lporg-site$ grep -i nodisplay `dpkg -S .desktop 2>&1 | grep '/hp' | cut -d ' ' -f 2` /usr/share/applications/hp-fab.desktop:NoDisplay=true /usr/share/applications/hp-toolbox.desktop:NoDisplay=true /usr/share/applications/hp-sendfax.desktop:NoDisplay=true till@till-laptop:~/printing/foomatic/lporg-site$ ---------
This means for fixing the bug two more .desktop files need to be removed or need the "NoDisplay=true" added:
/usr/share/applications/hplip.desktop (package hplip) /usr/share/app-install/desktop/hplip.desktop (package app-install-data)
It should also be taken care of
/usr/share/applications/hplip-kubuntu.desktop
in the hplip package. This file is there for Kubuntu (KDE-based) and should not generate an icon in Ubuntu, Xubuntu, or Edubuntu.
As one of the candidates for the unwished icon is in the app-install-data package, I add this package to this bug report.
The problem is that there is more than one .desktop file to start the hp-toolbox:
---------- laptop: ~/printing/ foomatic/ lporg-site$ dpkg -S .desktop 2>&1 | grep '/hp' applications/ hplip.desktop applications/ hp-fab. desktop applications/ hp-toolbox. desktop applications/ hp-sendfax. desktop app-install/ desktop/ hplip.desktop applications/ hplip-kubuntu. desktop laptop: ~/printing/ foomatic/ lporg-site$ less /usr/share/ app-install/ desktop/ hplip.desktop laptop: ~/printing/ foomatic/ lporg-site$
till@till-
hplip: /usr/share/
hplip: /usr/share/
hplip: /usr/share/
hplip: /usr/share/
app-install-data: /usr/share/
hplip: /usr/share/
till@till-
till@till-
----------
in total my installation (Ubuntu standard + KDE) contains 4:
---------- laptop: ~/printing/ foomatic/ lporg-site$ grep -i Exec `dpkg -S .desktop 2>&1 | grep '/hp' | cut -d ' ' -f 2` applications/ hplip.desktop: Exec=/usr/ bin/hp- toolbox applications/ hp-fab. desktop: Exec=/bin/ sh -c 'STARTED_ FROM_MENU= yes /usr/bin/hp-fab' applications/ hp-toolbox. desktop: Exec=/usr/ bin/hp- toolbox applications/ hp-sendfax. desktop: Exec=/usr/ bin/hp- sendfax app-install/ desktop/ hplip.desktop: Exec=/usr/ bin/hp- toolbox applications/ hplip-kubuntu. desktop: Exec=/usr/ bin/hp- toolbox laptop: ~/printing/ foomatic/ lporg-site$
till@till-
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
till@till-
----------
where 2 are already in the hplip package, and assuming that app-install-data makes also part of a Ubuntu live CD there are 3.
Only the following files are deactivated with a "NoDisplay=true" directive:
---------- laptop: ~/printing/ foomatic/ lporg-site$ grep -i nodisplay `dpkg -S .desktop 2>&1 | grep '/hp' | cut -d ' ' -f 2` applications/ hp-fab. desktop: NoDisplay= true applications/ hp-toolbox. desktop: NoDisplay= true applications/ hp-sendfax. desktop: NoDisplay= true laptop: ~/printing/ foomatic/ lporg-site$
-till@till-
/usr/share/
/usr/share/
/usr/share/
till@till-
---------
This means for fixing the bug two more .desktop files need to be removed or need the "NoDisplay=true" added:
/usr/share/ applications/ hplip.desktop (package hplip) app-install/ desktop/ hplip.desktop (package app-install-data)
/usr/share/
It should also be taken care of
/usr/share/ applications/ hplip-kubuntu. desktop
in the hplip package. This file is there for Kubuntu (KDE-based) and should not generate an icon in Ubuntu, Xubuntu, or Edubuntu.
As one of the candidates for the unwished icon is in the app-install-data package, I add this package to this bug report.