![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hello, The default viewer is GhostView. I would like to replace it with Evince. In user mode, I edited the /usr/share/scite/scite-context.properties file to replace the command.2 line. $ (File.patterns.context) = $ (name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $ (File.patterns.context) = $ (name.context.evince) $ (FileDir) / $ (FileName) .pdf It does not work . Thank you. Fabrice
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/20/2018 12:11 AM, Fabrice Couvreur wrote:
Hello, The default viewer is GhostView. I would like to replace it with Evince. In user mode, I edited the /usr/share/scite/scite-context.properties file to replace the command.2 line. $ (File.patterns.context) = $ (name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $ (File.patterns.context) = $ (name.context.evince) $ (FileDir) / $ (FileName) .pdf search for "name.flag.pdfopen"
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hi Hans,
I made the following change but unfortunately without success :
if PLAT_GTK
name.context.console=rxvt
name.context.gsview=gv
name.context.acrobat=acroread
name.flag.pdfopen=--autopdf
name.flag.pdfopen=--autopdf=evince
Fabrice
Le lun. 20 août 2018 à 08:26, Hans Hagen
On 8/20/2018 12:11 AM, Fabrice Couvreur wrote:
Hello, The default viewer is GhostView. I would like to replace it with Evince. In user mode, I edited the /usr/share/scite/scite-context.properties file to replace the command.2 line. $ (File.patterns.context) = $ (name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $ (File.patterns.context) = $ (name.context.evince) $ (FileDir) / $ (FileName) .pdf search for "name.flag.pdfopen"
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/20/2018 11:50 AM, Fabrice Couvreur wrote:
Hi Hans, I made the following change but unfortunately without success :
if PLAT_GTK name.context.console=rxvt name.context.gsview=gv name.context.acrobat=acroread name.flag.pdfopen=--autopdf name.flag.pdfopen=--autopdf=evince because it's not defined in l-pdfview.lua
what happens if you say name.flag.pdfopen=--autopdf=auto ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Fabrice Couvreur
-
Hans Hagen