d87f6c
--- doc/gphelp.in
d87f6c
+++ doc/gphelp.in
d87f6c
@@ -47,8 +47,8 @@
81c23a
 # no expanded material (@key@) below
81c23a
 $wwwsite= "http://pari.math.u-bordeaux.fr/";
81c23a
 
81c23a
-$xdvi = $ENV{GPXDVI} || "xdvi";
81c23a
-$xdviref = $ENV{GPXDVIREF} || "$xdvi -paper 29.7x21cm";
81c23a
+$xdvi = $ENV{GPXDVI} || "xdg-open";
81c23a
+$xdviref = $ENV{GPXDVIREF} || "$xdvi";
81c23a
 $gzip = "gzip";
81c23a
 $zcat = "$gzip -dc";
d87f6c
 $bzip = "bzip2";