List all my AUR packages

Published (last updated )

A command that lists the names of all AUR packages I maintain from my local package directories, without some exceptions.

note, command, development

Running Arch Linux on the Framework Laptop 13

Published (last updated )

This article sums up why and how I run Arch Linux on my Framework Laptop 13.

post, howto, config, command, operations

Update all

Published (last updated )

A Bash script that updates all my tools in one run, such as the Android SDK, Rust, Flutter, Doom Emacs, Neovim, Helix, my AI agent tools, pacman packages and Haskell.

note, command, development

Gamescope settings

Published (last updated )

A Gamescope launch command for Steam that runs a game at 800x600 with integer scaling to a 2880x1920 fullscreen output.

note, command

Inhibit suspend temporarily on Gnome

Published

A gnome-session-inhibit command that temporarily stops GNOME from suspending.

note, command

Create Gnome Utilities and Emulators

Published

gsettings commands that create the Utilities and Emulators app folders in GNOME, with their categories and apps.

note, command, config

Mednafen analog trigger fixes

Published

A sed command that fixes the analog trigger mapping of an Xbox controller in mednafen.cfg on Linux, for PlayStation and Saturn input.

note, command, config, fix

Llama invocations

Published (last updated )

How to control reasoning in llama.cpp, and a llama-server command with the settings I use for Qwen 3.8 27B.

note, command, config

Force static terminal title with zsh

Published

How to stop zsh from changing the terminal title and set a fixed title.

note, command

Coredumpctl clean all

Published (last updated )

A journalctl command that removes all stored systemd-coredump entries.

note, command, operations

Gnome utilities folder adjustments

Published

gsettings commands that create the Utilities app folder in GNOME and give it the correct name.

note, command, config, fix

Llama CLI user guide

Published (last updated )

A full guide to the llama.cpp llama-cli tool. It covers model download, adapters, chat templates, input and output, generation, context, sampling, repetition control and other advanced parameters.

note, command, howto

Journalctl cheat sheet

Published (last updated )

A journalctl cheat sheet. It explains journal permissions and persistent storage, and gives many examples to filter by boot, time, unit, priority and other fields.

note, command, operations

Pipewire run build

Published (last updated )

Commands to build PipeWire from source with Meson and run it from the build directory without installation.

note, command, development

Pacman tips

Published (last updated )

Useful pacman commands. They find packages that are not in a repository, upgrade from one repository only, show package age and packager, remove orphans and clear the cache.

note, command, operations

Remove widgets from Windows 11

Published (last updated )

A winget command that removes the Windows Web Experience Pack to remove the widgets from Windows 11.

note, command, operations

Prefix wrapper on JetBrains desktop files

Published (last updated )

A sed command that adds a wrapper script to the Exec line of all JetBrains desktop files.

note, command, development

QEMU image mounting

Published (last updated )

How to mount a partition of a raw QEMU disk image through a loop device with the correct byte offset.

note, command, howto, operations

Resetting a Syncthing index

Published (last updated )

A curl command that resets the index of a Syncthing folder through the REST API.

note, command, operations

Robocopy command to mirror an entire drive

Published (last updated )

A robocopy command that mirrors an entire drive to a backup directory in backup mode, without junctions or retries.

note, command, operations

Intel PROCHOT ESP unwedge

Published (last updated )

How to find out that the Embedded Controller asserts BD_PROCHOT and clamps the CPU at 400 MHz on a Framework laptop, and an MSR write that disables BD_PROCHOT.

note, command, howto, fix, operations

Kubernetes update user token

Published (last updated )

A kubectl config command that sets a new token for a user in the kubeconfig.

note, command, operations

SSH port forwarding

Published (last updated )

An ssh command that forwards more than one remote port to localhost and one local port to the remote host.

note, command, operations

List files inside any Docker container

Published (last updated )

How to list all files in a Docker image when you create a temporary container and export it.

note, command, operations

Wake up GNOME display

Published (last updated )

A dbus-send command that turns off the GNOME screensaver and wakes up the display.

note, command

Gentoo install notes

Published (last updated )

Commands to set up Gentoo from a prebuilt qcow2 disk image, with kernel installation through systemd-boot, a world update and package cleanup.

note, command, howto, operations

When Poetry hangs

Published (last updated )

A Poetry setting that disables the keyring, which can cause Poetry to hang.

note, command, fix, development

Get older Paradox games working

Published (last updated )

How to make Hearts of Iron 3 and other older Paradox games work on Linux with Proton and protontricks.

note, command, howto, fix

GNOME backgrounds for light and dark

Published (last updated )

gsettings commands that set different GNOME background images for the light and the dark style.

note, command, config

Control display power with DBus

Published (last updated )

busctl commands that turn display power saving on or off through the GNOME Mutter DisplayConfig DBus interface.

note, command

Android commands

Published (last updated )

Android shell commands to get the version and SDK level, list properties, features and packages, inspect the camera, and change or disable the default launcher.

note, command, development

Cypher queries

Published (last updated )

Useful Neo4j Cypher queries. They find nodes, count dangling nodes and nodes per label, delete all data, and find dependencies between database schemas.

note, command, development

FLAC notes

Published (last updated )

metaflac commands to remove embedded images, padding and cover art tags from FLAC files, and to embed a cover.jpg.

note, command

Helm notes

Published (last updated )

A Helm cheat sheet with commands to manage repositories, releases and charts. It also explains the chart directory structure, dependencies, NOTES.txt, library charts and chart tests.

note, command, operations

Fix for Wine sr0 dmesg errors

Published (last updated )

A find command that removes the d: drive links in Wine prefixes under Steam, which cause sr0 errors in dmesg.

note, command, fix

How to command DPMS displays

Published (last updated )

ddcutil commands that read the DDC/CI power mode of a monitor and turn it on, off or to sleep.

note, command, howto

How to run a specific Cargo test with clean output

Published (last updated )

A cargo test command that runs one exact test in a crate and shows its output.

note, command, howto, development

Set default terminal in GNOME

Published (last updated )

How to set xdg-terminal-exec as the default terminal in GNOME with gsettings.

note, command, config

makepkg all one-liner

Published (last updated )

A Bash loop that builds each package directory in turn with makepkg and stops at the first failure.

note, command, development

Various ways to list systemd units

Published (last updated )

systemctl commands that list services by state, such as enabled, disabled, active, running, failed and exited.

note, command, operations

MDRAID setup and benchmarking

Published (last updated )

Commands to prepare six SSDs and create mdraid RAID 10, 6 or 5 arrays with a 16k chunk size. It also shows how to make an ext4 file system with the correct stride and stripe width, and how to test IOPS, throughput and latency with fio.

note, command, howto, operations

Enable scale monitor framebuffer in GNOME

Published (last updated )

A gsettings command that enables the scale-monitor-framebuffer feature in GNOME on Wayland, so Electron apps are sharp with fractional scaling.

note, command, config

Configuring chronyd to use a PTP hardware clock

Published (last updated )

How to make chronyd in a KVM guest use the virtual PTP hardware clock from the host for accurate time synchronization.

note, command, howto, config, operations

Using nvchecker

Published (last updated )

How to configure nvchecker to find new upstream versions of packages with regular expressions, and how to compare and accept the results.

note, command, config, development

Setting a printer as default with CUPS

Published (last updated )

How to list printers and set the default printer with CUPS lpstat and lpoptions.

note, command, howto, operations

How to enable other and Microsoft product updates on Windows 7

Published (last updated )

A PowerShell script that registers the Microsoft Update service on Windows 7, so it also gets updates for other Microsoft products.

note, command, howto, operations

Creating and converting QEMU qcow2 images

Published (last updated )

qemu-img commands to create and convert qcow2 images with metadata preallocation, zstd compression and a 2M cluster size.

note, command, operations

Custom resolutions with xrandr

Published (last updated )

How to use cvt and xrandr to add and use a custom screen resolution in X11.

note, command, howto

Scaling with xrandr

Published (last updated )

An xrandr command that scales the screen output with nearest neighbour filtering.

note, command

Create NetworkManager bridge with nmcli

Published (last updated )

nmcli commands to create a network bridge with an ethernet port. They also disable STP, enable Wake-on-LAN and set a fixed MAC address.

note, command, howto, operations

Citrix on Linux

Published (last updated )

How to create the ICAClient cache directory and copy the region ini files so the Citrix Workspace client works on Linux.

note, command, howto

Disable suspend on GDM login screen

Published (last updated )

Commands that stop GDM from suspending the computer while the login screen is open.

note, command, config, operations

EFI native boot on Linux without GRUB

Published (last updated )

Steps to partition a disk, install Chimera Linux and add a UEFI boot entry with efibootmgr that starts the kernel directly, with no GRUB.

note, command, howto, operations

Using casefold on ext4 filesystems

Published (last updated )

A mkfs command that creates an ext4 file system with case-insensitive file name support.

note, command, operations

When libc-bin update fails on Debian WSL

Published (last updated )

A command that lists the files in the library directories to find the cause when the libc-bin update fails on Debian in WSL.

