Introduction to XSane

XSane is another front end for SANE-1.0.18. It has additional features to improve the image quality and ease of use compared to xscanimage.

Package Information

XSane Dependencies


GTK+-2.10.13 or GTK+-1.2.10 and SANE-1.0.18 (back ends)


LibTIFF-3.8.2, libjpeg-6b, little cms-1.16, and GIMP-2.2.17

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xsane

Installation of XSane

Install XSane by running the following commands:

./configure --prefix=/usr &&

This package does not come with a test suite.

Now, as the root user:

make xsanedocdir=/usr/share/doc/xsane-0.994 install &&
ln -v -s ../../doc/xsane-0.994 \

If GIMP is installed, issue the following command as the root user:

ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/

Command Explanations

ln -v -s ../../doc/xsane-0.994 /usr/share/sane/xsane/doc: This symlink is created to ensure that any program that looks for the XSane documentation in the default location will find it, as the documentation is installed in an alternate location specified in the make install command.

ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/: This creates a link in the system-wide GIMP plug-ins directory so that users can access XSane directly from GIMP. GIMP must be available before building XSane for this to work. Alternatively, create the link in ~/.gimp-2.0/plug-ins/ to provide individual user access. man xsane for additional information.


Installed Program: xsane
Installed Libraries: None
Installed Directory: /usr/share/doc/xsane-0.994 and /usr/share/sane/xsane

Short Descriptions


is a graphical user-interface to control an image acquisition device such as a flatbed scanner.

Last updated on 2007-07-27 13:15:57 -0500