Page 1 of 1

opening from FileMgr in ViewerMode

Posted: Wed Nov 11, 2009 8:31 am
by hugofant
Hello again,
tried to open a file directly from filemanger (on doubleclick) as described in this thread:http://newsgroup.xnview.com/viewtopic.php?f=60&t=18770, and it works in principal.
But XnViewMP always starts in BrowserMode - I would prefer in Viewer- or FullScreenMode.
Is this possible and if yes, i would be thankful for a hint.
I'm using the Unixversion, Version 0.21 and Karmic with XFCE.

thanks in advance
Roman

Re: opening from FileMgr in ViewerMode

Posted: Tue Nov 24, 2009 11:53 am
by hugofant
hmm, is the question to stupid or is it simply not possible?

thanks a lot
Roman

Re: opening from FileMgr in ViewerMode

Posted: Tue Nov 24, 2009 12:52 pm
by marsh
This is the script I was using last to open/associate with.
In Thunar file-manager, it should show the following properties:
[x]Allow this file to run as a program

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 "$@"