Page 1 of 1
XnView MP 0.21 Linux- crash on link start
Posted: Thu Oct 08, 2009 11:15 am
by BariD42
Pierre. First, a massive 'merci' for XnView in general. I use the latest non-MP version as my windows image viewer, and I'll have nothing else. Simply stated, nothing else comes close.
At home, I use Ubuntu GNU/Linux, so I was as happy as a lark when I heard about the MP version in the works. Good luck, and thank you for thinking about the OS minority.
Now that pleasantries are through, I ran into a significant problem with the latest MP 0.21b.
Upon downloading, I unpacked the XnViewMP folder into my home directory, and created a link to run the .sh script from my desktop. Double-clicking the script from within the program folder worked fine. However, trying to run the script from the desktop, my system locked up from all of the RAM being used. I managed to get to my system monitor, and found a LARGE number of xnview instances running. It seems that running from a link causes xnview to respawn over and over, locking up the computer.
System details: HP dv5 laptop running Ubuntu 9.04 Jaunty 64-bit with all updates. I can provide any other package details you may want.
Cheers,
Dave
Re: XnView MP 0.21 Linux- crash on link start
Posted: Thu Oct 08, 2009 11:38 am
by xnview
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: XnView MP 0.21 Linux- crash on link start
Posted: Thu Oct 08, 2009 11:41 pm
by BariD42
Pierre,
Same result. New script runs fine from program folder, crashes on multiple instances when linked from desktop.
Dave.
Re: XnView MP 0.21 Linux- crash on link start
Posted: Fri Oct 09, 2009 5:49 am
by xnview
I've tried on ubuntu, and have not multiple instance
Re: XnView MP 0.21 Linux- crash on link start
Posted: Fri Oct 09, 2009 7:38 pm
by BariD42
Pierre,
What is your process for making a link on the desktop. Perhaps I am doing something wrong.
Dave
Re: XnView MP 0.21 Linux- crash on link start
Posted: Sat Oct 10, 2009 7:43 am
by xnview
BariD42 wrote:
What is your process for making a link on the desktop. Perhaps I am doing something wrong.
I use "create launcher"
Re: XnView MP 0.21 Linux- crash on link start
Posted: Sat Oct 10, 2009 1:28 pm
by BariD42
Pierre,
Aha! I had been making things too difficult. I had been using Nautilus, right-clicking on the script and making a link. Then I moved the link to the desktop. Creating a launcher works just fine.
Perhaps it would be good to figure out why my way blew up?
Thank you very much. Merci beaucoup.
Dave.
Re: XnView MP 0.21 Linux- crash on link start
Posted: Tue Oct 27, 2009 6:43 pm
by marsh
BariD42 wrote:
Perhaps it would be good to figure out why my way blew up?
Your way will work on older version of Xfce desktop. No crashes here with newer version and 32bit OS, but it also needs 'create launcher'.
Re: XnView MP 0.21 Linux- crash on link start
Posted: Fri Nov 27, 2009 1:00 pm
by rra
I am totally new to linux,
just playing with Ubuntu 9.10 for a while.
I managed to install XnView MP 0.21 on the system, and I am able to start Xnview,
but only when directly double clicking xnview.sh from the directory where the program has been installed.
When I "create a launcher" double clicking the desktop-icon gives me the popup to select what to do:
run in teminal, display , cancel or run: when I choose run,nothing seems to happen.
Obviously I am doing something wrong.
Who can give me some advice ?
Rene (don't know where the accent-aigu is at a laptop-keyboard)
Re: XnView MP 0.21 Linux- crash on link start
Posted: Fri Nov 27, 2009 1:27 pm
by marsh
Greetings, I don't have your OS installed, but I noticed this with Debian testing and xfce:
Don't name launcher/desktop item same as the "scriptname.sh" (as it will be rejected by desktop manager).
Perhaps other desktops reject without notice? Just a guess, of course. Hopefully fellow Ub.9.1 users will discover more.
Re: XnView MP 0.21 Linux- crash on link start
Posted: Fri Nov 27, 2009 1:44 pm
by rra
Thanks Marsch, but that doesn't help;
my launcher's content is this:
Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Link
Icon[C]=gnome-panel-launcher
Name[C]=xnv
Exec=/home/ubuntu/XnViewMP/xnview.sh
Name=xnv
Icon=gnome-panel-launcher
when creating the launcher I have chosen the type-option "location" in stead of "application"
Rene
Re: XnView MP 0.21 Linux- crash on link start
Posted: Sun Nov 29, 2009 11:07 pm
by marsh
rra wrote:
when creating the launcher I have chosen the type-option "location" in stead of "application"
Type=Application is needed according to this
reference about ".desktop" files.