Table of Contents

Finish debian sid Xfce Install

Fix broken //vte// support

sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh


Install my favorites

sudo apt install firmware-linux-nonfree tilix bash-completion mpv stacer nala sanoid libimage-exiftool-perl poppler-utils cifs-utils transmission xfce4-goodies gvfs-backends python3-psutil socat git vim accountsservice lightdm-gtk-greeter-settings kgames aisleriot


Install recoll

sudo nala install recoll ocrmypdf --install-recommends

This is my ocr script which runs ocrmypdf after I copy a newly created PDF to my document store.

#!/bin/bash

find /media/my/documents/ -type f -iname '*pdf' -newer ${0} -print -exec ocrmypdf {} {} \;

touch ${0}

recollindex


Change editor to vim

sudo update-alternatives --config editor


Install Oracle VirtualBox

sudo nala install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso
sudo usermod -aG vboxusers $(id -un)


Set up flatpak

sudo nala install flatpak gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo


Set Timezone

sudo timedatectl set-timezone America/New_York


Configure Network

I prefer to use a linux bridge for my virtual machines.

sudo nala install bridge-utils

/etc/network/interfaces

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

/etc/network/interfaces.d/enp5s0

iface enp5s0 inet manual

/etc/network/interfaces.d/br0

auto br0
iface br0 inet dhcp
	bridge_ports enp5s0
        bridge_hw enp5s0
	bridge_stp off


Install Steam

sudo dpkg --add-architecture i386
sudo nala update
sudo nala install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
sudo nala install Downloads/steam_latest.deb


Fix fwupd-refresh.service

I'm not sure why but after a recent install of Debian sid, the fwupd-refresh.service was failing to run with an error. Further investigation shows the service is configured to run as the fwupd-refresh user which was not found in /etc/passwd.

$ cat fwupd-refresh.service 
[Unit]
Description=Refresh fwupd metadata and update motd
Documentation=man:fwupdmgr(1)
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
CacheDirectory=fwupdmgr
DynamicUser=yes
StandardError=null
ProtectSystem=strict
ProtectHome=read-only
User=fwupd-refresh
RestrictAddressFamilies=AF_NETLINK AF_UNIX AF_INET AF_INET6
SystemCallFilter=~@mount
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictRealtime=yes
SuccessExitStatus=2
ExecStart=/usr/bin/fwupdmgr refresh

This user should have been created when the package was installed per this bug commit. Once this user was added, the service now runs without issue:

$ sudo adduser --quiet --system --group --no-create-home --home /run/systemd --gecos "fwupd-refresh user" fwupd-refresh