Installation of GTK+ 3

Note

GTK+ 3 will overwrite
gtk-update-icon-cache from
GTK+-2.24.31 if it is installed. There is
nothing wrong about that assuming that both programs provide same
functionality. If you wish to keep one from GTK+ 2 you can add --enable-gtk2-dependency to the configure command.

Some tests fail if /usr/share/glib-2.0/schemas/gschemas.compiled is
not found. If you wish to run the test suite, create (or update)
the file using the following command as the root user: glib-compile-schemas
/usr/share/glib-2.0/schemas.

The accessibility test (six subtests) is known to fail. The
gtk-reftest (twp subtests) is known ot fail (one subtest). The
css-style test (one subtest) is known to fail.

To test the results you need a graphical session, then issue
make -k check.

Now, as the root user:

make install

Note

If you installed the package on to your system using a
“DESTDIR” method, an
important file was not installed and must be copied and/or
generated. Generate it using the following command as the
root user:

gtk-query-immodules-3.0 --update-cache

Note

If you installed the package to your system using a
“DESTDIR” method,
/usr/share/glib-2.0/schemas/gschemas.compiled
was not updated/created. Create (or update) the file using the
following command as the root
user:

--disable-wayland-backend:
This switch disables the Wayland GDK backend. Remove it if you have
installed Wayland-1.12.0 and wayland-protocols-1.7 and you wish to
build GNOME with Wayland support.

--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.

Configuring GTK+ 3

Config Files

~/.config/gtk-3.0/settings.ini and
/etc/gtk-3.0/settings.ini

Configuration Information

GTK+ 3 themes change the way a
GTK+ 3 application looks. An
icon theme can be used to change the icons that appear on the
application's toolbar. If you have installed a GTK+ 3 theme (e.g. gnome-themes-standard-3.22.2),
an icon theme (such as oxygen-icons5-5.28.0) and/or a
font (such as DejaVu fonts), you can set
your prefences in ~/.config/gtk-3.0/settings.ini or the default
system wide configuration file (as the root user), in /etc/gtk-3.0/settings.ini. For the local user
an example is: