← Back to team overview

desktop-packages team mailing list archive

[Bug 913730] Re: Automatic plug-in installation not working under Ubuntu

 

This bug is old so lets renew this a bit with my experience on Ubuntu
Mate 16.04... I have a HP LaserJet P1102w

Installation detected the printer on the network and everything seemed
fine until i tried printing, it did not work.

i new i needed to run hp-plugin at this point but there was no
information or any specific error pointing me to it. Running hp-plugin
failed with it complaining about a missing gui library of some kind.
After installing hplip-gui, running hp-plugin as a normal user went
smootly. It asked for my password and installed fine. The printer was
working after that.

There is a feature request for the missing hplip-gui...

https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/802304

Sorry not sure if i should close this bug or not...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/913730

Title:
  Automatic plug-in installation not working under Ubuntu

Status in HPLIP:
  Invalid
Status in hplip package in Ubuntu:
  Triaged
Status in policykit package in Ubuntu:
  Confirmed

Bug description:
  I have packaged HPLIP 3.11.12 for Ubuntu Precise (12.04) and I have
  also backported this package to Oneiric (11.10, package in my PPA:
  https://launchpad.net/~till-kamppeter/+archive/ppa).

  With the binary package hplip-gui and all its dependencies installed
  the plug-in should be downloaded and installed automatically if a
  printer gets connected which requires the plug-in, via the newly added
  feature of HPLIP 3.11.12.

  It seems that when hp-systray calls hp-plugin, hp-plugin gets run as
  normal user (not as root) and then it is not able to install the files
  of the plug-in in subdirectories of /usr/share/hplip and /etc where
  only root has write access.

  What needs to be done here is to use PolicyKit or tools like gksudo.
  Is such a thing actually used?

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/913730/+subscriptions