Bug partial fixes
After resume led blinking
Sometimes after suspend and resume thinkpad led blinks.
# echo '0 on' > /proc/acpi/ibm/led
After resume from suspend fans go full speed and laptop shuts down
After suspend and resume fans go full speed and laptop shuts down. Link to kernel bug
To solve this everytime you resume change to any tty (tty1 for example using ctrl+alt+f1) and then back to xorg session (ctrl+alt+f7).
After resume from suspend there's no wifi
Run the following commands (the order is important):
sudo modprobe -r iwlmvm && sudo modprobe -r iwlwifi && sudo modprobe iwlmvm && sudo modprobe iwlwifi
sudo systemctl restart network-manager.service
Caps lock notification
As this laptop has no led indicator for Caps lock an option is having a terminal at the bottom of the screen always opened with this command running:
watch -n 1 'echo $(echo CAPS LOCK && xset q | grep -i caps | cut -c 22-24)'