Sending an image from XnView MP (Linux) to a programme running in WINE

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

Moderators: XnTriq, helmut, xnview

Post Reply
pseudopanax
Posts: 15
Joined: Sat Nov 25, 2017 2:02 pm

Sending an image from XnView MP (Linux) to a programme running in WINE

Post by pseudopanax »

On my Ubuntu 18.04 installation, I can successfully send images from Rawtherapee to a WINE application (e.g. Nik collection) using the following command syntax in Rawtherapee's External Editor/Custom Command Line: "/usr/share/playonlinux/playonlinux --run "Viveza 2" %F"
I have tried to use the same command (with and without quotes) in XnView MP's Tools>Open With menu without success. Has anyone else tried this at all?
User avatar
xnview
Author of XnView
Posts: 43595
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by xnview »

and with

Code: Select all

/usr/share/playonlinux/playonlinux --run "Viveza 2"
Pierre.
pseudopanax
Posts: 15
Joined: Sat Nov 25, 2017 2:02 pm

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by pseudopanax »

Thanks for the reply. I did try that and I also tried exec=/usr/share/playonlinux/playonlinux --run "Viveza 2" Neither work unfortunately.
Wayne
User avatar
xnview
Author of XnView
Posts: 43595
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by xnview »

if you start XnViewMP from a terminla, do you have a message when you use 'open with'?
Pierre.
pseudopanax
Posts: 15
Joined: Sat Nov 25, 2017 2:02 pm

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by pseudopanax »

yes, the following:

Edit: I've replaced my user name with USER for this post

Script started, file is /home/USER/Pictures/TiFF/2018-11-13_IMG.JPG
USER@USER-OptiPlex-3020:~$

############################################ onTimerDirectoryChanged 1

######## checkChildren


############################################ onTimerDirectoryChanged ok

Edit: dragging and dropping from XnView onto the desktop icons for the WINE apps works fine
User avatar
xnview
Author of XnView
Posts: 43595
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by xnview »

with non Wine app, no problem?
Pierre.
pseudopanax
Posts: 15
Joined: Sat Nov 25, 2017 2:02 pm

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by pseudopanax »

no problem with native linux apps.

Wayne
pseudopanax
Posts: 15
Joined: Sat Nov 25, 2017 2:02 pm

Re: Sending an image from XnView MP (Linux) to a programme running in WINE

Post by pseudopanax »

changing the command to: playonlinux --run "Viveza 2" %f
opens the app OK, but not the file. I tried changing the argument to tell the WINE app to look in the Z drive for the file but without success. It's not a big issue though because as I mentioned below, I can simply copy the file to the desktop from XnView MP and then drag and drop the file onto the appropriate Nik Collection desktop icon.
Post Reply