Friday, May 3, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5785  / 3 Years ago, tue, may 25, 2021, 7:11:46

I want to open PDF using PDF-XChange Viewer through WINE. How should I specify the pdf file name in the "custom command" line so that I can open a PDF file using PDF-XChange Viewer by double clicking it? I tried to use the "z:%f" following the suggestion here for using Foxit reader. But my PDF-XChange Viewer only starts with an empty window.



wine "c:/Program Files/Tracker Software/PDF Viewer/PDFXCview.exe" "z:%f"


I use Ubuntu 10.04 and WINE 1.2.2. PDF-XChange Viewer version 2.5.


More From » command-line

 Answers
7

Found blog entries about the same problem for Foxit reader and for PDF-XChange Viewer. None of them worked for me. So I edited them and got one tailored for my case:



#!/bin/bash  
Filename="z:${1////}"
wine "C:Program FilesTracker SoftwarePDF ViewerPDFXCview.exe" $Filename


Save this bash script and open pdf using this script. Now double click pdf files will open them using PDF-XChange Viewer.


[#39224] Wednesday, May 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reangi

Total Points: 213
Total Questions: 102
Total Answers: 114

Location: Namibia
Member since Wed, Jan 19, 2022
2 Years ago
reangi questions
;