Hotplugd

Automatic Display switch for OpenBSD laptop

       1776 words, 9 minutes

Most of my workstations are laptops. But because “age”, they are connected to an external 27" 4K monitor. It is used as my primary display and the laptop’s screen is disabled. And as I use WindowMaker as my daily window manager, I sometimes blank myself when I unplug the USB-C cable from the laptop. There must be a way to automatically switch to the proper display when some USB-C monitors are (dis)connected… Other than switching to using Xfce, KDE, Gnome and other DEs that already implement this feature.

Continue reading...


Automount USB stick on OpenBSD

       287 words, 2 minutes

In my previous “using OpenBSD as a workstation” review , I was told by Landry that auto-mount of USB stick can be done with hotplugd(8). Let’s see if we can achieve something useful…

Continue reading...