LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-18-2002, 11:06 PM   #46
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

Ok, just delete ~/.gimp-1.2/pluginrc and restart gimp.
 
Old 12-18-2002, 11:57 PM   #47
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
That looked promising, but the end result is the same - File - aquire - Screen Shot is the only choice.
 
Old 12-19-2002, 02:42 AM   #48
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Hmmmm...what version of the gimp is it?
 
Old 12-19-2002, 02:57 AM   #49
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
gimp-1.2.3-17mdk.i586.rpm - off the Mandrake 9 CD-1
 
Old 12-19-2002, 06:38 AM   #50
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Ah well, try installing the xsane-gimp rpm with the force option, nothing else seems to be working.
 
Old 12-19-2002, 04:39 PM   #51
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
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?
 
Old 12-19-2002, 05:58 PM   #52
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
......ummm......yes, it's worth a try, none of the normal ways of doing it seem to work.
 
Old 12-19-2002, 07:43 PM   #53
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
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.
 
Old 12-20-2002, 10:00 AM   #54
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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.
 
Old 12-20-2002, 05:35 PM   #55
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
Hi Aussie

The two answers to your question:

ls ~/.gimp/plug-ins/xsane

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).
 
Old 12-20-2002, 05:43 PM   #56
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
PS : I ommitted the "-al" only in the text above ....
 
Old 12-20-2002, 05:56 PM   #57
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Start xsane as a stand alone program first and see what happens.
 
Old 12-20-2002, 07:11 PM   #58
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
Hi Aussie

xsane stand-alone starts up and works ok.

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).
 
Old 12-21-2002, 12:04 PM   #59
bob49
LQ Newbie
 
Registered: Dec 2002
Location: Swindon UK
Distribution: FC2, Slackware 8.1 and 10
Posts: 29

Rep: Reputation: 15
Hi,

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.

Hope this helps.

Bob
 
Old 12-21-2002, 04:15 PM   #60
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
Hi Bob

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!
 
  


Reply



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
SANE to INSANE mikeghet Linux - Newbie 2 06-16-2005 11:11 PM
Please help going insane here mdk3 Linux - Software 1 03-05-2005 07:57 PM
Insane websites carrja99 General 27 05-06-2003 03:16 PM
am i insane? wlfdgcrkz Linux - Newbie 2 04-23-2003 02:33 PM
to..many....going..insane Denton Linux - Distributions 24 05-07-2002 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 AM.

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