HPLIP inside a distrobox (HP printer, printing works but scanning doesn't)
Printer model: HP LaserJet Pro MFP M127fs
Without the hplip drivers I can print but cannot scan, so I am trying to get scanning to work. Overlaying hplip with
rpm-ostree
does not work since the hplip gui wants to do the installation of drivers itself, which due to bazzite being an atomic distro is not an allowed operation, therefore hplip must go inside a container.
I have created a debian:stable container and installed the hplip-gui
package in it. Here is what happens when I try to run hp-toolbox
(printer is connected over usb): https://pastebin.com/f9wbHFY0 (pastebin due to being too long). The key error seems to be error: Unable to connect to dbus system bus. Exiting.
but googling reveals nothing and I cannot understand why this error is happening or what it means.
Anyone have any idea what to do after this?Pastebin
```bashumnikos@bazzite:~$ distrobox stop hplipDo you really want to...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Solution:Jump to solution
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/host/var/run/dbus/system_bus_socket hp-toolbox
53 Replies
hplip is part of bazzite though?
what?
it definitely isn't.
...oh wait
that particular command isn't, but I seem to have other hp commands...
yeah have you tried to just add the printer through the kde/gnome gui?
it is listed there
and I can print
but I can't scan
the gnome scanner tool detects my printer but then when I hit the scan button immediately errors
saying it can't connect to the scanner
with no further elaboration on why
lemme get a screenshot real quick...
here
hm.
@HikariKnight any further wisdom?
i hate printers, especially multifunction ones from hp 😂
i am digging around a bit though
I tried
hp-plugin
to update stuff but it just says "installation failed" after being given admin password
which is basically as far as I got when trying to overlay hplip-gui anyway
I've used this same printer on a debian machine before with no problems
with hplipall im finding so far by searching is that people dislike hplip
I do not like it either
just for sanity checking you have tried a different port right?
i have like 0 experience with hp printers on linux (might have something to do that i have avoided them like the plague or the fact i print maybe 1 page per year...)
did just now
same thing
it's a laser printer, and it accepts bootleg cartridges
doesn't even connect to wifi
ah
as far as printers go this is a good one
only thing i got was that it needs to download the hp plugin for scanner support
whats the error when you try download that?