If I open a PDF document inside evince (GNOME Document Viewer), how do I get the current page number using DBus?
using zathura I could get the page number using the following command:
busctl get-property --user org.pwmt.zathura.PID-1123767 \
/org/pwmt/zathura \
org.pwmt.zathura pagenumber
(I have used D-Feet to get the bus, object, and interface names).
However, when it comes to Gnome evince, I can't find any API to retrieve the current page number.
Are there any options to achieve that?
P.S: I am using evince 3.36.10
on Ubuntu 20.04