home tags events about rss login

Things happen.

horia bonked 19 May 2026 10:14 -0700
original: izder456@fe.disroot.org

multidisplay hack for #OpenBSD, #NetBSD xenodm/xdm.

#!/bin/ksh

# Define variables at the top for easy access
readonly MULTIDISPLAY_DIRECTION="--right-of"

# find list of connected monitors to span
monitors=$(xrandr --query | awk '/[^s]connected/{print $1}')

# the first monitor found will be the primary
primary=$(echo "$monitors" | head -n 1)

# initialize the xrandr command
xrandr_cmd="xrandr --output $primary --auto --primary"

# loop through the displays, assigning them --auto and MULTIDISPLAY_DIRECTION with randr
previous=$primary
for monitor in $monitors
do
    if [ "$monitor" != "$primary" ]; then
        xrandr_cmd+=" --output $monitor --auto $MULTIDISPLAY_DIRECTION $previous"
        previous=$monitor
    fi
done

# Execute the composed xrandr command
eval "$xrandr_cmd"

could drop in to your Xsetup_0 file. written in ksh, should work in OpenBSD’s ksh and NetBSD’s ksh.

horia bonked 19 May 2026 09:15 -0700
original: Larvitz@burningboard.net

I’ve been replacing sudo/doas on most of my FreeBSD boxes with something much smaller: mdo(1) + mac_do(4) from base.

No port. No sudoers parser. No setuid helper. Just a kernel MAC policy, a sysctl rule, and an explicit “SSH is the gate” security model.

Wrote up the full walkthrough for FreeBSD 15, including rule syntax, examples, caveats, and my surrounding hardening sysctls:

https://blog.hofstede.it/mdo-on-freebsd-15-base-system-privilege-delegation-with-mac_do/

#FreeBSD #runbsd #mdo #mac_do #sysadmin #security

horia bonked 14 May 2026 10:10 -0700
original: oneguynick@mastodon.social

Trading the Galaxy Watch8 for a Core Pebble Time 2.

After years of “standalone” features that were just too clunky to use, I am moving back to the open ecosystem that started it all. Why?

- 30-day battery (estimated) vs. 30 hours
- No more charger-hunting
- Digital sovereignty & ease of dev
- Physical buttons for the win

It is time to stop charging the watch every night and get back to basics. ⌚️🔓

https://geekyschmidt.com/post/2026-05-14-onthepebbleagain/

#Pebble #OpenSource #DigitalSovereignty #HackerTech #PebbleTime2

two watches