After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772237 - Add the choice of external viewer for synctex navigation
Add the choice of external viewer for synctex navigation
Status: RESOLVED WONTFIX
Product: gnome-latex
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: unspecified
Assigned To: LaTeXila maintainer(s)
LaTeXila maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-09-30 09:43 UTC by Kevin NADAUD
Modified: 2016-09-30 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin NADAUD 2016-09-30 09:43:24 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
Comment 1 Sébastien Wilmet 2016-09-30 10:07:34 UTC
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.
Comment 2 Kevin NADAUD 2016-09-30 11:11:54 UTC
Thanks for the fast answer.
If I understand well, this problem does not depend on Latexila but on D-bus and xreader ?
Comment 3 Sébastien Wilmet 2016-09-30 11:33:06 UTC
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).