Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 removed gimp and associated, re-installed gimp-1.2.3-17mdk.i586.rpm, but the scanner option under File/Aquire is still missing. Does this suggest that the "gimp-xsane" needs to be installed after all?
I installed xsane-gimp-0.89-1mdk.i586.rpm (ignoring need for dependancies libsane.so.1 and sane-backends), but this had no apparent effect. As an experiment, I renamed the "xsane" in /.gimp/plug-ins", and this caused gimp boot to hang - suggesting that it was looking for the xsane plug-in. Restoring the name, gimp booted normally.
I just about out of ideas here.....but I have one left :-)
Do "ls -al ~/.gimp/plug-ins/xsane" and see if the link matches the location of the xsane binary.
ls : /home/john/.gimp/plug-ins/xsane : No such file or directory
ls ~/.gimp-1.2/plug-ins/xsane
lrwxrwxrwx 1 john john 20Dec 19 19:19 /home/john/.gimp-1.2/plug-ins/xsane -> /usr/local/bin/xsane*
Separately, I renamed ~/.gimp-1.2/plug-ins/xsane to ~/.gimp/plug-ins/xxxsane.
Staring gimp using a terminal, File/Aquire/ now has three options:
Screen Shot, XSane: device dialog, Xsane: plustek: 'dev'usb'scanner0.
When gimp is started (user mode), the terminal reports:
"/home/john/.gimp-1.2/plug-ins/xxxsane: GIMP support missing
LibGimp-WARNING ** gimp: wire-read: unexpected EOF
Starting gimp as su, gimp started normally (no erreors reported). The Aquire three options are present. When I click on the "XSane: plustek: 'dev'usb'csanner0" button, the terminal reports:
[xsane] ERROR: eula text not found. Looks like xsane not installed correct.
I then deleted ~/.gimp-1.2/pluginrc. This had no apparent effect - it did not bring up the first time configuration panel ( which was the case on an earlier occasion).
if I then start gimp, the Aquire xsane button is not there (if xsane is in ~/.gimp/plug-ins). If xsane is not in ~/.gimp/plug-ins the Aquire/Xsane button is there but does nothing.
The most promising setup is when I start gimp without xsane in ~/.gimp/plug-ins/ (ie the Aquire/XSane button is there but does nothing).
I've been following this thread for a couple of days, trying to install a Canon N670U scanner and thanks to you guys have finally made it.
The route I took was to remove sane 1.08 using the Mandrake package manager and then installed version sane 1.09 with 0.45 plustek backend.
Because this installation put the libsane into a different place a soft link was required. I found the first and second paragraphs of this very useful:
Editing the /etc/rc.d/init.local script and the plustek.conf file was the next stage. To get xsane working I had to remove xsane 0.87 and install version 0.9.
This got me to the stage where Johng seems to be now - Xsane worked but there was no plug-in to the Gimp. To make the link I used the command from one of Aussie's earlier posts :
ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/
and there it is in the Acquire menu - scan via Xsane or talk to the scanner direct. Note that you have to be user not su or root for the 'ln -s ...' command to work.
With xsane deleted from my ~/.gimp/plug-ins/ I can see the XSane option in Gimp File/Aquire. If I run "ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/" as user, it put "xsane" in ~/.gimp-1.2/plug-ins/ and from then on I cannot see the XSane option!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.