XnView MP on Linux: "Open with ..." feature

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Cons1mgr
Posts: 6
Joined: Mon Feb 17, 2025 10:22 am

XnView MP on Linux: "Open with ..." feature

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

Re: XnView MP on Linux: "Open with ..." feature

Post 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'?
Pierre.
Cons1mgr
Posts: 6
Joined: Mon Feb 17, 2025 10:22 am

Re: XnView MP on Linux: "Open with ..." feature

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

Re: XnView MP on Linux: "Open with ..." feature

Post by xnview »

you can add argument or use a script
Pierre.
Cons1mgr
Posts: 6
Joined: Mon Feb 17, 2025 10:22 am

Re: XnView MP on Linux: "Open with ..." feature

Post by Cons1mgr »

@Pierrre:

?? Would You pls share an example e.g. based on irfan metioned in the OP?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP on Linux: "Open with ..." feature

Post by xnview »

something like that
app: wine
arguments: 'path/app' %1
Pierre.
Cons1mgr
Posts: 6
Joined: Mon Feb 17, 2025 10:22 am

Re: XnView MP on Linux: "Open with ..." feature

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

Re: XnView MP on Linux: "Open with ..." feature

Post by xnview »

Z: comes from where? XnView doesnt use that on linux, i've tested and it works correctly with any apps
Pierre.
Cons1mgr
Posts: 6
Joined: Mon Feb 17, 2025 10:22 am

Re: XnView MP on Linux: "Open with ..." feature

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