Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
06-29-2014, 09:13 PM
|
#16
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
Quote:
Research the package configurations and then see if the trace back through the dependencies and see if something isn't resolved.
|
The system-config-printer tool detects my network printer in Salix Mate. I have no idea what is different in my Slackware systems, whether configuration, missing packages, or PEBKAC.
|
|
|
06-30-2014, 12:28 AM
|
#18
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
|
Mate's dependency list may reveal an answer, but otherwise because Mate is technically still an unofficial package, getting an answer is going to be hit or miss. I would suggest rebuilding system-config-printer with cups-pk-helper, but you may want to ask the Mate developers for more information before you proceed. If this was a SBo package, you might get a better answer.
The only valid suggestion, even if it's not wanted, I can give is use the CUPS intranet configuration, or, if your network printer is an HP, is to use the hplip driver and utility pack.
Sorry bro.
|
|
|
06-30-2014, 01:05 AM
|
#19
|
Senior Member
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,614
|
|
|
|
06-30-2014, 03:40 PM
|
#20
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
Quote:
The only valid suggestion, even if it's not wanted, I can give is use the CUPS intranet configuration, or, if your network printer is an HP, is to use the hplip driver and utility pack.
|
I am not interested in configuring the printer. I can do that manually. I already have. I ONLY want to know why system-config-printer does not work in Slackware.
I tested. Same results. I restarted CUPs but did not test with a full reboot.
Edit: A full reboot made no difference. Looks like there are more elements to this.
Last edited by Woodsman; 06-30-2014 at 03:54 PM.
|
|
|
07-01-2014, 03:14 AM
|
#21
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
|
Quote:
Originally Posted by Woodsman
I am not interested in configuring the printer. I can do that manually. I already have. I ONLY want to know why system-config-printer does not work in Slackware.
I tested. Same results. I restarted CUPs but did not test with a full reboot.
Edit: A full reboot made no difference. Looks like there are more elements to this.
|
It could be an unresolved dependency or co-dependency somewhere back in the chain. That's all I can think of. Because system-config-printer is mostly a GNOME package, it may have some unresolved dependency in GNOME libraries that Slackware doesn't or can't cover by design.
|
|
|
07-01-2014, 10:16 AM
|
#22
|
LQ Newbie
Registered: Feb 2013
Distribution: Fedora
Posts: 29
Rep:
|
I use a simple iptables setup on my Slackware machine. In doing so, I have to shut it off to have system-config-printer see my printer on the network. Once I do that, it sees it, I configure it, and then I turn the firewall back on (this is all on my personal laptop in my home so I am not bothered by the step). I know when I do the same thing in Fedora it prompts me asking me if I am OK with the firewall rules be adjusted to be able to configure the printers. I assume it is opening up some communication that would normally be blocked.
I just never bothered looking into what was exactly being blocked or opened to say for certain. Sorry.
|
|
|
07-01-2014, 12:30 PM
|
#23
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
Quote:
It could be an unresolved dependency or co-dependency somewhere back in the chain.
|
Likely the case --- the other distros are GTK-centric.
Quote:
I have to shut it off to have system-config-printer see my printer on the network.
|
I allow all traffic on the local subnet, which includes the printer. Nonetheless, I tested disabling the iptables firewall and system-config-printer still did not discover the printer.
|
|
|
07-01-2014, 12:47 PM
|
#24
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
|
Question, but do you have any other printers you can test it against, as well as any other desktop environments?
Since it too is GTK based, does Xfce's configuration tools detect it?
|
|
|
07-01-2014, 01:17 PM
|
#25
|
Member
Registered: Jun 2009
Distribution: Slackware
Posts: 190
Rep:
|
Quote:
Originally Posted by Woodsman
I am unable to see my network printer with the system-config-printer applet.
...
Any ideas?
|
$ system-config-printer --debug
|
|
|
07-01-2014, 01:37 PM
|
#26
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
No other printers to test.
I do not see anything specific in Xfce to test the printer.
The avahi browser sees the printer. I again tested the cups web interface and now I notice the printer is not listed in "Discovered Network Printers" section. I temporarily renamed /etc/cups, reinstalled the cups package, and restarted the service. The cups web interface still did not list the printer, nor did system-config-printer. The avahi browser still finds the printer and with a new /etc/cups that means the avahi browser is not merely sniffing config files but actually discovering.
I might create a fresh stock Slackware VM and see what happens.
|
|
|
07-01-2014, 02:19 PM
|
#27
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
Quote:
system-config-printer --debug
|
Only thing that popped out at me was a dbus message about not finding some CupsPkHelper file. I again installed the cups-pk-helper package and searched and found the missing files. I started system-config-printer, the dbus message did not appear, but again did not discover the network printer.
I ran the same command on SolydX and I notice one obvious different output message:
dnssdresolve.DNSSDHostNamesResolver instance
Resolving address for hp LaserJet 4200
I started my Salix VM and ran the same command. I did not see that same output message yet the applet discovers the printer. The cups web interface discovers the printer. Salix does not have avahi and cups-pk-helper installed. So something else is related to the discovery.
I think I will create a temporary stock Slackware VM and see what happens.
BTW, I don't think system-config-printer is a Red Hat app. Looks like the app is OpenSuse or at least originated with OpenSuse.
|
|
|
07-01-2014, 02:53 PM
|
#28
|
Senior Member
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,614
|
|
|
|
07-05-2014, 01:02 AM
|
#29
|
Member
Registered: Jun 2008
Distribution: Slackware
Posts: 102
Rep:
|
Works for me
I'm running Slackware64 14.1.
I added AlienBOB's KDE 4.13.2 packages. Other than that, and grabbing avahi from Slackbuilds.org, this is a clean install.
Printer is an HP Color LaserJet 2600n.
system-config-printer discovers my printer. Successful in both KDE and XFCE.
Edit: I'll add that this also works in Debian Wheezy and Linux Mint 17.
Last edited by Cheesesteak; 07-05-2014 at 01:04 AM.
|
|
|
08-01-2014, 11:51 PM
|
#30
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,899
|
Quote:
Ah, ok. I assigned a static IP to my printer too. As I mentioned previously, the applet finds the printer right away when I manually type the IP address. Just not automatically like in the other distros.
|
Anything different in your /etc/cups/cupsd.conf?
Mine for reference:
Code:
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseLocalProtocols CUPS
I wonder if a tcpdump might reveal the 'discovery' issue at play here.
|
|
|
All times are GMT -5. The time now is 12:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|