Hello, friends. Many gtk3 applications (e.g., brave with
--disable-print-preview flag, geany) bring up gtk3's print dialog when user presses Ctrl+p.
The gtk3 print dialog uses
~/Documents/output.pdf as a default output filename across all applications I've tried:
Does anyone whether this default can be changed? I'm specifically trying to change the default directory. I know I can click on the filename and change the directory that way, but doing this repeatedly is tiresome.
I found some promising-sounding variables named
GTK_PRINT_SETTINGS_OUTPUT_FOO and
G_USER_DIRECTORY_DOCUMENTS here but, alas, setting and exporting those variables has no effect.
My hope is that someone knows an easy way to change the default
~/Documents/output.pdf to something else--for example, with an environmental variable or a setting in
~/.config/gtk-3.0/settings.ini. If someone knows for a fact that this default filename is hardwired into gtk3, that would also be helpful to know (so that I stop trying to customize this--recompiling gtk3 for this purpose is not something I want to do).