$OpenBSD: README-main,v 1.4 2015/04/04 08:39:02 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running gtk+2-2.24.31p0 on OpenBSD
+-----------------------------------------------------------------------

Default theme
=============
The default GTK+ theme engine can be modified by editing:
    ~/.gtkrc-2.0
and appending a line similar to:
include "/usr/local/share/themes/oxygen-gtk/gtk-2.0/gtkrc"

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

Printing
========

Preview
-------
By default, GTK+ uses the "evince" command from the evince package to
display a "Print Preview". This can be modified by editing:
    ~/.gtkrc-2.0
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/previewXXXXX.pdf) when done, that might not be the case with
other PDF viewers.

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