My Slackware Linux Notebook
Published on Aug 23, 2023 by doombaby.
This is the chronicle of a notebook I began customizing on October 22, 2018. I am the second proprietor of a notebook which I received in good condition. In 2021 I replaced the front battery. Following an accident in 2022 I replaced the LCD panel, lid, hinges, camera, and two antennas. An NVME M2 solid state drive is divided into two logical partitions. The UEFI system partition and boot directory are written to the first partition, while three LUKS encrypted LVMs are written to the second partition. The LVMs are mapped to root, home, and swap. Although the Linux Kernel has been upgraded on several occasions I have been fortunate enough to survive on a single Slackware 64 Current install.
Info
Hardware
Make: Lenovo
Model: ThinkPad T470s
CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
Mods
Display: LP140QH1-SPF2 QHD 2560x1440
Hard Drive: MZVLW1T0HMLH-000L7 1TB SSD
RAM: HMA82GS6AFR8N-UH 16GB DDR4
Software
Hostname: lilit.koba.ninja
Kernel: 6.1.46
Version: Slackware 15.0+
Variables
Date=$(date +%F) Hostname=$(hostname) Kernel=$(uname -r) Version=$(cat /etc/slackware-version) Make=$(dmidecode -s system-manufacturer) Model=$(dmidecode -s system-version) CPU=$(dmidecode -s processor-version)
Config
# Bash ~/.bashrc ~/.bash_profile ~/.functions # Conky ~/.config/conky/lilit.conkyrc # Emacs ~/.emacs # Kitty ~/.config/kitty/kitty.conf # NON Mixer ~/.non-mixer/lilit/info ~/.non-mixer/lilit/mappings ~/.non-mixer/lilit/options ~/.non-mixer/lilit/snapshot # Openbox ~/.config/openbox/autostart ~/.config/openbox/fehbg ~/.config/openbox/menu.xml ~/.config/openbox/rc.xml # PN Mixer ~/.config/pnmixer/config # SSH ~/.ssh/config # Tint2 ~/.config/tint2/tint2rc # Tmux ~/.tmux.conf # VIM ~/.vimrc # Wanderlust ~/.wl ~/.folders # Xplugd ~/.confg/xplugrc
Network
The network is configured using netconfig, WPA Supplicant, dhcpcd, and a bash script which configures a VLAN aware bridge for virtual machines and containers.
/etc/rc.d/rc.inet1.conf # Netconfig /etc/wpa_supplicant.conf /etc/dhcpcd.conf /usr/bin/bridge.vlan # VLAN Aware Bridge
Upgrade
Conky’s built-in RSS feed displays Kernel and software package updates whenever they become available. Kernel and software package upgrades are always run manually using bash scripts.
~/bin/upgrade_kernel.sh # Upgrade Linux Kernel ~/bin/upgrade_slackware.sh # Upgrade Slackware Packages ~/bin/upgrade_multilib.sh # Upgrade 32-bit Slackware Packages