Alpine Xfce setup notes

2024-11-16 22:09

Christ, what a mission. Way out of my depth. Here's a dump of notes on setting up Alpine with Xfce DE.

Pesky extra configurations

Enable shut down and reboot

Allow shut down and reboot

Setup sound

ALSA (requires reboot)

Set Super+D to show desktop

Windows Manager

Set super button to open Application Finder in collapse mode

  • Open Keyboard from Application Finder
  • Application shortcuts
  • Edit xfce4-appfinder --collapsed
  • Note: went back to ALT-F4 because this ruined the Super-L/R/U/D tiling commands.

Disable root login over SSH

$ doas vi /etc/ssh/sshd_config
  • Change PermitRootLogin prohibit-password to PermitRootLogin no

Additional folders

$ mkdir src bin repos sync scripts

Useful article on building from source best practices

Configure syncthing

Just syncing notes at the moment. Getting started

  • Add syncthing -no-browser command to Session and Startup

Enable yanks to system clipboard

$ sudo apk add xsel

Install marksman LSP from binary

Installation options

Work in progress

  • Fix syntax highlighting for Helix LSPs like marksman

  • Bookmarks - forgot to backup my buku database so I need to somehow reverse the bookmarks on my links page back into the right format. Esentially reverse my scripts that generate the html.

  • Copying and adjusting my aliases and scripts.

Accepted defeats

These aren't in the standard apk package manager, and I'm not great at the work arounds, installing from bins or source, and not too keen on installing other package managers for the sake of grabbing another app or two. I did try nix however and failed miserably.

  • Brave browser - Gone back to Firefox. That's ok. My biggest pains with Brave was not being able to access the address bar in full-screen mode, and no keyboard shortcut for "speedreader". Firefox has both these functions.

  • VS Code - A bit of the pain at the moment because I'm not fully set up with the Helix/lazygit workspace I want to be at, but it'll encourage me to get that sorted.

  • yazi file explorer - Installed ranger instead which was available, and seems just as good.