Acer Nitro 5 power button broken in Ubuntu 20.04

Update 2023.03.17: a reader of this blog, W0CKY, came up with a much better solution: sudo setkeycodes 55 116 I packaged that into a script: #!/bin/bash if [[ $EUID -ne 0 ]]; then echo re-running as root exec sudo /bin/bash "$0" "$@" else echo rewriting key codes setkeycodes 55 116 fi ... configured sudoers to … Continue reading Acer Nitro 5 power button broken in Ubuntu 20.04

Higher frame rate with Microsoft LifeCam and Linux

The Microsoft LifeCam is a versatile USB Webcam family which is supported well in Ubuntu Linux. Unfortunately it records HD videos only at low fps, but there is a workaround to get high resolution with 30 fps. Install guvcviewOpen guvcview, switch to the Video Controls tab and pick the LifeCamSelect 30/1 fps in the Frame … Continue reading Higher frame rate with Microsoft LifeCam and Linux

Building the perfect, cheap DIY NAS

This post was extensively discussed on Hacker News.Alex Buznik, nas.net.ua kindly provided a two-part Russian translation: part1 and part2. This post discusses hardware considerations, installing Linux, setting up software RAID, robustness and dealing with data corruption. I've been running for a decade a self-built NAS at home, so I thought I'd write down my experience … Continue reading Building the perfect, cheap DIY NAS