The purpose for this Gist is to document for myself the steps to setup Arch Linux ARM on a Pi 3 with XFCE4 as the desktop environment. As well as, configuring XFCE4 to look like MacOS BigSur. Maybe someone else will find this useful/helpful.
NOTE: As of the time of this writing, ArchLinuxARM-rpi-armv7-latest has Xorg driver issues. Meaning, I was not able to use ArchLinuxARM-rpi-armv7-latest with a desktop environment. Just a black screen. I came to this deduction via trial & error and reading the Arch Linux ARM forums like here and here.
NOTE 2: Pay attention to $ and # when commands are shown. # indicates that the command needs to be run as root - - OR - - with elevated priveleges. $ indicates that the command is invoked as a regular user.
- Install Arch Linux ARM
- Configure WiFi
- Update system
- Configure timezone
- Update system time
- Configure locale
- User setup
- Configure swap
- Tune swappiness
- Install XFCE4
- Install display manager
- XFCE Configuration
- MacOS BigSur
No need to duplicate - follow the steps for AArch64 Installation
# nano /etc/systemd/network/wlan0.network- Add the following to the file:
[Match] Name=wlan0 [Network] DHCP=yes # wpa_passphrase "<SSID>" "<PASSWORD>" > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf- Replace with your respective WiFi network name and password# systemctl enable wpa_supplicant@wlan0- enable WiFi when booting# systemctl start wpa_supplicant@wlan0- connect to WiFi# hostnamectl set-hostname <name># nano /etc/hosts:127.0.0.1 localhost ::1 localhost 127.0.1.1 <hostname>.localdomain <hostname>
# pacman -Syu
# timedatectl set-timezone America/Chicago
# timedatectl set-ntp true
# nano /etc/locale.genand remove#fromen_US.UTF-8# locale-gen# localectl set-locale LANG=en_US.UTF-8
Keeping the alarm user, give it sudo priveleges.
# pacman -S sudo# usermod -aG wheel,video,audio,storage alarm# EDITOR=nano visudo- Remove
#from%wheel ALL=(ALL) ALL - Save and Exit
- Create the usual suspects:
# pacman -S xdg-user-dirs$ xdg-user-dirs-update
- Setup
AUR:# pacman -S --needed base-devel git$ mkdir /home/alarm/aur
Using Swap as a guide
# dd if=/dev/zero of=/swapfile bs=1M count=1024 status=progress- creating 1GiB of swap# chmod 0600 /swapfile# mkswap -U clear /swapfile# swapon /swapfile# nano /etc/fstab:/swapfile none swap defaults 0 0
The why
# nano /etc/sysctl.d/99-swappiness.confvm.swappiness=1 vm.vfs_cache_pressure=50
# pacman -S xfce4 xfce4-goodies xorg-server xorg-apps
# pacman -S sddm$ cd /home/alarm/aur$ git clone https://aur.archlinux.org/archlinux-themes-sddm.git- theme forSDDM$ cd archlinux-themes-sddm/$ makepkg -si# systemctl enable sddm# systemctl start sddm
# pacman -S pipewire pipewire-alsa pipewire-pulse# reboot
# pacman -S chromium
# pacman -S file-roller
Follow the steps in UPDATE : How to Customize Your Xfce Desktop Look Like macOS Big Sur | Version 2.0
Hello bro, really good instruction!
Respect for you!ππ»
Sorry for my English))