elementary OS 6 Odin Cheat Sheet

Some useful commands that I cannot or do not want to remember or that I use regularly:

Maintenance

sudo apt update \
   && sudo apt upgrade \
   && sudo apt dist-upgrade \
   && sudo apt autoremove \
   && sudo apt autoclean \
   ; flatpak update \
   ; sudo fwupdmgr update

Pantheon Tweaks

sudo apt install software-properties-common
sudo add-apt-repository -y ppa:philip.scott/pantheon-tweaks
sudo apt install -y pantheon-tweaks

Battery

sudo add-apt-repository ppa:linrunner/tlp
sudo apt update
sudo apt-get install tlp
sudo tlp start

Fingerprint Reader

On ThinkPad T25 (T470) one needs to patch, build and install libfprint driver for 0097 Validity Sensors, Inc :

  1. Install and test python-validity fork (instead of snap)
  2. Clone libfprint driver repo
  3. Apply patch for sensor 0097 as referenced in this issue
  4. Build and install libfprint (requires meson, ninja)
# setup
sudo apt install libpam-fprintd
sudo systemctl start fprintd

# enroll
fprintd-enroll
sudo pam-auth-update --enable fprintd
# sudo pam-auth-update --enable sudo
# sudo pam-auth-update --enable ssh

UI Customization

E.g. Gala Plugins, etc