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.
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.
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'
hf-theme paper
hf-theme lamp
hf-theme auto
hf-theme toggle
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'
Plank and Ulauncher stay, with their own HydroFlask themes. Ulauncher also gets keyword shortcuts for research:
gs: Google Scholars2: Semantic Scholardoi, jstor, wc (WorldCat)def and th: Merriam-Websterz pluginsudo 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.
This is what the machine is for now.
paper builds Markdown into PDF, HTML, or DOCX with pandoc and weasyprint, so no LaTeX.bib file, and paper cite picks a key with fzffocus mutes notifications, hides the panel and dock, and opens Apostrophe. When I close it, everything comes back and it tells me how many words I wrote.note appends a timestamped line to an inbox, and journal opens today's entry; snippets for dashes, Greek letters, dates, and citationssudo 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
Super+Shift+F starts focus, Super+Shift+T toggles paper and lamp, Super+Shift+N takes a notegsettings 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']"
power-saver on battery and balanced on AC/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.
/sudo timeshift --create --scripted --comments "baseline"
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.
.bib file is edited by hand.