1-) open from the file manager (nautilus in Ubuntu, or else) a jpg file via the script xnviewmp.sh bellow (right mouse click\Open With...\xnviewmp.sh:
Code: Select all
#!/bin/sh folder=`dirname $0` LD_LIBRARY_PATH=$folder export LD_LIBRARY_PATH QT_PLUGIN_PATH=$folder export QT_PLUGIN_PATH $folder/xnview "$@"
... then, in this case, I can not view any thumbnails
(FI:the xnview data base cache option (xnview.db) is in a custom directory)
(I can see the thumbnails if I first start XnViewMP in the "normal" way - )
It would be also interesting to have a command line option (like into xnview v1.9x) to read a custom xnview.ini file.
$folder/xnview $folder/xnview-custom.ini "$@"
(And maybe a command line option to be able to start xnview with a predefined window size - (fit image to window) like: $folder/xnview $folder/xnview.ini-800x600.ini "$@" )