Gentoo Wiki


Merge-arrows.gifIt has been suggested that this article be Merged into one article with HOWTO Get rid of GTK 1.x    (Discuss)


Installing GTK 1.2 with GTK 2.X results in an extra set of control panel menus for GTK 1.2 which can be potentially confusing. This is especially true if you are not expecting the installation of GTK 1.2.

Unless you specifically need GTK 1.2, these instructions can help avoid the unexpected installation of GTK 1.2.


There were two USE flags to control GTK installation: gtk and gtk2. However, since the use of GTK 1 is now in decline and only a few packages still use it, these were merged into a single gtk USE flag.


To avoid GTK 1.2 from being pulled in unexpectedly, you should edit /etc/portage/package.use:

File: /etc/portage/package.use
# No GTK 1.2
# These ebuilds '''correctly''' use gtk to indicate GTK 1.2.
# Note: this list is likely incomplete.

media-libs/imlib                  -gtk
<media-libs/libquicktime-0.9.7-r1 -gtk

and /etc/portage/package.mask:

File: /etc/portage/package.mask
<x11-libs/gtk+-2 # No GTK 1.2
Retrieved from ""

Last modified: Sun, 01 Jun 2008 06:48:00 +0000 Hits: 10,320