$OpenBSD: README-main,v 1.7 2020/11/11 11:49:55 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running gtk+3 on OpenBSD
+-----------------------------------------------------------------------

Themes
======

Default
-------
The default GTK+ theme engine can be modified by editing:
    ~/.config/gtk-3.0/settings.ini
and appending a line similar to:
gtk-theme-name = oxygen-gtk

Extras
------
Some themes are available as packages ("gtk3-*-engine").

Sound
-----
GTK+ itself does not support event sounds, you have to use a loadable module
like the one that comes with libcanberra which is loaded automatically when a
GTK+ application is launched.
You may want to install the "libcanberra-gtk3" package if you require these.

Printing
========

Preview
-------
By default, GTK+ uses the "evince-previewer" command from the evince package to
display a "Print Preview". This can be modified by editing:
    ~/.config/gtk-3.0/settings.ini
and appending the following line:
gtk-print-preview-command = epdfview %f

(epdfview can be replaced by any other PDF viewer command like xpdf...)

Note that by default, "evince" will remove the temporary PDF preview
file (/tmp/previewXXXXXX.pdf) when done, that might not be the case with
other PDF viewers.

CUPS
----
Printing to CUPS requires installing the gtk+3-cups package.
