VIVAHATE

December 2011

Pizza

The Kitchen Aid makes pizza crust a snap.

Arch Linux – Macbook Pro

Install Arch

Basic Arch install without networking using the core CD image. Make sure to add wireless_tools from base-devel.

Configure Wifi

I had to blacklist the bcma module. YMMV. There’s some good info here: https://wiki.archlinux.org/index.php/Broadcom_wireless

The network uses WPA encryption

Verify that the kernel module has been loaded and the hardware is ready to use:

$ iwconfig

Bring the interface up:

$ ip link set wlan0 up

List available networks:

$ iwlist wlan0 scan

Rename the default wpa_supplicant.conf:

$ mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.original

Generate a new wpa_supplicant.conf:

$ wpa_passphrase "ESSID" "SECRET PASSKEY" > /etc/wpa_supplicant.conf

Associate adapter with access point:

$ wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf

Get an IP address via DHCP:

$ dhcpcd wlan0

Test:

$ ping -c 3 www.google.com

Add the following to /etc/rc.local:

$ ip link set wlan0 up
$ wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
$ dhcpcd wlan0

Reboot and you should be connected to the wireless network.

Configure Pacman and Update the System

Edit /etc/pacman.d/mirrorlist and choose a mirror:

$ nano /etc/pacman.d/mirrorlist

Update the system:

$ pacman -Syu

Add a User

# useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash kyle
# passwd kyle

Sudo

# pacman -S sudo

Add your user to the sudoers list

# visudo

Add the following to the end of the file

kyle ALL=(ALL) ALL

ALSA

# pacman -S alsa-utils

Use alsamixer to unmute the channels

Packer

Install packer

sudo pacman -S git
cd ~/
mkdir src
cd src
git clone https://github.com/bruenig/packer.git
cd packer
chmod 755 packer
sudo ln -s /home/kyle/src/packer/packer /usr/bin/packer

X and Openbox

# pacman -S xorg-server xorg-apps xorg-xinit xterm openbox

Add exec openbox-session to ~/.xinitrc

Nvidia Driver

# pacman -S nvidia nvidia-utils

Reboot.

# nvidia-xconfig

Trackpad Driver

# packer -S xf86-input-mtrack-git

Add the following to your /etc/X11/xorg.conf

Section "InputClass"
  MatchIsTouchpad "on"
  Identifier "Touchpads"
  Driver "mtrack"
  Option "IgnoreThumb" "true"
  Option "IgnorePalm" "true"
  Option "Sensitivity" "0.7"
  Option "ButtonIntegrated" "false"
EndSection

More options here: https://github.com/BlueDragonX/xf86-input-mtrack

Freetype Configuration

TODO

Chromium and Flash

# pacman -S chromium flashplugin

Rails Development

Install RVM:

$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Close your terminal and open a new one.

Dropbox

Install Dropbox:

# pacman -S dropbox
$ dropbox start

Log in to Dropbox.

PostgreSQL

# pacman -S postgresql
$ createuser -s -U postgres
  Enter name of role to add: kyle
$ createdb