There are multiple solutions capturing GIFs under Linux and I tried a lot. Most have usability issues, produce way to large output files or don’t even allow to grab a rectangle. As I am using i3 wm, it also needs to be able to be started via a shortcut without any GUI software.

The Lenovo Yoga X1 with the OLED display is a great linux laptop, but there are some things that can be quite tricky. When you rotate the Lenovo Yoga X1, you need also adjust the Touchscreen and Pen Input Matrix (Two devices). There are two different drives available for the touchpad, libinput or evdev. Personally i prefer libinput as it just seems to work more precise and reliable.

Sometimes it’s useful to backup only files in an folder (and subfolders) that have been changed in the last 7 days.

For this you can use find and tar:

find . -mtime -7 -print | xargs tar cvzf "backup-$(date +%y-%m-%d).tar.gz"

If you only want to backup certain file types you can extend the fin...