Published on

Pi Notebook

Connecting via VNC when in headless mode

vncserver
vncserver -kill :1

Mounting vfat vs ext4

vfat will not allow using linux permission layer properly. Prefer ext4 if not physically sharing Hard Disk with other OS

UUID=CBOC-879D /mnt/fa vfat defaults,auto,users,rw,nofail,umask=000,dmask=000,x-systemd.device-timeout=10 0 0
UUID=7b61379-d13d-4a11-ab2d-8fd86c39944 /mnt/ex ext4 defaults,nofail,noatime,x-systemd.device-timeout=10 0 0

Good Aliases

alias ls="\ls --ignore=lost+found"
  • \ls removes color
  • --ignore=lost+found for ext3/4 filesystems

Jellyfin on Pi

sudo apt-get update && sudo apt-get upgrade
sudo apt install apt-transport-https gnupg lsb-release
wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | sudo apt-key add -
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
sudo apt update
sudo apt install jellyfin
sudo systemctl status jellyfin
hostname -I

Enable hardware acceleration (HWA) of video encoding/decoding

sudo usermod -aG video jellyfin
sudo systemctl restart jellyfin.service

Enable HWA in Jellyfin Admin Settings. Choose OpenMax OMX implementation from dropdown if you wish to be on bleeding edge firmware and kernel updates (not advised)

sudo rpi-update