News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Tint2

From FrugalWiki

Jump to: navigation, search



Contents

Introduction

tint2 is a simple panel/taskbar which follows freedesktop specifications.

Screenshots

Tint2.jpg


Installation

Root terminal 48px.png
# pacman-g2 -S tint2


Configuration

The conf file is ~/.config/tint2/tint2rc

Configuration

tint2 has a configuration file in ~/.config/tint2/tint2rc. A skeleton configuration file with the default settings is created on the first time tint2 is ran. You can then change this file to your liking. Full documentation on how to configure tint2 is found here. You can configure the fonts, colors, looks, location and more in this file. The tint2 package now contains a GUI configuration tool that can be accessed by typing the command:

User terminal 48px.png
$ tint2conf


Running tint2

You can run tint2 by simply typing the command:

User terminal 48px.png
$ tint2

If you want to run it when starting X, simply add this to ~/.xinitrc. For example if you run tint2 with openbox:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
tint2 &
exec ck-launch-session openbox-session

If you want to run tint2 when starting Openbox, you will need to update ~/.config/openbox/autostart.sh by adding the following:

tint2 &

Note: if you do not have an autostart.sh file in ~/.config/openbox, you can copy the default one from /etc/xdg/autostart.sh.

Enabling transparency

To make tint2 look its best, some form of compositing is required. If your tint2 has a large black rectangular box behind it you are either using a window manager without native compositing (like Openbox) or it isn't enabled.

To enable compositing under Openbox you can install Xcompmgr:

Root terminal 48px.png
# pacman -S xcompmgr


Xcompmgr can be started like this:

User terminal 48px.png
$ xcompmgr

You will have to kill and restart tint2 to enable transparency.

If Xcompmgr is used solely to provide tint2 with transparency effects it can be run at boot by changing the autostart section in ~/.config/openbox/autostart.sh to this:

# Launch Xcomppmgr and tint2 with openbox
if which tint2 >/dev/null 2>&1; then
  (sleep 2 && xcompmgr) &
  (sleep 2 && tint2) &
fi

Links

Personal tools
Namespaces
Variants
Actions