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.
I had packages firefox, google and a few others such as cssed installed,hplip, and printer H.P working after running hp-setup .
I then ran slackpkg upgrade-all.
Google web browser working and just about everything else.However
firefox web browser icon disappeared from menu, printer now doesn't work..
"firefox" typed at cli gives "couldn't load XRE function" and hp-setup command gives "unable to load qt4 support". I suspect it may have been the affect of google in the update. tried doing a build of qt4 from slackbuilds and it failed.
Since most of my box is working, i can get by and don;'t want to do a fresh install. lets take it as a learning curve.
It looks like libraries have been displaced.var/log/removed scripts show a lot of changes where do I start?
I guess the critical thing to fix is my printer.went to hp dot com, there doesn't seem to be a hplip for slackware. the one I had was from a configure, make,make install of hplip-3.9.10-i486-1
My guess is you ran into those problems because mixing Slackware packages and manually installed applications.
I suppose that you are using Slackware 13.37.
There *is* a Slackware package for hplip: hplip-3.11.3a-i486-1, available in the ap/ series of packages.
If you did a full install (which is recommended) it should be already installed.
Firefox is included as well (last version is mozilla-firefox-12.0-i486-1_slack13.37 in patches/).
Google Chrome is not, but you can make yourself a package with a Slakbuild you will find @ slackbuilds.org (it is called chromium).
Rule of thumb:
- never install manually (ie, configure, make, make install) an application
- preferably, use a Slackware package
- if none is available, either install one from a trusted repository, as Robby Workman's or Alien Bob's repository, or make yourself a package with a Slackbuild found @ slackbuilds.org
- last resort, learn to make yourself a Slackware package that you will be able to manage using the standard Slackware tools (installpkg, upgradepkg, removepkg).
Remember that slackpkg is intended to work with official Slackware packages only.
To ease building and installing packages from slackbuild.org repository, you may give a try to the unofficial, but often useful sbopkg tool as well, available @ sbopkg.org. Read the manual carefully first.
I suggest you first "make uninstall" your manually installed hplip then "slackpkg reinstall hplip" ; or "slackpkg remove hplip" followed by "slackpkg install hplip".
EDIT In some cases, you could want to try a newer version of on application than the one included in Slackware.
Then you can try to run the Slackbuild provided with Slackware against a newer source tarball than the one provided.
YMMV though, IOW there is no guarantee that this will work: there can have been be changes in the libraries required as well as in the Configure options.
Last edited by Didier Spaier; 05-14-2012 at 04:34 AM.
I didn’t know you could actually do a “ make uninstall” anyway did this and got rid of old hplip
then I decided to get rid of google chrome from my system
( google-chrome-16.0.912.77-i386-1.txz )
then I tried “slackpkg upgrade-all” again firefox came back to life and worked, also thunderbird which was also down following previous.
This goes to show that google-chrome can become uncomptatable with slackware 13.37 and other packages ,following certain operations like upgrade-all.
Basically the only problem I know have now is getting hplip to work, after installing
hplip-3.11.3a-i486-1.txz , # hp-setup gives output ..no qt4 support. can’t even see qt4 in log ,packages so downloading from connie -alien
As TobiSGD said, qt4 should be installed if you made a full install.
If not you'll find qt-4.7.0_7abde40-i486-3.txz in the l/ series of packages.
And you don't really need to use hp-setup, you can open firefox, go to localhost:631 and set up your printer, provided cups be launched (make sure /etc/rc.d/rc.cups be executable, then type as root /etc/rc.d/rc.cups restart).
Ok Yep I did a full install of slackware 13.37 then did a couple of builds including tomcat, and google-chrome, libreoffice-3.4.0-i486-1alien.txz Both firefox and chrome browser app worked
also used scr2pkg for cssed since its a nice css editor.
I bought a HP Deskjet 1050a and had this WAS working for several weeks. Yes I used http://localhost:631 a few times to cancel print jobs etc
The problem started when I used “slackpkg search” for something I don’t even remember now; then I noticed “slackpkg upgrade -all” in slackpkg menu and thought it a positive move/ curiosity to try it . That’s when I lost thunderbird, firefox and printer stopped working properly.
Removing google-chrome and repeating upgrade-all brought back to life firefox, and thunder bird
I just installed hplip-3.11.3a-i486-1.txz and qt4-4.4.1-i486-1alien.tgz , on the http://localhost:631
page there is a link for drivers, clicking on it gives a list of 1249 printer drivers ,but I noticed dates are from 2005. I guess something is out of date ? Looking at Didier post it looks like maybe qt4 is out of date
When I open a doc file, with libreoffice, and click print,the printer responds but churns out a blank page
1) You don't need qt4-4.4.1-i486-1alien.tgz. Please uninstall it.
TobiSGD and I already told you that qt-4.7.0_7abde40-i486-3.txz is part of Slackware. Please (re)install it.
I just checked again that hp-toolbox (run as a regular user) launches fine, provided that qt-4.7.0_7abde40-i486-3.txz be installed
So I suggest you try again hp-toolbox
2) Anyhow qt is not necessary at all to run cups through the net interface (http://localhost:631).
3) Here with hplip-3.11.3a-i486-1.txz installed, in http://localhost:631 I am presented (among many others) with HP Deskjet 1050 j410 Series. You could try that one, if you prefer not to use hp-toolbox.
PS If really you did a full install, qt-4.7.0_7abde40-i486-3.txz should be installed. You can have a look at /var/log/packages to check.
Last edited by Didier Spaier; 05-17-2012 at 02:05 AM.
Reason: wrong printer model, sorry
ok done new full install..printer working ..thanks for above..can see what you mean ,I don't need any other HPLIP package hplip-3.11.3a-i486-1 is already there and can be seen in /var/log/packages
just one last question to clear up if you would
I know there is a daemon /etc/rc.d/rc.cups which starts at boot or can be launched by
etc/rc.d/rc.cups start and as far as i understand it the printer can be controlled via at gui
web page at http://localhost:631
now then from the menu system>printing a smal gui comes up including a tab server>connect
there is a choice on mine /var/run/cups/cups.sock or localhost -whats the difference
I thought http://localhost:631 is THE local host. My question is is the system allowing me to connect to my printer via two sockets and two daemons
If I understand well a cups client can thus access the server either through an internet connection (e.g. firefox) or through a unix socket (e.g. the "lp" and "lpd" commands) for more flexibility. But AFAIK there is only one daemon running as "ps -AF|grep cups" will show you.
To know more : "man cupsd" and related man pages.
PS The GUI you speak about should be DE specific. Which one do you use ? (KDE, XFCE,...)
Last edited by Didier Spaier; 05-21-2012 at 06:17 AM.
LogLevel warn
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Found another printer related issue
i'm using xfce and XSane is in sub menu of graphics
As normal logged in user using xfce menu, Xsane gives scanning for devices ..none found
However from konsole
# xsane launches gui no problem
My user name is andrew, in /etc/group there was an entry for scanner which was:
scanner:x:93:
tried usermod -a -G scanner andrew
and entry then became:
scanner:x:93:andrew
however xsane will still not launch from xfce as normal user
did more reading and permission of device file mentioned and something about
/etc/rc.d/rc.udev force-restart to update.
i don't know the device file to change permission off?
Last edited by captain_sensible; 05-22-2012 at 07:27 AM.
Reason: to make post clearer
i don't know the device file to change permission off?
Assuming that it is a usb-attached printer/scanner, the "lsusb" command should show the bus and device. Say it is device 2 on bus 2, then "ls -l /dev/usbdev2.2" should show you ownership and permission information. This gets set by udev based on the information in the file /lib/udev/rules.d/80-libsane.rules, so any manual change to permissions would get reset every time the device is reconnected or switched off and on (or after a reboot). If your scanner is not there, you can add it using the vendorid and productid displayed by lsusb.
BCarey thanks worked great.. i was about to post that my scanner ,and printer are one and the same i.e the same all in one unit. Also that printing from this all-in-one usb coonected unit say from libreoffice3 is no problem,so why should scanning be an issue.
Anyway followed your suggestion.
lsusb gave :
Bus 001 Device 002: ID 03f0:8911 Hewlett-Packard
Bus 003 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
I opened up the rules using
vim /lib/udev/rules.d/80-libsane.rules
and added an entry basically copying format of other rules but adding 03f0:8911 thus:
#I put in next few lines for deskjet 1050a
ATTRS{idVendor}=="03f0",ATTRS{idProduct}=="8911"MODE="0664",GROUP="scanner",ENV{libsane_matched}="ye s"
shutdown and restarted, xsane now works from xfce menu logged in as normal user!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.