Page 1 of 1

XnviewMP on Ubuntu Karmic

Posted: Thu Oct 08, 2009 5:33 pm
by breakolami
Hello

I try XNviewMP on ubuntu Karmic and it works, ilts a really great software but I don't know how to install it and create a shortcut in menu
I know it's not ./configure make make install
I know it's a QT app but there is no readme or install in directory

Bonjour

J'ai essayé XNviewMP dans ubuntu karmic et c'est vraiment un super logiciel mais je ne sais pas comment l'installer ni créer un raccourci dans le menu
Je sais que ce n'est pas ./configure make make install
Je sais que c'est une application QT mais il n'y a pas de readme ni install dans le dossier

Thanks / Merci

Re: XnviewMP on Ubuntu Karmic

Posted: Thu Oct 08, 2009 9:45 pm
by XnTriq
Hello breakolami,

I'm not a Linux user, but I guess this is the info you're looking for:
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=77915#p77915]XnView MP 0.21 Linux- crash on link start[/url]) wrote:Ok, use this xnview.sh

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname
export QT_PLUGIN_PATH
$dirname/xnview $@

Re: XnviewMP Linux

Posted: Thu Oct 08, 2009 10:10 pm
by oops66
Hello,
Right, I think for the XnViewMP Linux version, the xnview.sh by default should be this one.

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname
export QT_PLUGIN_PATH
$dirname/xnview "$@"

Re: XnviewMP on Ubuntu Karmic

Posted: Fri Oct 30, 2009 5:13 pm
by akahige
You don't need to "install" the app. All you need to do is unzip it and run it from wherever you unzipped it.

To add XnView to the applications menu, you need to use System > Main Menu, then navigate to the menu you want to add to, then create a launcher.

You do need to make one change to xnview.sh (which can be found in the XnViewMP directory) so that it will open from a toolbar icon or shortcut: insert a new second line with this

Code: Select all

cd /path/to/xnview
If you unzipped it in your home directory, that can be abbreviated to

Code: Select all

cd ~/path/to/xnview
Where the "~/" takes the place of "/home/username".

Re: XnviewMP on Ubuntu Karmic

Posted: Mon Jul 04, 2016 6:32 am
by alstonamos
You do need to make one change to xnview.sh (which can be found in the XnViewMP directory) so that it will open from a toolbar icon or shortcut: insert a new second line with this???