views:

92

answers:

2

I have created an application with python and wxpython.

I would like to display a help file in pdf, ps or dvi format in GNU/Linux.

Could use the distribution pdf viewer, but not so easy when you don't know which they have.

Any ideas on how to solve this?

+4  A: 

Invoke xdg-open against the file.

Ignacio Vazquez-Abrams
Thanks, works fine. :)
Orjanp
+1  A: 

Try also evince.

lhf
Yes, but evince might not be installed if the user is running KDE
Orjanp
The original poster did not say anything about KDE or GNOME.
lhf