"File not found" message when open file from file browser

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
azure
Posts: 2
Joined: Fri Jan 16, 2015 6:23 pm

"File not found" message when open file from file browser

Post by azure »

I'm using Ubuntu/Lubuntu, x86_64
When I try to open image with XnViewMP (right click, open with, select XnViewMP from list) xnview shows error message "File not found" and all I can do is to close this error message. XnView does not show any other UI this way. Same if I set XnViewMP as a default application to open .jpg/.png files.

But when I type in console `xnview /path/to/file.jpg` it works as expected.
If I edit `/usr/share/applications/XnView.desktop` and chage

Code: Select all

Exec=xnview %U
to

Code: Select all

Exec=xnview %F
Then everything works as expected.

I guess there was a reason for setting %U parameter in Exec option, but... it just does not work, at least on my PC,
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "File not found" message when open file from file browse

Post by xnview »

strange, %U is for list of urls, %F for list of files
Pierre.
Post Reply