Fix missing dependency for TuxGuitar under Debain

October 25, 2023 - Reading time: ~1 minute

If TuxGuitar refuses to load GuitarPro files (.gp) with the error message "org/apache/commons/compress/archivers/zip/ZipArchiveInputStream", a dependency is is missing.

An error window with a "do not enter" traffic sign and the message "org/apache/commons/compress/archivers/zip/ZipArchiveInputStream"

To install the missing dependency, execute the following command:

sudo apt install libcommons-compress-java

A bug report has been submitted already:

Restarting I2C when touchpad is not working

January 11, 2022 - Reading time: ~1 minute

After I replaced the Clickpad of my Lenovo L440 with a touchpad (see the Touchpad would not work occasionally under Debian when returning from suspend. I created a small script called with the following content:

sudo /sbin/rmmod i2c_i801 && sudo /sbin/modprobe i2c_i801

This restarts the I2C bus kernel module, which makes the touchpad work again. I run it whenever necessary.

Publish to Maven Central Repository

April 21, 2021 - Reading time: ~1 minute

Just some random notes to myself (aka "Move along, folks. Nothing to see here."):

mvn verify gpg:sign install:install deploy:deploy

Remove superfluous apps from Lenovo Yoga Smart Tab

June 5, 2020 - Reading time: 2 minutes

I tried to deactivate several apps which I did not use on my Lenovo Yoga Smart Tab. Unfortunately the Play Store displayed updates for them soon after and they were activated again by some kind of magic.

To remove the apps I do not want on my device I connected via

adb shell

and uninstalled them by running the following commands:

pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0 # Google Duo
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0 com.lenovo.screenassistant
pm uninstall -k --user 0        # Digital Wellbeing
pm uninstall -k --user 0        # Files
pm uninstall -k --user 0                # GMail
pm uninstall -k --user 0            # Google Drive
pm uninstall -k --user 0                # Skype
pm uninstall -k --user 0            # Google Play Videos
pm uninstall -k --user 0            # Google Play Music
pm uninstall -k --user 0
pm uninstall -k --user 0
pm uninstall -k --user 0

Packages can be searched with

pm list packages | grep SEARCH_TERM

Fixing failure of software upload to µController

December 5, 2019 - Reading time: ~1 minute

If uploading software from the Arduino IDE or the commandline via avrdude to a microcontroller like an Arduino or an ESP8266 fails due to missing access rights ("Permission denied"), what helps is either

sudo chmod a+rw /dev/ttyUSB0

or adding the user to the group "dialout":

sudo usermod -a -G dialout theuser


Repairing the file system of Debian after hard shutdown

October 14, 2019 - Reading time: ~1 minute

Sometimes after a hard shutdown the file system of my laptop is corrupted and Debian starts in maintenance mode.

What helps is repairing the file system using the command

fsck -y /dev/sda1