Passing-through a GPU to a virtual machine requires loading vfio-pci, instead of the "normal" GPU driver. Normally you use the device-ids to select the graphic card for the virtual machine, but what if they share the same id?
In Sway, the wayland version of i3-gaps, regular x11 screenshot tools, like maim are not working. Thankfully there are some alternatives to consider.
The Sony MDR-1000X and it's successors the WH-1000XM2 and WH-1000XM3 are some of the best bluetooth headphones out there. With it's easy to use integrated touch pad on the right side and the great noise cancelling they are an ideal daily driver at the office. Using them on Linux is quiet straight forward with some caveats on high quality audio.
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...