Here are some notes about installing Debian on a Thinkpad, when things come to a fully-blown desktop environment with the following characteristics:
After downloading the net installer, install things with a minimal setting, and do not install any desktop environments. Once the basic installation is done, use the following lines in /etc/apt/sources.list:
deb https://ftp.jp.debian.org/debian/ sid main contrib non-free deb-src https://ftp.jp.debian.org/debian/ sid main contrib non-free
The mention of “sid” ensures that unstable is used for the repository syncs. “contrib” and “non-free” give access to more packages, including non-free drivers usable for a Thinkpad.
Then run the following commands:
apt-get update apt-get dist-upgrade
And the environment should be able to run on SID with all the packages wanted.
By default Debian does not include the Wifi and WWAN drivers for the thinkpad, however, those are available in the package iwlwifi. In order to be able to install those, add “contrib” and “non-free” to /etc/apt/sources.list.
For automatic USB mounting, usbmount is not supported anymore since Debian Stretch, so an alternative is to use udiskie.
And those really facilitate your life!
Package network-manager-gnome comes with a nice binary called nm-applet which can be used to have a small menu on the i3 status bar, including tracking for SIM card connection! Just add that to .i3config and you are good to go:
exec --no-startup-id nm-applet --sm-disable
Install a display manager like lightdm. Note that lightdm does not load directly .xinitrc contrary to slim, but you can override that by using .xsession in the following way for example:
# Tweak to enforce settings to be loaded when logging in. /bin/bash --login -i ~/.xinitrc
Here are some useful packages as well:
xautolock can be used for this purpose.
ttf-bitstream-vera is a nice font package that can be used.
mutt may complain about the following error:
1) warning "GPGME: CMS protocol not available"
This can be countered by installing the package gpgsm:
apt-get install gpgsm
Debian does not create a “wheel” group or “power” group, but those can be controlled using systemctl;
systemctl poweroff systemctl reboot