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, xnview

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

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

Post by pseudopanax » Wed Nov 28, 2018 12:04 pm

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: 30295
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 » Thu Nov 29, 2018 10:37 am

and with

Code: Select all

/usr/share/playonlinux/playonlinux --run "Viveza 2"
Pierre.

pseudopanax
Posts: 12
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 » Thu Nov 29, 2018 11:08 am

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: 30295
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 » Thu Nov 29, 2018 1:02 pm

if you start XnViewMP from a terminla, do you have a message when you use 'open with'?
Pierre.

pseudopanax
Posts: 12
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 » Thu Nov 29, 2018 1:21 pm

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: 30295
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 » Fri Nov 30, 2018 8:52 am

with non Wine app, no problem?
Pierre.

pseudopanax
Posts: 12
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 » Fri Nov 30, 2018 10:59 am

no problem with native linux apps.

Wayne

pseudopanax
Posts: 12
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 » Mon Dec 03, 2018 8:27 pm

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