Some documentation

This page is divided into several sections. Please use the floating menu at the right to navigate through it.

Source code

The source code is managed under Git. To get it, make sure you have Git installed and use:

git clone git://superkb.git.sourceforge.net/gitroot/superkb superkb-git

Also, the source code has a lot of FIXME which need work. They are documented throughout the code.

Compilation

a simple make should do it. However, in some distributions, you must issue the command two times.

Superkb uses a file named "configuration" to keep track of detected system settings. This file can contain the following directives:

Installation

A simple make install should do. Paths are fixed at this moment.

Configuration

Superkb looks for a file named .superkbrc in the $HOME directory. The file is interpreted as a script, so if a command conflicts with another, the second one wins. Comments are indicated by a pound sign (#) and the rest of the line is ignored. Basic syntax is "KEYWORD value", but if a value includes a space, it must be enclosed in double quotation marks. Currently supported directives are:

Testing on distributions

These are installation notes and instructions on specific distributions. Comments and additions are welcome.

Ubuntu 6.06 LTS (Dapper Drake)

I have Superkb running in my Ubuntu 6.06 LTS workstation at work.

There are issues when running Superkb on Ubuntu on an IBM Thinkpad T42. The laptop doesn't include a Win key, and the key I wanted to use (Forward) sends KeyPress and KeyRelease simultaneously, whatever its AutoRepeat status is. This makes it unusable for Superkb at this moment.

Arch Linux 0.7

I have Superkb running in my Arch Linux 0.7.

Ubuntu 6.10 (Edgy Eft)

Before installing Superkb you must upgrade your X.org because of an existing bug. There are precompiled packages for i386 for Ubuntu Edgy available, so it should be just a matter of installing it using dpkg. This is what worked for me:

  1. Issue dpkg -l | grep ^ii | grep -E "^ii..(xdmx-tools|xdmx|xnest|xserver-xephyr|xserver-xorg-core|xserver-xorg-dev|xvfb)". The resulting list are the packages you need to upgrade, so:
  2. Download them from http://people.ubuntu.com/~seb128/xorg-server-edgy-update/.
  3. Run sudo dpkg -i package-name.deb for each downloaded file.
  4. Restart your X server.

Now that you have updated your Edgy X.org, follow the instructions for Ubuntu 6.06 LTS (Dapper Drake).

Fedora Core 6

Due to a bug in Xorg included in Fedora Core 6, Superkb can't run at all. This was fixed in Xorg shortly after Fedora Core 6 was released. I have no info regarding updates that fix Xorg in Fedora Core 6.

Fedora Core 5

Debian Sid

Due to a bug in Xorg included in Debian Sid, Superkb can't run at all. This was fixed in Xorg shortly after Debian Sid was released. I have no info regarding updates that fix Xorg in Debian Sid.