You are not logged in.
I've been using Zathura in Openbox for some time. My default printer, an HP, was set in CUPS with
lpoptions -d ENVY_5532Also in HP Device Manager with hp-toolbox > Printer Control > Default Printer.
Recently Zathura's Print dialog opens defaulting to Print to LPR instead of ENVY_5532. Following a solution in Solved: Default printer is LPR, I can make Print to LPR dissappear completely with
~/.config/gtk-3.0/settings.ini
------------------------------
[Settings]
gtk-print-backends=file,cups,pdfand then Zathura's Print dialog opens defaulting to ENVY_5532.
However, Page Setup > Paper size defaults to US Letter and not to A4 as defined in CUPS and in hp-printsettings.
So my questions are for Zathura's Print dialog are:
Why does GTK3's settings file influence it?
How can I have Paper size always default to A4?
Offline
$ pactree --sync --depth 2 zathura
zathura
├─girara provides girara>=0.2.7
│ ├─gtk3
│ ├─glib2
│ ├─json-c
│ └─pango
├─sqlite
│ ├─readline
│ └─zlib
├─desktop-file-utils
│ ├─glib2
│ └─glib2 provides libglib-2.0.so=0-64
├─file
│ ├─glibc
│ ├─zlib
│ ├─xz
│ ├─bzip2
│ ├─libseccomp
│ └─libseccomp provides libseccomp.so=2-64
└─libsynctex
├─glibc
└─zlib
$ Looks like zathura has an indirect depedency on gtk 3 , also several of the zathura-* pacakges also have indirect dependencies on gtk3 .
https://man.archlinux.org/listing/community/zathura/ may be helpful .
2. Is libpaper installed and /etc/papersize configured ?
https://man.archlinux.org/man/papersize.5
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Lone_Wolf, pactree sheds light, thanks. Yes, I've already had /etc/papersize (root 644) configured thus:
# Simply write the paper name. See papersize(5) for possible values
a4and changing that to A4 didn't get it seen by Zathura's Print dialog, which is still defaulting to US Letter. I also tried in my ~/.bash_profile
export PAPERSIZE=a4and the capitalised version. Still not being detected by Zathura...
Offline
Offline