Some time ago, I tried to cut video files at specific timestamps. However, the tools I knew didn't work accurately or had other drawbacks with those specific types of videos. In the following, I describe what I learned while analyzing the problem and writing an own tool to cut my videos.

For the ARMv7-based RPi2, the official Ubuntu wiki offers a community-maintained 14.04 image and Ubuntu Mate offers an image with a complete desktop. As I wanted to start with something minimal and more recent, e.g., including systemd, I started to write a script that builds my own image.

If you want to update the maps of your navigation system, Garmin recommends to install the Garmin Express software. Unfortunately, this application depends on the .net framework version 4.5 and is not available for Linux. Also, I was not able to start it with Wine. I installed the old communicator plugin in Firefox using Wine and it even detected my Nüvi 1490LM but updating the maps was not possible anymore with this tool. Instead, it offered me to use another older tool called MapUpdater 3.3.4 on the Garmin Express website. With this tool and Wine 1.7.46, I was able to update my maps using the following procedure.

Today, I installed Ubuntu 14.04 on a new machine with full disk encryption and a Btrfs root filesystem. As the disk partitioning tool of the Ubuntu installer becomes confusing with more complex setups, I decided to just setup one hard disk at first and add the second in a RAID1 configuration later. After I successfully booted into the new system, I started to add the second hard disk. First, I simply copied the GUID partition table (GPT) with

If you buy a USB sound card today, there is a good chance that the device will work out of the box due to the USB device class definition for audio devices which defines a standard interface for audio devices over USB and is supported by the Linux kernel for a long time. However, if the device does not use the standard audio interface, like the Behringer BCD2000 in this article, it won't work without an own driver and the only thing you will see in dmesg is something like this:

As we run quite a few machines with Ubuntu installed and we don't want to update each one ourselves, we installed the package unattended-upgrades which updates the package lists and upgrades the installed packages periodically.

To enable unattended-upgrades, add the following lines to /etc/apt/apt.conf.d/10periodic:

I tried to disable the automatic assembly of mdadm during boot in order to assemble it using my own script. A controller has hiccups sometimes and automatic assembly would result in degraded arrays. Unfortunately, the common hints, e.g., adding

DEVICE /dev/null or AUTO -all

to the mdadm.conf, did not work. They don't work because the initramfs script (at least on Ubuntu) does not use the system's mdadm.conf in case there is no ARRAY line in the file and regenerates a new one for the initramfs. In my case, I did not specify an array as auto detection worked perfectly. So, after including an ARRAY statement and updating the initramfs, the arrays did not get assembled automatically anymore.