Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
— |
computer:linux:x11_auf_crux_linux [2012/04/11 21:42] (aktuell) christian angelegt |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | 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. | ||
+ | |||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | =====Schriftarten===== | ||
+ | <code> | ||
+ | # 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} | ||
+ | </code> | ||
+ | |||
+ | |||
+ | =====Tools===== | ||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | |||
+ | ======X-Konfiguration====== | ||
+ | <code> | ||
+ | # Xorg -configure | ||
+ | # mv ~/xorg.conf.new /etc/X11/xorg.conf.d/xorg.conf | ||
+ | </code> | ||
+ | |||
+ | =====Methode 1: HAL/DBUS===== | ||
+ | <code> | ||
+ | # 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 | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | =====Methode 2: Statisch===== | ||
+ | <code> | ||
+ | # 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 | ||
+ | </code> |