Page 1 of 1
XnView MP on Linux: "Open with ..." feature
Posted: Mon Feb 17, 2025 10:38 am
by Cons1mgr
While using XnView MP Version 1.8.6 (64 bit) on Linux Mint 22 Cinnamon I would like to pass pics from XnView to Windows applications that run under wine.
A starter for Windows apps is like (example):
wine '/media/...(any path)..../IrfanView64/i_view64.exe'
Is there a way to configure the "Open with ..." feature of XnView XP in a way to achieve this?
Thanks in advance.
Re: XnView MP on Linux: "Open with ..." feature
Posted: Mon Feb 17, 2025 10:39 am
by xnview
Strange to use XnView to launch i_view
Cons1mgr wrote: Mon Feb 17, 2025 10:38 am
Is there a way to configure the "Open with ..." feature of XnView XP in a way to achieve this?
Do you have tried 'Open with>Configure'?
Re: XnView MP on Linux: "Open with ..." feature
Posted: Mon Feb 17, 2025 10:51 am
by Cons1mgr
Yes, but this only allows to pick an application from the ...\bin directory e.g. "wine" and put e.g. the path into the argument field.
If now "Open with wine" is applied to an image, only the wine internal internet explorer will be opened with no content (only the file name of the selected image appears at the address field of the wine browser).
The same happens if no entry is made to the argument field.
Re: XnView MP on Linux: "Open with ..." feature
Posted: Mon Feb 17, 2025 3:24 pm
by xnview
you can add argument or use a script
Re: XnView MP on Linux: "Open with ..." feature
Posted: Mon Feb 17, 2025 3:49 pm
by Cons1mgr
@Pierrre:
?? Would You pls share an example e.g. based on irfan metioned in the OP?
Re: XnView MP on Linux: "Open with ..." feature
Posted: Wed Feb 19, 2025 6:35 am
by xnview
something like that
app: wine
arguments: 'path/app' %1
Re: XnView MP on Linux: "Open with ..." feature
Posted: Wed Feb 19, 2025 9:00 am
by Cons1mgr
Thanks, but this results into the same: the wine internal web browser will be opened with the following at the address line
file:Z:\home\...(path-to-pic)...\IMG_0630.JPG
Obviously something from the Windows version of XnView has not found its way into the Linux version: e.g. Linux can't handle drive letters like "Z:"
In addition I made a small bash script with the wine command in it and filled that into the "Open with ..." configuration list: again no result.
I've opened a bug report on this issue on
viewtopic.php?f=62&t=48591
Because many users will not upgrade to Windows 11 and go Linux instead, the Linux version of XnView MP will be have more and more users. So the Linux community will appreciate if this might be fixed in one of the next versions of XnView MP. Thanks in advance.
Re: XnView MP on Linux: "Open with ..." feature
Posted: Wed Feb 19, 2025 9:11 am
by xnview
Z: comes from where? XnView doesnt use that on linux, i've tested and it works correctly with any apps
Re: XnView MP on Linux: "Open with ..." feature
Posted: Fri Feb 21, 2025 11:20 am
by Cons1mgr
With
wine /media/...(path).../i_view32.exe %1
put into the configuration list at "Open with ..." it results in starting the wine web browser with
file:Z:\home\bkl\Bilder\IMG_0629.JPG
at the address line (the pic filename and the path displayed are correct). Putting the same wine call into a starter or start it via a command line terminal, it works correct, but not within the "open with ..." configuration list.