User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:linux:debian [2023/02/14 06:55] wikiadmincomputers:linux:debian [2024/01/24 01:11] (current) – [Install recoll] wikiadmin
Line 1: Line 1:
 ====== Finish debian sid Xfce Install ====== ====== Finish debian sid Xfce Install ======
-=== Fix broken //vte// support ===+==== Fix broken //vte// support ===
  <code>sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh</code>\\   <code>sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh</code>\\ 
-=== Install my favorites === + 
- <code>sudo apt install tilix mpv stacer recoll cifs-utils transmission xfce4-goodies gvfs-backends python3-psutil socat git vim accountsservice lightdm-gtk-greeter-settings</code>\\  +==== Install my favorites ==== 
-=== Change editor to vim ===+ <code>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</code>\\  
 + 
 +==== Install recoll ==== 
 +<code>sudo nala install recoll ocrmypdf --install-recommends</code> 
 +This is my ocr script which runs ocrmypdf after I copy a newly created PDF to my document store. 
 +<code> 
 +#!/bin/bash 
 + 
 +find /media/my/documents/ -type f -iname '*pdf' -newer ${0} -print -exec ocrmypdf {} {} \; 
 + 
 +touch ${0} 
 + 
 +recollindex 
 +</code>\\  
 + 
 +==== Change editor to vim ====
  <code>sudo update-alternatives --config editor</code>\\   <code>sudo update-alternatives --config editor</code>\\ 
-=== Install Oracle VirtualBox === + 
- <code>sudo apt install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso</code><code>sudo usermod -aG vboxusers $(id -un)</code>\\  +==== Install Oracle VirtualBox ==== 
-=== Set up flatpak === +<code> 
- <code>sudo apt install flatpak gnome-software-plugin-flatpak</code><code>flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo</code>\\  +sudo nala install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso 
-=== Set Timezone ===+sudo usermod -aG vboxusers $(id -un) 
 +</code>\\  
 + 
 +==== Set up flatpak ==== 
 +<code> 
 +sudo nala install flatpak gnome-software-plugin-flatpak 
 +flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 
 +</code>\\  
 + 
 +==== Set Timezone ====
 <code>sudo timedatectl set-timezone America/New_York</code>\\  <code>sudo timedatectl set-timezone America/New_York</code>\\ 
-=== Configure Network ===+ 
 +==== Configure Network ====
 I prefer to use a linux bridge for my virtual machines.\\  I prefer to use a linux bridge for my virtual machines.\\ 
-<code>sudo apt install bridge-utils</code>+<code>sudo nala install bridge-utils</code> 
 +/etc/network/interfaces\\  
 +<code> 
 +source /etc/network/interfaces.d/
 + 
 +# The loopback network interface 
 +auto lo 
 +iface lo inet loopback 
 +</code>
 /etc/network/interfaces.d/enp5s0\\ <code>iface enp5s0 inet manual</code>/etc/network/interfaces.d/br0\\  /etc/network/interfaces.d/enp5s0\\ <code>iface enp5s0 inet manual</code>/etc/network/interfaces.d/br0\\ 
 <code>auto br0 <code>auto br0
 iface br0 inet dhcp iface br0 inet dhcp
- hwaddress 04:42:1a:e8:0e:9d 
  bridge_ports enp5s0  bridge_ports enp5s0
 +        bridge_hw enp5s0
  bridge_stp off  bridge_stp off
 </code>\\  </code>\\ 
-=== Install Steam === 
  
-<code>sudo dpkg --add-architecture i386</code> +==== Install Steam ==== 
-<code>sudo apt install Downloads/steam_latest.deb</code>\\ +<code> 
 +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</code>\\  
 + 
 +==== 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. 
 +<code> 
 +$ 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 
 +</code> 
 +This user should have been created when the package was installed per this [[https://github.com/fwupd/fwupd/commit/e90b04d7319874db36c06245ab07858589ce8bc8|bug commit]]. Once this user was added, the service now runs without issue: 
 +<code> 
 +$ sudo adduser --quiet --system --group --no-create-home --home /run/systemd --gecos "fwupd-refresh user" fwupd-refresh</code>

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information