Skip to content

About

Graphical installer and lightweight desktops (XFCE, LXQt, Openbox) for Alpine Linux. For low-RAM computers: old PCs and repurposed or embedded machines with fixed RAM.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

Alpine Desktop Setup 2.0

A graphical installer and four desktops for Alpine Linux 3.24 (x86_64). Boot the ISO, answer a few questions and get a working desktop: network icon, sound, removable media, memory compression (zram), Firefox and a "Software and updates" window.

It is a thin layer over Alpine's own setup-alpine, setup-desktop and apk. It has no partitioning code and never replaces settings it does not own. I made it to keep old, low-RAM hardware in use instead of in landfill.

Important

On computers with 2 GB of RAM or less: install uBlock Origin in Firefox and set video playback to 720p or lower. Without both, the browser may glitch or crash.

Desktops

Profile Intended for Idle RAM Login screen
openbox (Openbox Lite) older, low-RAM computers about 300 MiB LightDM
lxqt older, low-RAM computers about 375 MiB SDDM
xfce older, low-RAM computers about 425 MiB LightDM
mate more capable computers about 320 MiB LightDM

Idle RAM is memory in use after login, measured in virtual machines. All four come with Firefox. MATE is new in 2.0: tested in virtual machines with 2 and 4 GiB RAM (UEFI only), with limited testing on real hardware.

KDE Plasma, GNOME and Sway were considered and left out. Each has known, documented upstream problems on Alpine 3.24 that this project cannot fix: Plasma's login screen fails intermittently (Alpine aports issues 18168 and 18372), GNOME increasingly depends on systemd, which Alpine does not use, and Alpine's Sway setup has no login screen.

Screenshots

Taken with version 1.0; version 2.0 adds MATE to the list of desktops.

Installer: keyboard and time zone Installer: choose a desktop
Installer: summary before the disk is erased Installer: Alpine's setup-alpine running
Installer: finished First start: the desktop is downloaded and set up
Login screen Openbox Lite with its menu, Firefox and a terminal

Download

Get the ISO from Releases and compare its SHA-256 with the one the release lists:

sha256sum alpine-desktop-3.24.4-v2.0-x86_64.iso

The setup files on a released ISO are signed with this minisign public key:

RWTm2Oj1I9RnHv6ZT3Ltx1ofQ5OnZWttC6jEgknopyP3ITZhbe5sZMjd

Openbox Lite, LXQt and XFCE were tested in QEMU/KVM guests with 2 and 4 GiB RAM, UEFI and BIOS, with limited testing on real hardware. Secure Boot is untested. Back up first.

Install

Boot the ISO. The installer asks for keyboard, time zone, network (wired or WPA2/WPA3 Wi-Fi), one disk to erase, a user and a desktop, then runs setup-alpine. The first start finishes the desktop and restarts once. A network connection is required.

For dual boot, encryption or a text install, see INSTALL.md.

Use on an installed Alpine

sh setup-xfce.sh inspect eth0     # read-only
sh setup-xfce.sh configure eth0   # as root; then reboot and log in
sh setup-xfce.sh verify eth0      # prints JSON

setup-lxqt.sh, setup-openbox.sh and setup-mate.sh work the same way. Exit codes: 0 pass, 1 fail, 2 usage error, 42 deferred (custom settings kept, or a reboot is still owed). configure always ends with 42.

Network hand-over to NetworkManager is never run remotely; configure prints the one command to run at the computer's own console.

Build an ISO

On Alpine 3.24 x86_64, as an ordinary user:

sh build/make-iso.sh out

The ISO is labeled UNOFFICIAL and signed with a key made for the build; set SIGNING_KEY and SIGNING_PUBKEY to use your own minisign pair. Alpine's mkimage scripts are downloaded from a pinned commit and checked by SHA-256; they are not in this repository because Alpine states no license for them.

Develop

Python standard library and POSIX shell. No dependencies.

sh tests/check.sh                                     # everything CI runs
python3 -m unittest tests.test_network_module -v      # one test file

check.sh needs Linux (or WSL), python3 and shellcheck.

Changes per version: CHANGELOG.md.

Personal project, published as is; do not expect frequent updates. If you need a fix, fork it. MIT, see LICENSE.

About

Graphical installer and lightweight desktops (XFCE, LXQt, Openbox) for Alpine Linux. For low-RAM computers: old PCs and repurposed or embedded machines with fixed RAM.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages