[CentOS] Problems getting scanner to work from xsane (from Gnome Menu or GIMP)

Ron Loftin reloftin at twcny.rr.com
Thu Oct 1 22:54:52 UTC 2009


On Thu, 2009-10-01 at 18:41 -0400, Robert Heller wrote:
> At Thu, 01 Oct 2009 17:58:32 -0400 CentOS mailing list <centos at centos.org> wrote:
> 
< trimmed >
> 
> The beast works just fine as both a printer and a scanner (I have not
> tried to send or receive a fax).  xsane, if given the hpaio:<mumble>
> url on the command line, works just fine and scanimage is perfectly
> happy to use the URL defined in the SANE_DEFAULT_DEVICE environment
> variable.  The problem is that the people who will be using it are
> non-techies and want to be able to just click on the Gnome menu (or use
> Gimp's File=>Acquire=>scan menu item).  This is where it does not work.
> Somehow, sane/xscan is not finding the device by scanning for it,
> which seems to be what is needed, since xscan seems to be ignoring
> SANE_DEFAULT_DEVICE, if the device is not found first by scanning for it.
> 
Maybe your issue is that the environment variable is not set when the
Gnome session starts up, so the Gnome menu item doesn't see it.  How are
you specifying the SANE_DEFAULT_DEVICE value?
> 
-- 
Ron Loftin                      reloftin at twcny.rr.com

"God, root, what is difference ?"       Piter from UserFriendly




More information about the CentOS mailing list