LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 03-01-2007, 10:09 AM   #1
senyahnoj
Member
 
Registered: Jul 2004
Location: Gloucestershire, UK
Distribution: Ubuntu, Debian & Gentoo
Posts: 74

Rep: Reputation: 15
gimp and xsane


When I start 'XSane: Device dialog' from gimp it reports it can't find any devices.

From the command line I can get xsane to recognise my scanner by specifying a network device:

Code:
xsane hpaio:/net/Photosmart_3300_series?ip=192.168.0.26
I'm trying to get gimp to do this. Has anyone got any ideas?

Thanks
 
Old 03-02-2007, 03:06 AM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
Doesn't it take a separate plug-in to use xsane under the GIMP?
 
Old 03-02-2007, 03:49 AM   #3
senyahnoj
Member
 
Registered: Jul 2004
Location: Gloucestershire, UK
Distribution: Ubuntu, Debian & Gentoo
Posts: 74

Original Poster
Rep: Reputation: 15
All it seems to use is a symlink:

Code:
lrwxrwxrwx 1 root root 14 Mar  1 15:50 /usr/lib64/gimp/2.0/plug-ins/xsane -> /usr/bin/xsane*
I've tried pointing this symlink at a shell script instead

Code:
#!/bin/sh
/usr/bin/xsane hpaio:/net/Photosmart_3300_series?ip=192.168.0.26
But all this does is load xsane during the gimp startup procedure. I then have to close it in order for gimp to finish loading and then it is lost from gimp's menu options.
 
Old 03-02-2007, 04:42 AM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
That's weird. I just unplugged my scanner but that doesn't seem to prevent the xsane item from being listed (although I do get a "no devices available" message). Does the same happen when you try xscanimage instead?
 
Old 03-02-2007, 07:17 AM   #5
senyahnoj
Member
 
Registered: Jul 2004
Location: Gloucestershire, UK
Distribution: Ubuntu, Debian & Gentoo
Posts: 74

Original Poster
Rep: Reputation: 15
It wouldn't do - the startup program just checks for /usr/lib64/gimp/2.0/plug-ins/xsane. It's only when what it finds isn't what it's expecting that it tries to initialise the scanner.

I could be wrong but I don't think the startup check is the problem. I want to pass the right parameters to xsane when it's up and running.

I haven't got xscanimage.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scanimage sane xsane inetd gimp scanner situation davearnt Linux - Hardware 2 04-15-2006 08:31 PM
printing on HP PhotoSmart from Gimp 2.2, gimp-print drivers needed? pearman Debian 2 08-05-2005 04:19 AM
gimp / gutenprint prob: gimp does not print bitpicker Linux - Software 0 04-08-2005 07:38 AM
gimp (1.3.21) and gimp-perl - need help installing gimp-perl keex Slackware 0 10-22-2003 03:54 PM
Can I load GIMP in english ? (only gimp) Dark Carnival Linux - Software 4 09-17-2003 05:18 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration