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
:
- Install and test python-validity fork (instead of snap)
- Clone
libfprint
driver repo - Apply patch for sensor 0097 as referenced in this issue
- Build and install
libfprint
(requiresmeson
,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
Aral's uber awesome Catts (Calmer Alt-Tab Task Switcher).
Install fish shell by simply followin—again—one of Aral's write-ups.
For then enabling the font used by tide do the following:
For elementary Terminal use this command: gsettings set io.elementary.terminal.settings font 'MesloLGS NF'
For Visual Studio Code and Codium to enable fish shell and font adjust ~/.config/Code/User/settings.json
as follows:
{
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.defaultProfile.linux": "fish",
"terminal.integrated.profiles.linux": {
"fish (login)": {
"path": "fish"
}
}
}