Linux
Rant: 2026 will not be the 'Year of Linux on the Desktop' -- and I'm glad (Feb 2026)Why are we complaining about the smallness of the proportion of desktop computers that run Linux -- perhaps we should be celebrating instead?
Categories: Linux
Command-line hacking: a really simple console music player (Feb 2026)Select a directory from a list, and play all the music files in that directory. How difficult can that be?
Categories: Linux, command-line hacking
Command-line hacking: Downloading a podcast to create an audiobook (Jan 2026)If a podcast has an RSS feed, we can download it, parse it, and then download all the content into a single folder, which can then be played by any audio player.
Categories: Linux, command-line hacking
AppImage from scratch (Oct 2025)This article describes how AppImage packaging works on Linux. It's based on a simple demonstration that uses nothing but commonplace command-line tools, to create a self-contained, distributable application (albeit a trivial one).
Categories: Linux
Creating an animated score for demonstrating musical compositions on YouTube, etc (Sep 2025)Animated musical scores are quite common on YouTube, for educational and promotional purposes. This article explains how to create one, using OpenShot and other Linux tools.
Using thinkfan for fan control on Lenovo (Linux) laptops (Aug 2025)I don't much care for how hot my laptops run, before the cooling system takes action to bring the temperature under control. What can be done about that?
Categories: Linux
antiX vs. MX Linux on old-ish laptops (Jul 2025)MX and antiX are both Linux variants that offer some hope to people who want to keep their old-ish computers running. Both tip-toe around the systemd rabbit hole, but in different ways. But which is better?
Categories: Linux
Using Windows is like smoking (?) (Dec 2024)As the Microsoft Windows user experience continues to worsen, what should Linux advocates do?
Categories: general computing, Linux
Ten steps to becoming a Linux snob (Dec 2024)There was a time when merely being a Linux user set you apart from the common herd. These days, with Linux so ubiquitous, you'll need to take additional steps to make yourself out as one of the elite.
Categories: Linux
Wayland from the ground up (Dec 2024)Wayland isn't new, but many of us have been able to avoid it until recently. With many Linux distributions now pushing Wayland hard -- even for the Raspberry Pi -- it's getting harder to justify ignoring it. This article is for people who have been hoping until now that Wayland will go away, particularly X developers, and don't know much about how it works
Categories: Linux
Why systemd is a problem for embedded Linux (Nov 2024)I don't want to post yet another anti-systemd rant, but I think the ubiquity of systemd could eventually create real problems for embedded Linux. I just wish I knew what to do about it.
Categories: Linux
Gentoo vs. MX Linux on old-ish laptops (Oct 2024)It isn't easy to run Linux well on ten-year-old laptops -- Linux distribution maintainers no longer see this as a worthwhile endeavour. In this article I compare Gentoo and MX Linux as potential solutions to this problem.
Categories: Linux
Fitting an NVMe disk in a computer with no NVMe support (Sep 2024)Can you fit an NVMe solid-state drive into a computer that was made long before NVMe was invented? And should you?
Categories: Linux
Comparing Dropbox, pCloud, and rsync.net for off-site storage for Linux users (Sep 2024)For a Linux user in particular, which of these popular services is the most effective?
Categories: Linux
A few interesting features of Vim, part 1 (Aug 2024)The Vim text editor is almost ubiquitous on Linux systems, and for good reasons. This is the first article in a series which seeks to uncover some handy features of Vim, that don't seem to be widely known.
Categories: Linux
One month with Gentoo (Jul 2024)Will my Gentoo journey be coming to an end after the first month?
Categories: general computing, Linux
Going back to ALSA in 2024 (Jun 2024)Not everybody likes Pulse audio or PipeWire. But is it practicable to abandon them in favour of traditional ALSA at this point?
Can you use ALSA to get 'bit-perfect' audio playback on Linux? (Jun 2024)Regardless of the subjective merits of 'bit-perfect' audio, is it technically possible on Linux?
Using Private Internet Access VPN with Gentoo Linux (Jun 2024)It's not that difficult, but there's no built-in support.
Gentoo Linux -- is this the solution to the Winux problem? (Jun 2024)Even seasoned Linux developers speak of Gentoo in hushed tones. It's not for the faint-hearted, that's for sure. But how stout-hearted must you be, for Gentoo to be appropriate?
Categories: general computing, Linux
Adventures with Artix (Mar 2024)Artix is a low-resource Linux that can be configured to run well on old, low-powered computer hardware. In this article, I describe my first attempts at setting it up.
Categories: general computing, Linux
Command-line hacking: countdown timer (Mar 2024)Using Linux date calculations to displaying a running countdown time in the terminal.
Categories: Linux, command-line hacking
How Linux home directory encryption works (Mar 2024)Encryption of home directories is out of favour in modern Linux distributions, but it offers some compelling advantages over the alternatives, if used with care.
Categories: Linux
Command-line hacking: calculating the phase of the Moon (Jan 2024)How to use Bash shell arithmetic, along with the 'date' utilty, to calculate the phase of the Moon on a particlar day.
Categories: Linux, command-line hacking
Converting push-button events to keyboard events in the Raspberry Pi (Dec 2023)The Raspberry Pi has a bunch of GPIO pins we can use to connect push-buttons. But how do we interface push-buttons to an application that expects only keyboard input?
Categories: Raspberry Pi, electronics, Linux
Rolling your own minimal embedded Linux for the Raspberry Pi -- part one: booting to a root shell (Nov 2023)This article is part of a series on building a custom Linux installation for a Raspberry Pi-based appliance. It explains how to make a bootable SD card with Pi firmware, a Linux kernel, and a shell. It's about as minimal as a Linux system can be.
Categories: Raspberry Pi, Linux, embedded computing
Command-line hacking: displaying system temperature (Sep 2023)Using simple file and string handling techniques in the Bash shell.
Categories: Linux, command-line hacking
Using flash memory as non-volatile storage on the Pi Pico microcontroller (Jun 2023)The Pi Pico is an impressive microcontroller for its size and cost, but it lacks specific non-volatile memory. This article explains how to use the program flash ROM for that purpose.
Categories: software development, C, Linux, embedded computing, Pico
Yet another Darktable/Lightroom comparison (Mar 2023)Darktable isn't supposed to be an alternative to Adobe Lightroom, but many people hope to use it as one. After all, Darktable's (free) pricing is very appealing. Here are my views on whether a move to Darktable makes sense.
Categories: general computing, Linux
Using media keys in a Linux console application (Mar 2023)Mapping keyboard keys to key codes on Linux is well-documented for the graphical desktop. But what about console applications on embedded Linux systems? There's not much documentation in this area.
Categories: Linux, C, embedded computing
Using the Linux framebuffer in C/C++ -- just the essentials (part 2) (Feb 2023)This article continues my original framebuffer just the essentials article, by describing how to handle less straightforward framebuffer configurations.
Categories: software development, C, Linux, embedded computing
Using the Linux framebuffer in C/C++ -- just the essentials (Feb 2023)The absolute minimum information needed to start using the Linux framebuffer as a graphical display in C/C++ applications.
Categories: software development, C, Linux, embedded computing
Using ImageMagick to generate anti-aliased bitmap fonts for a microcontroller's LCD display (Jan 2023)This article describes how to generate and use compressed, anti-aliased font data, for use in a microcontroller application.
Categories: C, Linux, embedded computing, Pico
Sorting files and directories on a FAT-formatted USB memory stick (Sep 2022)Many portable and automotive media players accept USB memory sticks or SD cards containing audio files. Very often, these players have no sorting logic, and display files and directories in the arbitrary order they appear in the filesystem. This article describes how to sort a FAT filesystem using Linux utilities, to make playback more convenient.
Are Flatpak, et al., saving or drowning the Linux desktop? (Aug 2022)Desktop Linux will take off next year -- or so people have been saying for years. Do desktop containerization technologies like Flatpak make this more, or less, likely?
Categories: Linux, containers
Command-line hacking: timezone conversions (Aug 2022)Using 'date' and 'timedatectl' to build a utility to help with scheduling meetings in different timezones.
Categories: Linux, command-line hacking
Command-line hacking: displaying a weather summary (Aug 2022)How to use tools like curl, sed, and groff to retrieve a weather forecast from the BBC, and format it for the terminal.
Categories: Linux, command-line hacking
Command-line hacking: creating a tide table (Aug 2022)How to use Bash shell arithmetic to create a simple tide table
Categories: Linux, command-line hacking
Command-line hacking: extracting audio metadata (tags) (Aug 2022)How to use Bash shell techniques to extract metadata (tags) from various audio file formats.
Categories: Linux, command-line hacking
Command-line hacking: querying an Internet radio database (Aug 2022)Using Linux command-line utilities to query an on-line database of Internet radio stations.
Categories: Linux, command-line hacking
Command-line hacking: paced breathing (Aug 2022)Using a Linux Bash script to generate audio/visual cues for timing paced breathing exercises.
Categories: Linux, command-line hacking
Command-line hacking: displaying news headlines in the manual viewer (Aug 2022)How to use tools like curl and xsltproc to retrieve news headlines from the BBC, and display them using the manual viewer
Categories: Linux, command-line hacking
Command-line hacking: Assigning folder icons to directories (Aug 2022)How to use basic Bash constructs, along with the Gnome gio utility, to assign folder icons to a set of directories.
Categories: Linux, command-line hacking
You be the linker -- building Hello, world from scratch, in hexadecimal (Jun 2022)This article describes how to write a trivial program for Linux using no compiler tools at all, but entering machine language directly in hexadecimal. Because we can.
Categories: software development, Linux
Making a Raspberry Pi bootable SD card from a root filesystem (Dec 2021)You've created a custom Linux installation for the Raspberry Pi. How do you turn that into a bootable SD card image that can be distributed?
Categories: Linux, Raspberry Pi
Why the Linux console is so awesome (Nov 2021)We've all gotten so used to graphical desktops that we're losing sight of how much can be accomplished on Linux using only a console. This is a shame, because efficient console-only operation is possible on a computer that would otherwise be fit only for landfill, and on modern high-efficiency devices with limited computing power.
Categories: Linux
Conway's Game of Life in 3D perspective (Oct 2021)Implementing a program to run Conway's cell population simulation, using a 3D perspective view on the Linux framebuffer.
Categories: software development, C, Linux
Rolling your own minimal embedded Linux for the Raspberry Pi (Sep 2021)Introducing a series of articles on building a custom Linux installation for the Raspberry Pi, for appliance applications.
Categories: Raspberry Pi, Linux, embedded computing
C-to-parallel IC (Apr 2021)Make an auxiliary LCD display for a computer that displays data sent to it over a USB connection. Ready-made devices of this sort are widely available, but it's more fun to build your own.
Categories: software development, C, Linux, embedded computing, Arduino
More like Windows every day (Feb 2021)The ease of installation and use of modern desktop Linux distributions comes at a price. I review a couple of low-complexity alternatives to mainstream Linux distributions: Alpine and Devuan.
Categories: general computing, Linux
Rolling your own minimal embedded Linux for the Raspberry Pi -- part four: audio (Dec 2020)This article is part of a series on building a customer Linux installation for a Raspberry Pi-based appliance. It explains how to install and set up the minimum software to get audio playback working.
Categories: Raspberry Pi, Linux, embedded computing
Rolling your own minimal embedded Linux for the Raspberry Pi -- part three: services and remote access (Dec 2020)This article is part of a series on building a customer Linux installation for a Raspberry Pi-based appliance. It explains how to set up a system which hitherto only boots to a root shell, to a network-aware installation with service management.
Categories: Raspberry Pi, Linux, embedded computing
Rolling your own minimal embedded Linux for the Raspberry Pi -- part two: early initialization (Dec 2020)This article is part of a series on building a customer Linux installation for a Raspberry Pi-based appliance. It explains how to obtain and install fundamental utilities for use in a system with a read-only filesystem, and no package manager.
Categories: Raspberry Pi, Linux, embedded computing
Rolling your own minimal embedded Linux for the Raspberry Pi -- part five: X (Dec 2020)It's entirely possible to run simple, X-based applications in an appliance-based Linux installation: you just have to dispense with the graphical desktop and all its baggage. This article explains how.
Categories: Raspberry Pi, Linux, embedded computing
Using the FreeType library to render text nicely onto a Linux framebuffer (Nov 2020)Writing graphical applications for minimal and embedded Linux systems can present a challenge. One of the problems is producing nicely-rendered text without the facilities that a graphical desktop would provide. This article describes how to use the FreeType library to render text to the Linux framebuffer.
Categories: software development, C, Linux, embedded computing, Raspberry Pi
Why you can't rely on system calls to obtain limits, when running an application in a container (Oct 2020)The notion of resource limits (on memory, CPU, etc) has never been very well-defined, and the use of container-based deployment makes the situation worse. This article describes why, and what can be done about it.
Categories: Linux, containers
Container from scratch: building a Linux container from the ground up (Oct 2020)Containers have become increasingly important for Linux developers and administrators. A number of frameworks like LXC, Docker, and Podman are now available to automate the management of containers. However, all these frameworks rely on similar kernel features, particularly control groups, namespaces, and virtual networks. This article demonstrates how to build a functional container from first principles, using only simple command-line tools. It's objective is to make clear all the details that the more sophisticated tools conceal.
Categories: Linux, containers
Making simple stop-motion animations using Linux and a DSLR camera (Aug 2020)Creating stop-motion animated movies using a DSLR camera and some basic Linux tools. It won't rival Pixar, but it's something to do with your kids on a rainy Sunday afternoon.
Categories: science and technology, Linux
Extracting software from the Raspbian repository, for assembling a custom Linux image for the Raspberry Pi (Jul 2020)Using the official Raspian repository to assist the construction of a custom Linux for embedded applications is quick and convenient, compared to building everything from source. However, this approach has certain hazards.
Categories: Linux, Raspberry Pi, embedded computing
A Linux storage management cheat-sheet (Jul 2020)This article outlines, with step-by-step examples, how to carry out the most fundamental Linux storage management tasks: partitioning a disk, creating a filesystem, setting up swap space, managing a logical volume management (LVM) storage pool, and configuring a RAID mirror.
Categories: Linux
Making a Java JAR file self-executing (on Linux) (Jul 2020)A quick-and-dirty way to make it possible to execute Java JAR files at the prompt, without needing to invoke the JVM.
Categories: software development, Java, Linux
Extending the bash 'cd' command in Linux (Jul 2020)The built-in cd command in the bash shell is not as smart as it could be; but it's a little fiddly to extend its functionality.
Categories: Linux
Have you posted something in response to this page?
Feel free to send a webmention
to notify me, giving the URL of the blog or page that refers to
this one.

