Kiba-Dock on Slackware 12

Install kiba-dock on Slackware 12 is easy, but we have to attempt in some details. This installation will be on KDE.

Ok, let’s do it.

1 - DOWNLOAD

Go in your menu K -> Run Command and type konsole –ls <enter>

In the window konsole type cd <enter> and after mkdir kiba <enter> (Just to create a folder to put kiba files). Now open the new folder cd kiba <enter>

Copy and the paste the following command:

svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk kiba <enter>

(This command will download all kiba stuffs, just wait the download finish. I think you made a full installation of slackware, if you don’t and don’t have svn program go on linuxpackages and take it ).

2 - DEPENDENCIES

Most of the dependencies come together with Slackware 12 (If you did a full installation hehe).

To build Akamaru physics engine you need the following:

Legend: [come with slackware, and is ok]

automake
autoconf
gcc
libtool
intltool >= 0.35.0
gettext

To build kiba-dock itself you will need the following ones:

glib2 >= 2.12
gtk+2 >= 2.10
cairo >= 1.0.0
libxml-2.0
pango >= 1.10.0

(I’m not sure, but I think all of them come with slackware).

Optional Depends:

librsvg > 2.14.4 (for SVG support)
glitz >= 0.5.3
akamaru (for physics, we will build this one together).

To build kiba plugins we need these ones:

Dbus plugin
- dbus
- pygtk2-devel (to build the actual Dbus plugins, located in the kiba-dbus-plugins directory)

Gnome Stuffs

Gnome stuffs don’t come with slackware 12 because an obvious reason. So I didn’t install any gnome stuff. Is up to you, I will list here with anyone want…

Gmenu plugin
- libgnome-menu
Stack plugin
- libgnomeui-2.0 > 2.0.0
- libgnomevfs > 2.0.0
Sysinfo plugin
- libgtop > 2.0.0
Trash plugin
- libgnomevfs > 2.0.0

Runtime dependencies

To run, Kiba-dock requires:

X.org (>= 7.2) with Composite Extension enabled
(I will explain here, about xorg)

A composite window manager (eg - beryl, compiz, comiz-fusion, kcompmgr, xcompmgr)
(Don’t worry too much about these memory eater (but is cool :P) , I will explain here an easy way).

For (optional) SVG support: cairo compiled with –enable-svg
For (optional) GLITZ support: cairo compiled with –enable-glitz

The optional ones I didn’t istall.

3 - PREPARING XORG

This is easy. First of all in the konsole window type su - ( to get all root power, don’t forget the “-” in the command, this one is to set all root environment).

Run all the following commands as root user:

cd

mkdir backup

cp /etc/X11/xorg.conf /root/backup/xorg.conf_genuine

mcedit /etc/X11/xorg.conf

Midnight editor will open, go to the end of the file and paste the following lines:

Section “Extensions”
Option “Composite” “true”
EndSection

Hit <F10> to quit and save the file.

To make effect you do have to restart your X.

If you use gdm go in konsole and type: telinit 4 <enter>

If you don’t use gdm ( slackware default setting ): Go on K menu -> Logout user… and end your session, and in bash type: startx <enter> To start kde again.

Now the things are working awesome. At first all the thing seems the same.

The easy way is to use xcompmgr rather than beryl or compiz. You can take the source of xcompmgr on http://freedesktop.org/xapps/release/

This program do some cool stuff like transparent windows etc… and don’t eat too much memory ;). My tip here is to download too this other program transset-df
http://www.forchheimer.se/transset-df/
witch is a kind of manager to composite. Go on google and find how it works because I my objective here is kiba-dock.

To install xcompmgr transset-df from the source is easy like “next” “next” “next” “finish”. unntar them with tar -zxvf go on directory hit an ./configure , make, make install.

Leave a Reply