Inhaltsverzeichnis

CRUX kann ganz einfach um eine grafische Oberfläche erweitert werden.

Grundinstallation

Je nach Art der Installation muss ggf. die Repository-Konfigurationsdatei aktiviert und das Repository aktualisiert werden.

# mv /etc/ports/xorg.rsync.inactive /etc/ports/xorg.rsync
# ports -u xorg
# cp /etc/prt-get.conf /etc/prt-get.conf.initial
# vim /etc/prt-get.conf
...
# runscripts no
runscripts yes
:wq
# prt-get depinst xorg

Schriftarten

# prt-get install xorg-font-{adobe-{100,75}dpi,alias,bh-{75,100}dpi,bitstream-{100dpi,75dpi,speedo,type1},cursor-misc,misc-misc,mutt-misc,util}

Tools

# cd /etc/ports
# wget 'http://crux.nu/portdb/?a=getup&q=romster' -o romster.httpup
# ports -u romster
# vim /etc/prt-get.conf
...
prtdir /usr/ports/romster
:wq
# prt-get depinst xorg-xdm icewm xterm pcmanfm
# vim ~/.xsession
#!/bin/sh
exec icewm-session
:wq
# chmod +x ~/.xsession

X-Konfiguration

# Xorg -configure
# mv ~/xorg.conf.new /etc/X11/xorg.conf.d/xorg.conf

Methode 1: HAL/DBUS

# prt-get depinst hal dbus
# vim /etc/rc.conf
...
SERVICES=(... hald dbus)
:wq
# vim /etc/X11/xorg.conf.d/xorg.conf
...
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
EndSection
...

Methode 2: Statisch

# prt-get depinst 
# vim /etc/X11/xorg.conf.d/xorg.conf
...
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option  "XkbLayout" "de"
        Option  "XkbModel" "pc105"
        Option  "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
...
Section "ServerFlags"
        Option  "AllowEmptyInput" "false"
        Option  "AutoAddDevices" "false"
EndSection

:wq
# /etc/rc.d/xdm restart