Page 1 of 1

xnviewmp: file not found

Posted: Wed Aug 07, 2013 12:08 am
by Ammammata
I'm using Lubuntu 12.04 LTS 64-bit and xnviewmp 0.61 64-bit as well

When I right click on a image file and select xnviewmp to open it I get the a.m. error message ("file not found")
But if I start xnviewmp, browse to the folder and selet the image, it's properly shown in the program
Last, if I set xnviewmp as default viewer and doubleclick the image file I get always the same error message :(

Tested on two different computer with same o.s.

What can I do?


p.s.
how can I make a search in the forun for the word "not"?
if I write "file not found" it searches for "+file -found" :shock:

Re: xnviewmp: file not found

Posted: Wed Aug 07, 2013 12:15 am
by Ammammata
adding a note:
I'm using the italian version that says "File non trovato", "File not found" in english
The error message could be also "No such file"

Re: xnviewmp: file not found

Posted: Wed Aug 07, 2013 12:07 pm
by xnview
and if you start xnviewmp with an argument from console, it works?

Re: xnviewmp: file not found

Posted: Wed Aug 07, 2013 6:01 pm
by Drahken
Ammammata wrote:
p.s.
how can I make a search in the forun for the word "not"?
if I write "file not found" it searches for "+file -found" :shock:
Put a plus in front of not. file +not found That tells the forum that "not" is being used as a search term.

Re: xnviewmp: file not found

Posted: Wed May 14, 2014 5:51 pm
by gmh2000
xnview wrote:and if you start xnviewmp with an argument from console, it works?
I'm on lubuntu-14.04-desktop-amd64. I got the same error.

However, if I run from the console:

xnview /home/ch/Desktop/照片/IMG_20140503_162629.jpg
(or)
xnview IMG_20140503_162629.jpg

It DOES works.

How to fix it to open it by default with double click (or right click + XnView Multi Platform)? The file browser is: PCManFM 1.2.0

Re: xnviewmp: file not found

Posted: Thu May 15, 2014 11:36 am
by gmh2000
I have solved the problem doing the following:

edit (with "sudo") the following file:
/usr/share/applications/XnView.desktop

Change:

Code: Select all

Exec=xnview %U
By:

Code: Select all

Exec=xnview %f
This solution is based on: https://bugs.debian.org/cgi-bin/bugrepo ... bug=737704
In that case the same problem was with xarchive and PCManFM. Therefore, it seems a bug of PCManFM.