Blackbox Window Manager

Preparation
- Perform this stage using your functioning PC.
- Download the Blackbox source code from http://blackboxwm.sourceforge.net/.
- Visit http://blackboxwm.sourceforge.net/ and click on the "Latest Stable" link.
- Chose a local mirror from which to download the source code. You will need the source code in
.tar.gzformat.- At the time of writing the latest version of Blackbox was version 0.65.0, so the file downloaded was
blackbox-0.65.0.tar.gz.
- At the time of writing the latest version of Blackbox was version 0.65.0, so the file downloaded was
- You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
- The download is about 287kb and will only take a few seconds to download over a modem, and a lot less over a broadband connection.
- If you are using a download accelerator program, it will save the file to your default download directory.
- Burn the file
blackbox-0.65.0.tar.gzto a CD. This page assumes that the subdirectory/appsis used for the.tar.gzfile. The CD-ROM can be a multi-session disk.- Use your CD burning software to create an ISO9660 disc image with the file
blackbox-0.65.0.tar.gzin the/appsdirectory. - Burn the CD and verify the data stored on it.
- Use your CD burning software to create an ISO9660 disc image with the file
Booting
- Perform this stage and subsequent stages, unless otherwise stated, using your Core Linux PC.
- Boot your Core Linux PC.
- Login as
root. You will need to enter the password at the prompt.- Wait for the following text to appear:
localhost login: - Type
rootand press Enter. - The screen will display this message:
Password: - Enter the password for
rootthat you set earlier. - You will be shown a prompt that looks like this:
[~]#
- Wait for the following text to appear:
Extract the source
- Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under
/mnt/cdrom.- At the prompt enter:
mount /dev/hdb /mnt/cdrom - You will see the following line appear:
mount: block device /dev/hdb is write-protected, mounting read-only
- At the prompt enter:
- Change to the
/appsdirectory on the CD-R.- At the prompt enter:
cd /mnt/cdrom/apps - The prompt will change to:
[/mnt/cdrom/apps]#
- At the prompt enter:
- Copy the
blackbox-0.65.0.tar.gzfile to the directory/usr/src.- At the prompt enter:
cp blackbox-0.65.0.tar.gz /usr/src - The system will not display a message if everything is OK.
- At the prompt enter:
- Change to the
/usr/srcdirectory and extract the source from the.tar.gzfile.- At the prompt enter:
cd /usr/src - The prompt will change to:
[/usr/src]# - At the prompt enter:
tar -zxvf blackbox-0.65.0.tar.gz - A long stream of unzipping files and directories should scroll up the screen for a few seconds.
- At the prompt enter:
Configure and compile
- Change to the
/usr/src/blackbox-0.65.0directory.- At the prompt enter:
cd blackbox-0.65.0 - The prompt will change to:
[/usr/src/blackbox-0.65.0]#
- At the prompt enter:
- Run the
configurescript.- At the prompt enter:
./configure - A long stream of processes should scroll up the screen for a few seconds.
- The script finishes with the line:
creating config.h
- At the prompt enter:
- Run the
makeprogram.- At the prompt enter:
make - A long stream of processes should scroll up the screen for a couple of minutes.
- The script finishes with the line:
make[1]: Leaving directory '/usr/src/blackbox-0.65.0'
- At the prompt enter:
- Run the
makeprogram with the argumentinstall.- At the prompt enter:
make install - A few processes should scroll up the screen for few seconds.
- The program finishes with the lines:
make[1]: Leaving directory '/usr/src/blackbox-0.65.0'
- At the prompt enter:
Configuring Blackbox
- Insert the line
/usr/local/bin/blackboxin your.xinitrcfile.- At the prompt enter:
nano ~/.xinitrc - The screen will show the contents of
~/.xinitrcwith information about the file at the top and bottom of the screen. - Insert the following at the end of the file, if it has any contents at all.
/usr/local/bin/blackbox - If you already have a window manager installed and set to run using this file, you will need to remove or comment out the line that starts that window manager.
- If you include a & symbol at the end of the line that calls Blackbox, X will stop as soon as it has started. By not including a & symbol, exiting Blackbox will cause X to shut down.
- Save the file and exit the text editor.
- Press Ctrl+x on the keyboard.
- The contents of the white line at the bottom of the screen will change to read:
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? - Type
y. - The contents of the white line at the bottom of the screen will change to read:
File Name to write: /etc/rc.d/rc.ha - Press Enter.
- You will be returned to the system prompt.
- At the prompt enter:
- Start X using the
startxcommand, and Blackbox should be loaded as your window manager.

The text of this page is licensed under a Creative Commons License.
