Comment 10 for bug 67892

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: HPLIP failed to start PyQt/Qt missing

The HPLIP 1.6.10-2ubuntu1 (current Feisty) contains the following 4 .desktop files:

till@till-laptop:~/ubuntu/hplip/hplip-1.6.10$ dpkg -c ../hplip_1.6.10-2ubuntu1_i386.deb | grep '\.desktop'
-rw-r--r-- root/root 302 2006-12-11 10:54 ./usr/share/applications/hp-fab.desktop
-rw-r--r-- root/root 262 2006-12-11 10:54 ./usr/share/applications/hp-sendfax.desktop
-rw-r--r-- root/root 281 2006-12-11 10:54 ./usr/share/applications/hp-toolbox.desktop
-rw-r--r-- root/root 266 2006-12-11 10:54 ./usr/share/applications/hplip.desktop
till@till-laptop:~/ubuntu/hplip/hplip-1.6.10$

All hp-*.desktop files contain a line "NoDisplay=true", so they do not appear in the desktop menues by default. The hplip.desktop and hp-toolbox.desktop files are identical except that hplip.desktop DOES NOT contain "NoDisplay=true", so this entry always appears.

So my suggestion is to remove hplip.desktop as it is a duplicate and to move the other 3 .desktop files into a separate binary package named "hplip-gui", but with the "NoDisplay=true" lines removed. "hplip-gui" will then depend on python-qt and hplip and it will only be installed by default on the Kubuntu (KDE-based) desktop CD but not on the desktop CDs of Ubuntu (GNOME) and Xubuntu (XFCE). the "hplip" package should recommend/suggest "hplip-gui" so that a package installer tool makes the user aware of the available GUI.

So a user who wants to have the HPLIP GUIs on Ubuntu or Xubuntu has to install only the "hplip-gui" package and everything needed gets installed.

WDYT?

P. S.: Also the /usr/bin/hp-toolbox link can be moved into "hplip-gui".