Page 1 of 1

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

Posted: Sun Feb 01, 2015 8:52 am
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,

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

Posted: Thu Feb 05, 2015 8:47 am
by xnview
strange, %U is for list of urls, %F for list of files