note, command, fix, operations

Copy GNOME backgrounds

Published (last updated )

A Bash command that copies background images into the GNOME backgrounds directory with a timestamp prefix.

note, command

Configure GNOME Tracker

Published (last updated )

Commands to configure GNOME Tracker 3. They remove the default indexed directories, reset the index, set ignored files and directories, and add the Syncthing directory to the index.

note, command, howto, config

X11 screen and input rotation

Published (last updated )

xrandr and xinput commands that rotate the screen and the touch input to all four orientations.

note, command

Docker build, tag, login, push

Published (last updated )

How to build a Docker image, tag it with more than one version, log in to a private registry and push the image.

note, command, howto, development, operations

Correcting permissions on Windows authorized keys

Published (last updated )

A PowerShell script that sets the correct ACL on the OpenSSH administrators_authorized_keys file on Windows.

note, command, fix, operations

Enabling wake on LAN on Linux

Published (last updated )

How to enable Wake-on-LAN on Linux with ethtool or NetworkManager, and the TLP setting that must allow it.

note, command, howto, operations

Kubernetes change default resource quota on Rancher

Published (last updated )

A kubectl annotate command that changes the default CPU, memory and storage resource quota of a Rancher project namespace.

note, command, operations

Kubernetes delete everything

Published (last updated )

A kubectl command that deletes all resources in a namespace. You must delete persistent volume claims and secrets manually.

note, command, operations

Uninstall Windows 11 Web Experience Pack

Published (last updated )

How to remove the Windows 11 Web Experience Pack with winget, or fully with PowerShell for all users and new users.

note, command, operations

If Teams is behind a TLS breaking proxy

Published (last updated )

A certutil command that adds the root CA of a TLS intercepting proxy to the NSS database, so Microsoft Teams on Linux works.

note, command, fix, operations

After installation steps on openSUSE

Published (last updated )

Two small steps to do after you install openSUSE: set net.ifnames=0 in GRUB and disable the chrony-wait and btrfsmaintenance-refresh services.

note, command, howto, operations

After installation steps on Pop!_OS

Published (last updated )

Commands to clean up a new Pop!_OS installation. They remove unused locales, fonts and packages, install development tools, set up GCC alternatives, change GNOME settings and install shell extensions. The note also shows a polkit change that stops the admin password prompt for OpenVPN connections.

note, command, howto, config, operations

After installation steps on RHEL

Published (last updated )

Steps to set up RHEL 8 on a ppc64le workstation. They include notes about harmless dmesg messages, NIC teaming with nmcli, extra repositories, packages to add or remove, services to disable, and how to remove unused DNF modules.

note, command, howto, operations

AIX commands cheatsheet

Published (last updated )

A large AIX command crib sheet from 2001. It covers terminals, networking, NFS, backups, tape drives, printers, file systems, paging space, security, users, ODM, error logging, performance monitoring and SP/PSSP.

post, command, operations

Bash command to resolve Syncthing conflicts

Published (last updated )

A Bash one-liner that removes the files for which Syncthing left temporary conflict files.

note, command, operations

Check MHz, temperature and battery in loop

Published (last updated )

A Bash loop that shows the highest CPU clock speed, the temperature and the battery status every second.

note, command, operations

Converting JKS to PEM format

Published (last updated )

keytool and openssl commands that convert a Java keystore to PKCS12 and then to PEM, and extract the certificate and the private key.

note, command, howto, operations

Deleting gitignored files

Published (last updated )

A command that makes a script to remove all files that match the patterns in .gitignore from a Git repository.

note, command, development

Disable OpenCL with LibreOffice

Published (last updated )

The environment variable that starts LibreOffice with OpenCL disabled.

note, command

Docker vEthernet set device to private

Published (last updated )

A PowerShell command that sets the Docker vEthernet network adapter on Windows to the private network category.

note, command, operations

Elasticsearch on Docker notes

Published (last updated )

A docker run command that starts Elasticsearch with persistent data and a list of indexes that it can create automatically.

note, command, operations

FreeBSD boot serial notes

Published (last updated )

The FreeBSD loader commands that send the console output to both the serial port and the screen during boot.

note, command, operations

Handy Amiga commands

Published (last updated )

Useful AmigaDOS commands to change directories, search for files and text, list files and set file protection bits.

note, command

HP-UX glance

Published (last updated )

The keyboard commands for GlancePlus, the HP-UX performance monitor.

note, command, operations

HP-UX hpvmcreate

Published (last updated )

Commands to create a virtual switch and two HP-UX virtual machines with hpvmcreate on HP Integrity VM.

note, command, operations

