GNOME Bugzilla – Bug 772237
Add the choice of external viewer for synctex navigation
Last modified: 2016-09-30 11:33:06 UTC
Hi, Firstly, thank you for this app, I'm using Latexila since several years and I really like it. It is possible to add an option in Latexila to change the viewer used for the synctex navigation ? Or maybe it is not so simple ? I'm using Linux mint 18, and as your know, evince has been replaced by xreader. I know it is possible to install evince and use it but I prefer to use xreader since it is possible to customize the tool bar (as in the old versions of evince...). Regards
Evince provides a D-Bus API for synctex. xreader has probably changed the D-Bus names. Evince is reachable with org.gnome.evince. A better solution would be to have an application-neutral D-Bus API, that an application can implement. I don't know how it would behave if two installed applications implement the same D-Bus API, but I think D-Bus is smart enough to allow that use-case (i.e. launch only one application). Latexila is here just a user of the D-Bus API. The problem should be solved in Evince or xreader. In latexila, I want to use only one D-Bus API for synctex.
Thanks for the fast answer. If I understand well, this problem does not depend on Latexila but on D-bus and xreader ?
Yes, you can file a bug for xreader, maybe they can take the same D-Bus name as Evince, i.e. org.gnome.evince (at least for synctex). D-Bus is designed to support such use-cases: the "user" of the API needs to deal with only one API, and several services/applications can implement the same API (but I don't know how conflicts are resolved, i.e. if both Evince and xreader are installed and implement the same D-Bus API).