I'm using Debian GNU/Linux 7.8 and would like to have PDFXCview.exe as the standard application to open pdfs. Opening a pdf using a small executable file including

wine /foldername/PDFXCview.exe $1

works fine. However, I would like to set up "Open with.." properly so that whenever I double-click on a pdf it opens with PDFXCview. Passing this executable seems not to work. How to solve this?


Changing the script to


PARAM=`winepath -w "$*"`
exit 0

and adding the program in the "Open with other application-->Use a custom program:" menu, solves the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.