HP-UX ipfilter

Published (last updated )

How to read the fields in the HP-UX IPFilter ipmon log and how to find the rule that blocked a packet.

note, command, operations

HP-UX kernel

Published (last updated )

The commands to tune parameters and rebuild the kernel on HP-UX 11.11.

note, command, howto, operations

HP-UX machinfo

Published (last updated )

How to get the machine serial number on HP-UX 11.11 and on HP-UX 11i v2 on Itanium.

note, command, operations

Installing a CA certificate into Windows

Published (last updated )

A certutil command that adds a root CA certificate to the enterprise trust store on Windows.

note, command, operations

Jenkins on Docker notes

Published (last updated )

A docker run command for Jenkins behind an HTTP proxy, a curl command that lists the installed plugins, and parts of the OpenShift Jenkins Dockerfile.

note, command, config, development, operations

Kubernetes Helm and sealed secrets

Published (last updated )

How to install the Sealed Secrets controller with Helm, seal a secret with kubeseal, back up the master key and use it again in a new installation.

note, command, howto, operations

Kubernetes obtain secrets and tokens

Published (last updated )

kubectl commands that get the cluster CA certificate and the service account token for a GitLab admin account.

note, command, operations

Lock screen from command line in Windows

Published (last updated )

A rundll32 command that locks the screen on Windows.

note, command

Mounting CIFS shares on Linux

Published (last updated )

A mount command that mounts a Windows CIFS share on Linux.

note, command, operations

OpenShift cluster up notes

Published (last updated )

Steps to run oc cluster up on RHEL Atomic Host with a public hostname, and a fix for redirects to localhost.

note, command, howto, operations

Running Oracle on Docker

Published (last updated )

How to log in to the Oracle container registry and run Oracle Database 12.2 Enterprise in Docker with a persistent volume.

note, command, howto, operations

TensorFlow build

Published (last updated )

Steps to build and install TensorFlow from source with Bazel for aarch64, with optimization flags and MKL.

note, command, howto, development

Unconfuse PGO cluster

Published (last updated )

A kubectl command that fixes a Crunchy Data PostgreSQL Operator cluster that does not know it is initialized.

note, command, fix, operations

Uninstalling Chromium based Edge on Windows

Published (last updated )

Commands that force the removal of Chromium-based Microsoft Edge on Windows and block its installation again.

note, command, operations

Using efibootmgr for adding boot entries

Published (last updated )

An efibootmgr command that adds a UEFI boot entry to start a Gentoo kernel directly with its initramfs and kernel parameters.

note, command, operations

Using genkernel to build a Linux kernel

Published (last updated )

A genkernel command that configures and builds a Linux kernel and an lz4 initramfs without installation.

note, command, operations

Using QEMU to test a kernel

Published (last updated )

A QEMU command that boots a new kernel and initramfs with a serial console to test it.

note, command, operations

Using update-alternatives on Debian

Published (last updated )

update-alternatives commands that make python and pip point to Python 3 on Debian.

note, command, operations

VMware Fusion change dhcpd settings

Published (last updated )

How to edit the DHCP configuration of the NAT network in VMware Fusion and restart its network services.

note, command, operations

WinHTTP proxy import from Internet Explorer

Published (last updated )

A netsh command that copies the Internet Explorer proxy settings to WinHTTP.

note, command, operations

Install trusted CA root certificate for Chrome and Electron based applications

Published

How to add the CA of an SSL intercepting proxy to the NSS database, so Chromium and Electron apps such as VS Code trust it. Written in Dutch.

note, command, howto, fix, operations, dutch

Mule on Docker notes

Published

A docker run command that starts a Mule runtime container with Anypoint and Nexus settings.

note, command, operations

Rewriting Git author and committer history

Published

A git filter-branch command that changes the author and committer name and email of all commits.

note, command, development

Setting up network bonding using NetworkManager CLI

Published

nmcli commands that create a network bond with two ports in balance-alb mode on RHEL, with DNS and gateway settings.

note, command, operations

SSH as SOCKS and HTTP proxy

Published

An ssh command that makes a SOCKS proxy and forwards a local port to a remote HTTP proxy.

note, command, operations

VMware Horizon Linux setup

Published

How to install the VMware Horizon client on Linux, with library links, a desktop file, a URL handler and a hosts alias, and problems I found with a customer VDI. Written partly in Dutch.

note, command, howto, operations, dutch

What to do if MuleSoft courses fail to complete correctly

Published

A curl loop that sets the status of MuleSoft training course enrolments to passed, for when the training website does not mark finished courses as completed.

note, command, fix