My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Install  
How to install tint2
Phase-Deploy
Updated Nov 7, 2010 by kwakuyeb...@gmail.com

Introduction

Tint2 is very easy to install. And for Ubuntu and Debian users, prebuilt binaries are available.
Tint2 come with a panel (named tint2) and a theme swicher (named tint2conf).
Tint2 require an EWMH compatible Window manager and an UTF-8 system.

Install Manually

Dependencies

Tint2 depends on cairo, pango, glib2, >=imlib2-1.4.2, xinerama, libXrender, libXcomposite, libXdamage, libx11, >=libXrandr-1.3.
On Ubuntu, use this command :
   sudo aptitude install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libx11-dev libxdamage-dev libxcomposite-dev libxrender-dev libxrandr-dev
On debian, use this command:
   apt-get install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libx11-dev libxdamage-dev libxcomposite-dev libxrender-dev libxrandr-dev
On gentoo, use this command:
   emerge -av cairo pango glib:2 imlib2 libXinerama libX11 libXdamage libXcomposite libXrender libXrandr
After these dependencies have been installed, you download the latest release and unpack the archive.

Getting the sources

   wget 'http://tint2.googlecode.com/files/tint2-<LATEST-RELEASE>.tar.gz'
   tar xvf tint2-<LATEST-RELEASE>.tar.gz
You start terminal in tint2 directory.

Building (up to version 0.10)

   cd tint2-<LATEST-RELEASE>
   ./configure --prefix=/usr --sysconfdir=/etc
   make
NOTE: see
./configure --help for further informations.

Building (from version 0.11 upwards)

Version 0.11 and SVN version use cmake as build tool.
   cd tint2-<LATEST-RELEASE>
   cmake  -DCMAKE_INSTALL_PREFIX=/usr  ./
   make
Or as out-of-source build:
   cd tint2-<LATEST-RELEASE>
   mkdir build
   cd build
   cmake -DCMAKE_INSTALL_PREFIX=/usr ../
   make
NOTE: see
cmake -L for a list of possible variables which change building behaviour.
NOTE2: If you have errors in the cmake-step, it can be very helpful to delete the file CMakeCache.txt in your build directory.

For better integration with xcompmgr, see xcompmgr patch

Install

On Ubuntu,
   sudo make install
On other system,
   su
   make install
If no errors ensure, HURRAY! , tint2 has been installed

Tint2 Pre-Built binaries

Please note that, for now, since tint2 is still under development, there might be a few bugs.

For Ubuntu 9.10 and upwards

Tint2 .deb files are built and can be found here. Run this command to add the repository to your sources.list and install tint2
    sudo add-apt-repository ppa:killeroid/ppa && sudo aptitude update && sudo aptitude install tint2

For Ubuntu 9.04 (Jaunty)

Add these to your sources.list
    deb http://ppa.launchpad.net/killeroid/ppa/ubuntu jaunty main
    deb-src http://ppa.launchpad.net/killeroid/ppa/ubuntu jaunty main
and then run this command in terminal to import the repositories GPG key:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C4412AEB3B1D5F58E8149B7DD9DAAF25C26CCF8E

For Gentoo

Simply run:
    emerge -av tint2

For Arch Linux

Simply run:
    sudo pacman -S tint2

Running

On startup, tint2 detect if you have a composite manager and use real transparency if you have one.
Otherwise, tint2 use fake transparency.

Autorun tint2 in Openbox

Add the following command in config file $HOME/.config/openbox/autostart.sh
(sleep 2s && tint2) &
And restart Openbox
If you run a composite manager (xcompmgr, compiz, ...), increase sleep time until it's ready.

Autorun tint2 in Fluxbox

Remove fluxbox pannel and systray in ~/.fluxbox/init
Remove systemtray from the list of items in the line session.screen0.toolbar.tools.
On line session.screen0.toolbar.visible: true. Change true to false.
Add (sleep 2s && tint2) & in ~/.fluxbox/startup
Restart Fluxbox.

Autorun tint2 in Gnome

Go to System > Preferences > Sessions.
Click on add.

Any Problems

Comment by jon.roadleybattin@gmail.com, Feb 9, 2009

For Gentoo

tint2 is not presently in the main tree (or any 3rd party overlay - yet) http://bugs.gentoo.org/show_bug.cgi?id=225733 is the bugtracker for tint2 in portage an ebuild for tint2-0.6 as well as a live tint2-9999 ebuild are present here

Comment by auctiva....@gmail.com, Aug 3, 2009

Getting errors with Jaunty importing the repositories GPG key:

"gpg: requesting key C26CCF8E from hkp server keyserver.ubuntu.com gpgkeys: HTTP fetch error 7: couldn't connect to host gpg: no valid OpenPGP data found. gpg: Total number processed: 0"

But hosts resolves from term

Comment by patrick...@gmail.com, Nov 6, 2009

On Arch Linux you can easily install with sudo pacman -S tint2

Comment by hackr9...@gmail.com, Apr 25, 2010

On Arch Linux, even though the man page says tint2 will generate a config file, it will not and must be specified and created manually (just running tint2 will say you need to specify a config file)

Comment by project member thilo...@gmail.com, May 4, 2010

@ hackr9483 tint2 will generate a config file if you have done a full install. running tint2 in the source directory without doing 'make install' will not create the config file. it's consistent. you have not run 'make install' because you want to try it without changing your system. so tint2 will not change your system.

Comment by g.fic...@gmail.com, Jul 4, 2010

On Ubuntu Lucid you need also libgtk2.0-dev !

Comment by bjorn...@gmail.com, Aug 1, 2010

When doing cmake -DCMAKE_INSTALL_PREFIX=/usr ./ I get this error message CMakeLists.txt:15: Parse error. Function missing ending ")". Instead found left paren with text "(". Removing the inner parenthesis from `if( NOT (X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND) )

message( FATAL_ERROR "Not all dependencies fulfilled. See http://code.google.com/p/tint2/wiki/Install" )
endif( NOT (X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND) )` so it looks like this `if( NOT X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND )
message( FATAL_ERROR "Not all dependencies fulfilled. See http://code.google.com/p/tint2/wiki/Install" )
endif( NOT X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND )` fixes it.

Comment by bjorn...@gmail.com, Aug 1, 2010

To add to the above: I am using Cmake 2.6.0, I don't think this is an issue with later versions (like 2.8)

Comment by project member Andreas.Fink85, Aug 2, 2010

@bjornebe: This is a problem with cmake (no idea what there is wrong). Easiest fix is to replace the problematic lines with: if( NOT X11_FOUND OR NOT PANGOCAIRO_FOUND OR NOT PANGO_FOUND OR NOT CAIRO_FOUND OR NOT GLIB2_FOUND OR NOT GOBJECT2_FOUND OR NOT IMLIB2_FOUND )

message( FATAL_ERROR "Not all dependencies fulfilled. See http://code.google.com/p/tint2/wiki/Install" )
endif( NOT X11_FOUND OR NOT PANGOCAIRO_FOUND OR NOT PANGO_FOUND OR NOT CAIRO_FOUND OR NOT GLIB2_FOUND OR NOT GOBJECT2_FOUND OR NOT IMLIB2_FOUND )

Or just use the current svn revision, which contains this change

Comment by udith...@gmail.com, Feb 28, 2012

I Love Tint2 Task Bar on Ubuntu 11.10 It's great. Thanks.

Uditha Madumal


Sign in to add a comment
Powered by Google Project Hosting