[SOLVED] Can anyone use system-config-printer-applet?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installation of the package system-config-printer installs /etc/xdg/autostart/system-config-printer.desktop, which is supposed to run system-config-printer-applet but in KDE.
In turn this exec a python app: /share/system-config-printer/applet.py that is supposed to handle print jobs communicating with cups through DBus.
But I can't get this to work.
I would expect to see a printer icon in the tray at startup and don't.
If I run system-config-printer-applet as regular user I get:
Code:
didier[/usr/share/icons]$ system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.116" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file
This is probably due to a wrong setting in the cups config file. A process is running though:
According to this bug report that error can occur when the PrinterDriverInstaller dbus service is not installed. But I don't know much about dbus, so I don't know how to find out if it is installed.
Might be worth seeing if it is just an issue in the version of system-config-printer that is included in 14.2 (1.3.13). They have 1.5.8 out now. I just tried building it and it built fine (with just a regular ./bootstrap && ./configure && make), but I didn't try installing it since I don't have any printer hooked up to the machine. I imagine using the actual SlackBuild should work fine by just overriding the version number.
Upgrading system-config-printer to 1.5.8: didn't work because /usr/share/system-config-printer/applet.py is now a python3 applet and pycups shipped in Slackware 14.2 only installs a python2 module, so importing the cups module fails.
I will investigate further later today.
What puzzles me is that it works for ChuangTzu. But to be sure:
@ChuangTzu: when you say "system-config-printer works" do you mean the full application (that also works here) or more specifically the applet? What happens if you type in a terminal system-config-printer-applet?
sorry it's 1.5.7 here, i have trying to build 1.5.8, it seem that it need systemd.
I was able to build it without systemd on 14.2, but I didn't try installing/running it. But, I just manually ran ./bootstrap && ./configure && make with no options. The make completed successfully.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.