Back

Another Life with Linux Mint [v2]

2026-10-12

I redid the config I had for my first Linux machine. The macOS look from the first version is redone. It's now light, warm, and built for daily reading and (occasioanlly) writing.

Setup

Same machine: a 2017 MacBook Air with a 13.3" 1440x900 display, 1.8GHz dual-core Intel Core i5, 8GB of soldered RAM, and Intel HD Graphics 6000. It runs Linux Mint 22.3 Cinnamon on X11. The Broadcom Wi-Fi uses the proprietary wl driver, and the FaceTime HD webcam has no driver, so I skipped it.

The install is the same as before. Everything after it is scripted, so I can wipe the machine and get this back by running one script.

Config

Theme

The palette, in config/palette.sh:

P_BG0="#f2ece0"   # window
P_BG1="#e7dfcf"   # headerbars, panel
P_BG2="#fbf8f1"   # paper
P_BG3="#ddd2bb"   # selection, hover
P_FG="#2a2520"    # ink
P_FG_DIM="#73685a"
P_ACCENT="#b0452b"  # red pencil
P_ACCENT2="#2e5a87" # blue ink
gsettings set org.cinnamon.desktop.interface gtk-theme 'HydroFlask'
gsettings set org.cinnamon.theme name 'HydroFlask'
gsettings set org.cinnamon.desktop.wm.preferences theme 'HydroFlask'
gsettings set org.cinnamon.desktop.interface icon-theme 'Mint-L-Brown'
gsettings set org.cinnamon.desktop.interface cursor-theme 'Bibata-Modern-Classic'

Mint's portal setting has to be prefer-light, or libadwaita apps, Firefox, and Electron apps think the system is dark:

gsettings set org.x.apps.portal color-scheme 'prefer-light'

Lamp

hf-theme paper
hf-theme lamp
hf-theme auto
hf-theme toggle

Fonts

sudo apt install fonts-ibm-plex
gsettings set org.cinnamon.desktop.interface font-name 'IBM Plex Sans 10'
gsettings set org.cinnamon.desktop.wm.preferences titlebar-font 'IBM Plex Sans SemiBold 10'
gsettings set org.gnome.desktop.interface document-font-name 'IBM Plex Serif 11'
gsettings set org.gnome.desktop.interface monospace-font-name 'ZedMono Nerd Font Mono 10'

Dock and launcher

Plank and Ulauncher stay, with their own HydroFlask themes. Ulauncher also gets keyword shortcuts for research:

Terminal

sudo apt install bat eza fzf git-delta btop zoxide ripgrep fd-find tmux

Ubuntu renames two binaries, so bat and fd are linked into ~/.local/bin.

Writing

This is what the machine is for now.

sudo apt install pandoc weasyprint citation-style-language-styles xclip \
  foliate zathura zathura-pdf-poppler apostrophe hunspell hunspell-en-us wmctrl libnotify-bin
paper essay.md -t pdf
focus ~/Documents/writing --goal 500

Desktop

gsettings set org.cinnamon hotcorner-layout "['expo:true:150', 'scale:false:0', 'scale:false:0', 'desktop:false:0']"
gsettings set org.cinnamon.desktop.wm.preferences workspace-names "['Write', 'Read', 'Code', 'Misc']"

Memory and power

/etc/systemd/zram-generator.conf and /etc/sysctl.d/99-cupboard-zram.conf:

zram-size = ram / 2
compression-algorithm = zstd

vm.swappiness = 100
vm.page-cluster = 0

/etc/udev/rules.d/99-cupboard-power-profile.rules runs powerprofilesctl when the charger is plugged in or removed.

Snapshots

sudo timeshift --create --scripted --comments "baseline"

Wi-Fi

This is the fragile part. If the wl driver fails to rebuild after a kernel update, the laptop loses its network and can't download its own fix. An apt hook checks after every install and warns if wl isn't built for an installed kernel.

dkms status

I keep an older kernel installed as a fallback, and I never remove kernel packages without checking this first.

Still to do