Last active
July 14, 2021 19:16
-
-
Save carld/1f4038e5c9f6ab54ab26 to your computer and use it in GitHub Desktop.
Arch Linux on Macbook Pro 5,5 notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some notes on my Arch Linux install... not quite complete but something to go on | |
# I needed rEFInd? | |
# After booting from arch ISO image (from CD) | |
# Partition disk etc | |
fdisk /dev/sda | |
n # new partition | |
t # set type, 1 is EFI partition | |
# Install EFI bootloader | |
bootctl --path=/dev/sdaX install | |
# Create mounts, something like | |
mkdir -p /mnt/boot | |
mount /dev/sda2 /mnt/boot | |
mount /dev/sda1 /mnt | |
# chroot ahead of putting files in place | |
arch-chroot /mnt /bin/bash | |
# Install the base files | |
pacstrap -i /mnt base base-devel | |
pacman -S iw wpa_supplicant | |
pacman -S dialog | |
pacman -S systemd | |
# The Broadcom Wifi debacle | |
curl https://aur.archlinux.org/packages/b4/b43-firmware/b43-firmware.tar.gz -o b43-firmware.tar.gz | |
tar zxvf b43-firmware.tar.gz | |
cd b43-firmware | |
makepkg -s | |
pacman -U b43-firmware-6.30.163.46-1-any.pkg.tar.xz | |
pacman -Sy lm_sensors | |
sensors-detect | |
# X Windows | |
pacman -Sy xorg-server xorg-xinit xorg-utils xorg-server-utils xterm awesome xf86-video-vesa | |
pacman -Sy nvidia nvidia-utils | |
# The Macbook touchpad debacle | |
tar zxvf xf86-input-mtrack-git.tar.gz | |
cd xf86-input-mtrack-git | |
sudo pacman -Sy xorg-server-devel resourceproto glproto | |
makepkg | |
sudo pacman -U xf86-input-mtrack-git-0.3.1.r1.g56f9831-1-x86_64.pkg.tar.xz | |
# the touchpad config for X, put in xorg.conf | |
Section "InputClass" | |
Identifier "touchpad" | |
Driver "mtrack" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Option "Sensitivity" "0.65" | |
Option "TapButton1" "0" | |
Option "TapButton2" "2" | |
Option "TapButton3" "0" | |
Option "TapButton4" "0" | |
Option "ClickFinger1" "1" | |
Option "ClickFinger2" "0" | |
Option "ClickFinger3" "0" | |
Option "ButtonMoveEmulate" "false" | |
Option "FingerHigh" "10" | |
Option "FingerLow" "1" | |
Option "IgnoreThumb" "true" | |
Option "IgnorePalm" "true" | |
Option "TapDragEnable" "false" | |
EndSection | |
# turn capslock into control, in xorg.conf | |
Section "InputClass" | |
Identifier "evdev keyboard catchall" | |
MatchIsKeyboard "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "evdev" | |
Option "XkbLayout" "us" | |
Option "XkbOptions" "ctrl:nocaps" | |
EndSection | |
# yaort | |
pacman -S yajl | |
tar zxvf package-query.tar.gz | |
makepkg | |
pacman -U | |
tar zxvf yaourt.tar.gz | |
makepkg | |
pacman -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment