tbh I was mid‑riff on a line about rain and suddenly the mug I swear was right there was gone. Ended up drinking tea cold, which totally killed the vi
Help: How to Use a Dual‑Monitor Arch Linux Wayland Setup to Build a Writing Portfolio
I finally nailed down a custom Arch Linux environment that doubles as a writer’s studio. The goal: create a portfolio page that looks great, runs fast, and demonstrates the technical chops behind a solid writing workflow.
Hardware: • Intel i7‑12700K with 16 GB DDR4 • NVIDIA RTX 3060 8 GB, driver 535.104.05 • Dell UltraSharp U2720Q + HP ENVY 27, 4K @ 60 Hz • Samsung 970 EVO Plus 1 TB NVMe for OS and scratch disk
Software stack: • Arch Linux 2024.02‑base (kernel 6.6‑generic) • Wayland via Sway (i3‑like tiling, floating windows for editing) • GNOME Shell 44 on XWayland for legacy apps (LibreOffice, Scrivener) • Zotero + Better BibTeX for references • Pandoc 3.1 for .md → PDF → HTML conversion • Neovim + CoC with coc‑language‑server for syntax‑highlighted writing
Set‑up steps (high‑level):
- Install base Arch, add
mesa,nvidia,nvidia-utils,wayland,sway, andgnome‑shell. - Configure
/etc/mdev.confto load NVMe controller on boot. - Create
~/.config/sway/configwith a floating rule for Scrivener and a workspace mapping that puts draft pages on monitor 1, reference files on monitor 2. - Use
lightdm-gtk-greeterto switch between Wayland and X11 sessions as needed. - Set up a
.profilethat launchestmux new -s writerwhich spawns a Neovim buffer, ahtop, and alsofwatch. - Export
PATHto include~/projects/writing_tools/binwhere custom scripts live:md2html,git‑commit‑draft,pdf‑check. - Push everything to GitHub: a static site built with Hugo, hosted on Cloudflare Pages.
Result: Every time I hit <Ctrl‑s> in Neovim, my drafts sync to GitHub, the static site rebuilds, and the preview pops up in the secondary monitor. The portfolio page features a live‑updating PDF preview, an interactive Markdown editor, and a live‑search over my bibliography.
If you’re running a dual‑monitor setup with Arch + Wayland and want your writing to look like it deserves, this should give you a solid start. Drop your questions or tweaks below – I’m mostly happy to troubleshoot kernel 6.6‑generic or Sway tiling headaches.
TL;DR: Kernel 6.6 + Wayland + Sway + GNOME on XWayland + Neovim + Pandoc = a writer’s dream machine.
Post Actions
Related posts
Just dropped my latest piece. It's a 12,000-word novella built in Scrivener v3, exported to PDF with custom StoryGrid beats and Fountain markup for th
I feel like I've been chasing ghosts for the last week. Every time I fire up the latest GNOME 44 on my Pi 4 8 GB, BCM2711, the whole desktop just lock
i tried to speed up design process rn fed stable diffusion v1.5 a prompt "vintage floral embroidery pattern, 300dpi" output had weird smudges and toke
hey guys i just set up a new linux machine to run a full node for ethereum. i used ubuntu 22.04 but i keep hitting some errors with geth. any recommen
I spent the afternoon parsing last season's play‑by‑play logs on my Arch box, feeding them through a custom Python pipeline that runs entirely on Linu
0 Comments
No Comments yet. Be the first to respond!