Daemon Tuning[-][--][++]

https://wiki.archlinux.org/index.php/Daemon

  1. If you use HAL, start dbus before hal, even though hal will start dbus and acpid, explicitly add dbus before hal anyway
  2. Do not background dbus
  3. Do not background anything you need immediately
    1. DAEMONS=(syslog-ng gensplash dbus hal network netfs @avahi-daemon @samba @crond @openntpd @cups @mpd)
  4. I like @syslog-ng network @netfs dbus @hal @crond kdm
  5. The default base install is syslog-ng network netfs crond

Base Install[-][--][++]

Installation Guid at http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
Note, this guid only gives a simple base, no GUI system which you can mold to your needs! very nice.

  1. Doanloaded and burned the 'archlinux-2009.02-ftp-i686.iso'
  2. Used the Legacy IDE (no sata) kernel option
  3. login as root (no password)
  4. Run setup with
    # /arch/setup
    
  5. Setup time, partitions, blah
  6. Setup Packages and sub packages
    base
    base-devel
    
    kernel26-headers
    iptables
    madwifi
    madwifi-utils
    ndiswrapper
    ndiswrapper--utils
    nfs-utils
    openssh
    portmap
    sudo
    wireless_tools
    
  7. Once all setup is one (will have to modify config files etc...) reboot
  8. Login as root and add a new power user (to wheel group)
    # useradd -s /bin/bash -g wheel -m yourusername
    # passwd yourusername
    # nano /etc/sudoers (and uncomment the '%wheel ALL=(ALL) NOPASSWD: ALL' line) (can also be written as %wheel ALL=NOPASSWD: ALL)
    # exit
    
  9. Login as your new user, and run
    # pacman -Syy
    # pacman -Syu
    

Stats[-][--][++]

Total HD space ended up using 900mb on / and 14m on boot

Basic KDE Setup[-][--][++]

After following the Base Install above:

  1. Install xorg sudo pacman -S xorg hal
  2. Find your video driver by typing lspci | grep "VGA"
    1. IF you see something like intel, then install pacman -S xorg-video-intel, etc...
    2. If you see nvidia, then install the proprietary nvidia drivers by sudo pacman -S nvidia
      1. Note: this nvidia package will not support older graphic cards, if xorg fails to start up then \

check your /var/log/kernel.log and see what it says.
# You can find all xorg drivers by typing pacman -Sy xorg-video, just pick the one that looks like lspci
# If you just can't find any thing, then skip this step, the xorg-video-vesa will be installed, which should work

  1. Configure video
    1. If you don't have nvidia, type sudo Xorg -configure
    2. If you have nvidia, type sudo nvidia-xconf
  2. Run hal with sudo /etc/rc.d/hal start and add hal to startup
    1. Edit /etc/rc.conf sudo nano /etc/rc.conf and at the end, add hal to the DAEMONS array after syslog-ng DAEMONS=(syslogng hal network ...
  3. While your still in the /etc/rc.conf you can change your computers name by editing the HOSTNAME="myhost" part
  4. If you want DHCP (which is usually default), your /etc/rc.conf should be like
    eth0="dhcp"
    INTERFACES=(eth0)
    ROUTES=(!gateway)
    
  5. If you want a static IP, edit /etc/rc.conf again, like so
    eth0="eth0 192.168.1.50 netmask 255.255.255.0 broadcast 192.168.1.255"
    INTERFACES=(eth0)
    gateway="default gw 192.168.1.1"
    ROUTES=(gateway)
    
  6. Install audio with sudo pacman -S alsa-utils alsa-oss
    1. Then add yourself to the audio group with sudo usermod -a -G audio yourusername
  7. Install KDE (up to you, full or minimal)
    1. A full KDE is 1684MB, install with sudo pacman -S kde
    2. A minimal KDE is 825MB, install with sudo pacman -S kdebase-workspace kdebase-konsole
  8. Install gtk2 theme switcher and qtcurve theme to make gtk apps look better in KDE with sudo pacman -S qtcurve-gtk2 qtcurve-kde4 lxappearance
    1. Other theme switchers you can install and try are gtk-theme-switch2 and gtk-chtheme
    2. After you install the switcher, you will have to run it from the command line by simply typing its name (same as its install package name)
  9. Add KDM login manager to the list of DAEMONS, so edit /etc/rc.conf and add kdm at the end DAEMONS=(syslogng hal network ... kdm)
  10. Reboot by typing sudo reboot and it should come up with a graphical KDM login screen, just login with your normal user (not root)

Athlon X2[-][--][++]

edit the CHOST, CFLAGS and CXXFLAGS, replace them with this (for my athlon x2 2.0ghz)

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"

#mReschke additions for Athlon 64 X2
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Actual install processes (downloading and installing packages) was only about 10 minutes

Arch install with KDE4 on qdesk[-][--][++]

fixme

--------------order
vol_id is in /lib/initcpio/udev/vol_id
edit fstab with correct UUID=xxxx / ext4 defaults 0 1
for swap too

edit /etc/mkinitcpio.conf
COMPRESSION="bzip2"
make sure you have bzip2
reboot

# pacman -Sy
# pacman -Syu
# useradd -s /bin/bash -g users -m arch
# passwd arch
# nano /etc/sudoers (add arch user to root)

http://wiki.archlinux.org/index.php/Xorg
# pacman -S xorg
# pacman -S hal
# pacman -S hwdetect (or install lshw) (or easier, do {{lspci |grep "VGA"}}

http://wiki.archlinux.org/index.php/NVIDIA
# pacman -S nvidia

**add hal to /etc/rc.conf list of daemons** just acter syslogng
{{DAEMONS=(syslogng hal network ...}}

/etc/rc.d/hal start
startx (just a test, then exit)
# nvidia-xconfig (should make a nice xorg.conf)
# startx (then edit, works good so far)

http://wiki.archlinux.org/index.php/KDE
# pacman -Sy kde
nano /etc/inittab
    rem id:3:initdefault:
    and unrem id:5:initdefault:
    rem x:5:respawn:/usr/bin/xdm -nodaemon
    and unrem x:5:respawn:/usr/bin/kdm -nodaemon

Installing ALSA Audio
pacman -S alsa-utils alsa-oss --noconfirm
usermod -a -G audio $username

reboot

Other stuff
-----------
#pacman -S firefox
#pacman -S samba

Add 
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
to your /etc/pacman.conf
gives more packages, like rar-beta...

KDE Setting, keyboard delay 250ms, Rate 25

Other Stuff[-][--][++]