xnviewmp: file not found

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Ammammata
Posts: 2
Joined: Tue Aug 06, 2013 11:58 pm

xnviewmp: file not found

Post 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:
Ammammata
Posts: 2
Joined: Tue Aug 06, 2013 11:58 pm

Re: xnviewmp: file not found

Post 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"
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: xnviewmp: file not found

Post by xnview »

and if you start xnviewmp with an argument from console, it works?
Pierre.
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Re: xnviewmp: file not found

Post 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.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
gmh2000
Posts: 2
Joined: Wed May 14, 2014 5:38 pm

Re: xnviewmp: file not found

Post 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
gmh2000
Posts: 2
Joined: Wed May 14, 2014 5:38 pm

Re: xnviewmp: file not found

Post 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.