Here we will see how to install Tk_theme to allow Tkabber docking in the system tray.
Install Tcl/Tk development files
Tk_theme needs some files from the Tcl/tk development package.
# apt-get install tcl8.4-dev tk8.4-dev
using apt on Debian woody
# apt-get install tcl8.3-dev tcl8.3-dev
Download, uncompress and configure the package:
$ wget http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz $ tar -xzvf Tk_Theme-23.tgz $ cd Tk_Theme-23 $ tclsh configure
You need to know where Tcl and Tk include directories are located:
$ whereis tcl tk tcl: /usr/lib/tcl8.4 /usr/include/tcl8.4 tk: /usr/lib/tk8.4 /usr/share/tk8.4
Now edit Makefile and add to the line that starts 'INCLUDE' the proper commands: -Idirectory -Idirectory. On the example you can make:
$ vim Makefile /INCLUDE jba -I/usr/include/tcl8.4 -I/usr/share/tk8.4
press the Escape key and type this to write and exit the editor:
Compile the package:
We will have to install it manually (you may want to change the destination directory):
# mkdir /usr/local/lib/tktheme # cp theme.so /usr/local/lib/tktheme # cp pkgIndex.tcl /usr/local/lib/tktheme
Finally we will add the destination directory to $TCLLIBPATH so Tkabber can find it:
# vim /etc/profile Goexport TCLLIBPATH=/usr/local/lib
Press the Escape key. Finally write the file and quit the editor:
Tell the system to load the file immediately:
# source /etc/profile
If Tkabber is able to load the docking sytem tray plugin it will show the corresponding icon (1). If you click on it with the mouse Tkabber will be docked/undocked. If you click with the second mouse button a menu (2) will appear.