Distribution packages

If you have a GNU/Linux distribution listed below you can install gtk2panel using the package manager you are used to. You can still build from sources if you need specific customizations: your option.

Arch linux

A PKGBUILD port of gtk2panel is available in the AUR repository.

If you are aware of any binary (or port-like) package, let us know on our mailing list: we'll be glad to include a link on this page.

Building from sources

If you don't have (or don't want to use) a ready made distribution package, you can anyway use the evergreen way: build it from sources. To get started, just download the latest source tarball from SourceForge:

gtk2panel on SourceForge

External dependencies

To be able to build from source, check first you have properly installed on your system the following libraries (both runtime and -devel versions if your distribution makes this distinction):

  • GTK+ 2.16.0 or later, obviously required

    This is the only hard dependency: if you are using the panel only to call applications, GTK+2 yet has all what is needed.

  • libwnck 2.26.x, optional

    Older or newer versions should probably work as well, although the libwnck maintainer does not guarantee API compatibility.

    Some widgets implemented in libgpwidgets are built only when libwnck is available, most notably GpwPager and GpwTasklist. If this library is not found or the libwnck support is explicitely disabled with --disable-libwnck, these widgets will not be available.

  • glade 3.6.0 or later, optional

    The glade support simply installs the catalog files in the proper glade directory. Building with glade support does NOT make gtk2panel unusable in a system without glade, so forcing --enable-glade is strongly encouraged for packaging.

Compiling and installing

Once you got the source tarball, unpack it in your file system:

cd /where/you/have/the/tarball
tar xjf gtk2panel-*.tar.bz2
cd gtk2panel-*.tar.bz2

Obviously you should pass the right path to the cd command, as we don't know where you downloaded the source tarball!

The build system is based on autotools, so you can easily build the binary by using the usual approach:


You can customize the building by passing different parameters to the configure script. Check the output of ./configure --help to get an up to date list of the available parameters.

Once the binary is properly built, you can also run the program before the installation step.

gtk2panel/gtk2panel -c example/defaults.xml

Furthermore, you can run glade-3 against the example file without installing (to be read as just for fun):

GLADE_CATALOG_PATH=libgpwidgets \
    GLADE_MODULE_PATH=libgpwidgets/.libs \
    glade-3 examples/default.xml

When ready, install the package (as root if necessary) in the usual way.

make install