Xsane as Gimp plugin

If xsane is started as Gimp plugin, the scanned image automatically is transfered to the Gimp.
 
 

 

 
 
To start xsane as a gimp plugin, you have to set a symbolic link from the xsane binary to a Gimp plug-ins directory. If xsane is located in /usr/local/bin do:
ln -s /usr/local/bin/xsane ~/.gimp/plug-ins/
You can start xsane from the Gimp via the menu Xtns/Xsane. It contains short-cuts to the SANE devices that were available at the time xsane was queried.
Note that gimp(1) caches these short-cuts in ~/.gimp/pluginrc. Thus, when the list of  available devices changes (e.g., a new scanner is installed or the device of the scanner has changed),  then it is typically desirable to rebuild this cache. To do this, you can either  touch(1) the xsane binary (e.g.,"touch  /usr/local/bin/xsane") or delete the plugin cache (e.g.,  "rm  ~/.gimp/pluginrc"). Either way, invoking gimp(1) afterwards will cause the pluginrc to be rebuilt.
 

INDEX