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 [2024/01/08 21:01] – [Install Steam] wikiadmincomputers:linux:debian [2024/01/24 01:11] (current) – [Install recoll] wikiadmin
Line 5: Line 5:
  
 ==== Install my favorites ==== ==== Install my favorites ====
- <code>sudo apt install firmware-linux-nonfree tilix bash-completion mpv stacer recoll 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>\\ + <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 ==== ==== Change editor to vim ====
Line 12: Line 25:
 ==== Install Oracle VirtualBox ==== ==== Install Oracle VirtualBox ====
 <code> <code>
-sudo apt install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso+sudo nala install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso
 sudo usermod -aG vboxusers $(id -un) sudo usermod -aG vboxusers $(id -un)
 </code>\\  </code>\\ 
Line 18: Line 31:
 ==== Set up flatpak ==== ==== Set up flatpak ====
 <code> <code>
-sudo apt install flatpak gnome-software-plugin-flatpak+sudo nala install flatpak gnome-software-plugin-flatpak
 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 </code>\\  </code>\\ 
Line 27: Line 40:
 ==== 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\\  /etc/network/interfaces\\ 
 <code> <code>
Line 39: Line 52:
 <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>\\ 
Line 47: Line 60:
 <code> <code>
 sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
-sudo apt update +sudo nala update 
-sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 +sudo nala install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 
-sudo apt install Downloads/steam_latest.deb</code>\\ +sudo nala install Downloads/steam_latest.deb</code>\\ 
  
 ==== Fix fwupd-refresh.service ==== ==== 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. This user should have been created when the package was installed per this [[bug commit]https://github.com/fwupd/fwupd/commit/e90b04d7319874db36c06245ab07858589ce8bc8]. Once this user was added, the service now runs without issue:+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> <code>
-adduser --quiet --system --group --no-create-home --home /run/systemd --gecos "fwupd-refresh user" fwupd-refresh</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