Run Linux Program Out of Wine (PDF Viewer)

Questions about Wine on Linux
Locked
Chemo
Newbie
Newbie
Posts: 1
Joined: Sat Nov 27, 2021 4:09 pm

Run Linux Program Out of Wine (PDF Viewer)

Post by Chemo »

Hi!

I have a windows program running in Wine that is able to 'show' certain PDFs by starting any PDF Reader, jumping to a specific Page and so on.
However, the windows program of course expects a path to a .exe-File when configuring a PDF reader. I'd don't want to install an additional Adobe Reader etc. in Wine but rather like to launch the regular Ubuntu PDF reader instead. Is there any way to 'simulate' an Ubuntu application into Wine?
Like creating some fake .exe- or .bat-File that forwards to a Linux program? Or using Winetricks etc.?
Or is this futile anyhow because the PDF file path parameter wouldn't make any sense for the Ubuntu program?

Thank you.
Chemo
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Run Linux Program Out of Wine (PDF Viewer)

Post by jkfloris »

madewokherd
Level 4
Level 4
Posts: 143
Joined: Mon Jun 02, 2008 5:03 pm

Re: Run Linux Program Out of Wine (PDF Viewer)

Post by madewokherd »

You can use winebrowser.exe for this. It'll open files with whatever program your desktop environment is configured to use.
Locked