Chapter 3. Configuration

Table of Contents

Updating your ports
X
GLX
Hotkeys
Screen brightness
Wireless
ACPI
Sleep states
Suspend to disk/hibernate
Sleep state entering and exiting times for my Armada from KDE
Touchpad

By the time you've arrived here, you booted into your new Crux machine and logged in as root on the command line. You now know more or less what goes on during boot time. If you haven't already done so, read chapter 4 of the Crux manual to become familiar with the package system.

I am going to assume that your (wired) network connection is now working. If there are problems, try to manually ask for an IP address by doing:

# dhcpcd -N eth0

and looking at its output.

If you don't have dhcpcd, install it from the Crux CD. You can find out useful things about your connection by doing:

# ifconfig

Updating your ports

I maintain a ports repository with a few ports specifically directed at Armada laptops, though some of them might also work on other laptops. To use it, do:

# cd /etc/ports/
# wget http://www.thefoggiest.dev/goodies/diederick.httpup

Next, add the line

prtdir /usr/ports/diederick

to the file /etc/prt-get.conf (somewhere near the other lines that start with prtdir).

After you've done that, you do:

# ports -u
# prt-get cache

to upgrade your ports tree and the prt-get cache. After that, you do

# prt-get sysup

to update any package on your system. Since this is the first time and almost anything you've just installed will have to be updated, this will take serious time. This is actually something you'll have to do on a regular basis, but then it will take much less time obviously. I do it roughly weekly.

After installing or updating packages your ports tree will be filled with files you don't need anymore, like sources, built packages and the like. To get rid of them, install opt/prt-utils and do

# prtwash -aps