打印机测试中,在执行hp-scan --viewer=<viewer>命令的时候,参数viewer=???我试过了xsane,xpdf,放在参数viewer位置上都是Viewer application not found.然后我就想了个办法:随便在电脑中找一张图片,右键单击,选择open with,就可以看到,打开图片的所有可用方式了。我在自己的电脑中找到了GNU Image Manipulation Program, Iceweasel, Shotwell Photo Viewer, Other Application...
想想这里的哪个都不太认识,就找了个最眼熟的Shotwell吧!刚开始,使用shotwell试一下:$ hp-scan --viewer=shotwell,结果还是Viewer application not found. 然后就用命令#whereis shotwell找到了shotwell的安装路径,/usr/bin/shotwell, 加上路径试试:$ hp-scan --viewer=/usr/bin/shotwell,结果也是Viewer application not found。
最后,我一激动就把系统自带的这个shotwell用下面的语句给卸载了。
#apt-get remove shotwell
重启
重新手动安装shotwell
#apt-get install shotwell
#exit
再用shotwell作参数执行一下刚才的命令
$ hp-scan --viewer=shotwell
这下好了,居然用shotwell可以直接打开扫描好的文件了!
P.S.
经过反复的实验,在Opensuse 12.1下,不需要卸载Shotwell,只要命令敲对了就完全可用的!
hp-scan -v shotwell或者
hp-scan --viewer=shotwell