Blog – tag: sh

Latest articles

Showing posts tagged sh show all

Linux capture animated GIFs with rectangle select

how-tolinux

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.

Linux rotate Lenovo Yoga X1 Display with Xrandr

how-tolinux

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.

Linux Backup changed files of the last 7 days

how-tolinux

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: If you only want to backup certain file types you can extend the find for example the following way: