You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot add printer with GNOME GUI (grayed out) #12058
0.kind: bugSomething is broken6.topic: GNOMEGNOME desktop environment and its underlying platform6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Open gnome-control-center and select "Printers". The "Add new printer" button is grayed out, making it impossible to add a printer.
This is what the program prints to the terminal:
(gnome-control-center:16664): printers-cc-panel-WARNING **: Your system does not have the cups-pk-helper's policy "org.opensuse.cupspkhelper.mechanism.all-edit" installed. Please check your installation
I've packaged cups-pk-helper in my local tree. I got a bit further. I could click on the 'Add new printer' button, it found my network printer (with avahi/DNS-SD I think) but then failed when I tried to add it:
(gnome-control-center:18733): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
(gnome-control-center:18733): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
(gnome-control-center:18733): printers-cc-panel-WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
(gnome-control-center:18733): printers-cc-panel-WARNING **: Installation of the new printer failed.
0.kind: bugSomething is broken6.topic: GNOMEGNOME desktop environment and its underlying platform6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Activity
lucabrunox commentedon Jan 1, 2016
Maybe we're missing this: http://www.freedesktop.org/wiki/Software/cups-pk-helper/
bjornfor commentedon Jan 1, 2016
I've packaged cups-pk-helper in my local tree. I got a bit further. I could click on the 'Add new printer' button, it found my network printer (with avahi/DNS-SD I think) but then failed when I tried to add it:
So there is still some packaging work left.
lucabrunox commentedon Jan 1, 2016
The org.freedesktop.PackageKit is scary. The org.fedoraproject.Config.Printing should be provided by http://cyberelk.net/tim/software/system-config-printer/ .
What a complex world...
bjornfor commentedon Jan 1, 2016
I added cups-pk-helper to master branch in commit 92a0140.
bjornfor commentedon Jan 2, 2016
@lethalman: Right, adding
system_config_printerto the system profile removed this gnome-control-center warning:However, it prints the following message repeatedly (~1 sec interval) while scanning my network for printers:
And when I select one printer and click "add", it prints
lucabrunox commentedon Jan 2, 2016
Read the org.fedoraproject.Config.Printing dbus service file, it's probably trying to execute the daemon due to auto activation but cannot find it.
bjornfor commentedon Jan 2, 2016
@lethalman: Spot on!
lucabrunox commentedon Jan 2, 2016
Yep... now that
scp-dbus-service.... endless... :P Remind me, why aren't we just using debian or fedora :Pbjornfor commentedon Jan 2, 2016
@lethalman: hehe, yeah, I ask myself that from time to time :-D
bjornfor commentedon Jan 2, 2016
Oh, scp-dbus-service is in system_config_printer (s-c-p, doh!):
If only upstream application developer respected the configure time --prefix flag... grrr..
bjornfor commentedon Jan 2, 2016
Fixed system-config-printer dbus service file in commit 1979034 (and made upstream issue: OpenPrinting/system-config-printer#28).
bjornfor commentedon Jan 3, 2016
Ok, I guess the original issue is solved. I'll open new issues for remaining printer issues.