Open Suck
Latest changes based off OpenBSD 7.6
- Lightweight Desktop installer for OpenBSD based on the suckless philosophy
- Licensed under Mixed
- Discussion, patches etc. go to the list
Successfully installed on:
- ThinkPad X201
- ThinkPad X220
- ThinkPad X260
- Lenovo M73 Tiny
What You Get
The Open Suck installer gives you the absolute barebones desktop or laptop experience:
dwm
for window managementranger
for your file browserfirefox
as your core web browseraerc
for your terminal-based mail clientslock
for screen lockingscrot
/slop
for simple screenshot utilitiesfeh
for your image/file viewingdunst
for notifications
Downloading
- Download the latest OpenBSD iso and follow the installer
- Install
git
,vim
,bash
- Edit/create doas permissions (
/etc/doas.conf
):
permit nopass :wheel
Also add your desired user to the wheel
group:
usermod -G wheel bt
Now logout and log back in as your main user.
Clone the main installer project:
git clone https://git.sr.ht/~bt/open-suck-installer
cd open-suck-installer
Installing
- Install dependencies
- Compile and install suckless software
TL;DR
cd open-suck-installer # CD into this repository
doas sh ./install-dependencies.sh # Install OpenBSD packages
Installing on a Laptop
doas sh ./install-laptop.sh
Installing on a Desktop
doas sh ./install-desktop.sh
Copy over .xinitrc
:
cp .xinitrc ~/.xinitrc # Apply .xinitrc
Reboot the machine. Log in as your main user. Run:
startx
Optimizing OpenBSD
Improving Battery Performance / Enabling Sleep
Properly setup apmd:
rcctl enable apmd
rcctl set apmd flags -A
rcctl start apmd
Setup WiFi
The following assumes you have installed/setup the proper firmware updates for your hardware.
Create a new file hostname.iwn0
(change the extensions to what is reported
via ifconfig
)
join WIFI-NAME wpakey PASSPHRASE
dhcp
inet6 autoconf
up powersave
Then run the following:
ifconfig iwn0 up
You might also need to run doas sh /etc/netstart
after.