Does /snap/evince/current/usr/libexec/evinced actually work or exit with error? And if so, is the evince demon accessible via DBUS? You can check using d-feet.
Bye, Tassilo 30.08.2023 16:46:15 Uwe Brauer <[email protected]>: >>>> "TH" == Tassilo Horn <[email protected]> writes: > >> Uwe Brauer <[email protected]> writes: >>> Any ideas? > >> Not really, I cannot follow what you are doing. In theory, you should >> only have to change who provides the evince demon service, most probably >> by enabling/disabling the systemd services you already found, i.e., >> disable the old and enable the new. You don't need to mess with AUCTeX >> settings. > > Sorry for having explained this badly. I do not mess with Auctex > setting. I only set the viewer to evince. > > > Then > > 1. Scenario 1: > C-c C-c View > shows TeX-evince-sync-view > and that > indeed starts the old evince, using forward search, ie the page > displayed correspdonds to the cursor in the latex file. > > 2. Scenario 2: I replace > > ,---- > | [D-BUS Service] > | Name=org.gnome.evince.Daemon > | Exec=/usr/lib/evince/evinced > | SystemdService=evince.service > `---- > > > By > ,---- > | [D-BUS Service] > | Name=org.gnome.evince.Daemon > | Exec=/snap/evince/current/usr/libexec/evinced > | SystemdService=evince.service > `---- > > > I restart my system (that seems necessary for SystemdService. > > I start emacs and again use C-c C-c View, but now the minibuffer shows > me: > > > evince -i 1 > build/Rodnianski_Speck_Stability_of_Irrotational_Euler-Einstein.pdf > > And I am very very puzzled. > > The explanation is that the replaced file is not correct but why on > earth uses emacs (auctex) now the > > -i 1 > > Option? > > Uwe > > > > > >
