LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2017, 05:33 PM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Can anyone use system-config-printer-applet?


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:
Code:
didier[/usr/share/icons]$ ps -AF |grep system-config-printer
didier    4461  4383  2 72242 36968   1 00:27 pts/4    00:00:00 /usr/bin/python /usr/share/system-config-printer/applet.py
but I see no icon in the tray.

If I start X as root I do not get the error message but I still see no icon.

Any clue appreciated.

Last edited by Didier Spaier; 01-07-2017 at 06:00 PM.
 
Old 01-07-2017, 05:57 PM   #2
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
slackware version ?
 
Old 01-07-2017, 06:00 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Original Poster
Rep: Reputation: Disabled
14.2
 
Old 01-07-2017, 07:12 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.

https://github.com/zdohnal/system-config-printer

system-config-printer-1.5.8.tar.gz
 
1 members found this post helpful.
Old 01-07-2017, 07:24 PM   #5
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Didier,

Its working fine here (system-config-printer) on Salix 14.2 and Slackware 14.2. Did you make sure cups/cupsd is running?
 
Old 01-07-2017, 07:37 PM   #6
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
stable or current ?

cause in "stable" , python-2.7.13 is bugged ....
 
Old 01-07-2017, 07:43 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by USUARIONUEVO View Post
stable or current ?

cause in "stable" , python-2.7.13 is bugged ....
14.2 is stable.
 
1 members found this post helpful.
Old 01-07-2017, 08:08 PM   #8
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
rebuild python , no need modify nothing, only build on your system, some problem detected with python in systems with more than one core cpu.


https://slackbuilds.org/mirror/slack...source/python/
 
Old 01-08-2017, 12:54 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Original Poster
Rep: Reputation: Disabled
Thanks for your answers.

So far, no luck.
  • Rebuilding && reinstalling python 2.7.13: no icon
  • Downgrading to python 2.7.11: no icon
  • 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?
 
Old 01-08-2017, 03:10 AM   #10
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
system-config-printer-1.5.8 need python3 and python gtk+3 binding,

Last edited by gmgf; 01-08-2017 at 03:18 AM.
 
Old 01-08-2017, 03:18 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Original Poster
Rep: Reputation: Disabled
Yes Gérard, so I won't upgrade system-config-printer to 1.5.8.
 
Old 01-08-2017, 03:23 AM   #12
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
it work perfectly here, but i have all personal packages who are needed.
 
Old 01-08-2017, 04:43 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Original Poster
Rep: Reputation: Disabled
Paquets perso ... Lesquels?
 
Old 01-08-2017, 04:51 AM   #14
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
sorry it's 1.5.7 here, i have trying to build 1.5.8, it seem that it need systemd.

des paquets que je fais pour moi
 
Old 01-08-2017, 04:54 AM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by gmgf View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hp-setup and network printer or hpcups and system-config-printer ToK Linux - Software 3 03-27-2019 09:47 PM
Network printer not discovered by system-config-printer Woodsman Slackware 30 08-03-2014 08:48 PM
system-config-printer error when configuring the printer for other language(Chinse) amit_pansuria Linux - General 4 08-04-2009 12:34 AM
system-config-printer jmdlcar Slackware 7 09-30-2008 02:29 AM
system-config-printer config file(s) frenkiel Linux - Software 0 06-06-2006 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration