Introduction
Introduction Statistics Contact Development Disclaimer Help
View source
# 2025-07-12 - OCC Delousing
I switched to my OCC rig a day early to work out some of the nits
ahead of time.
In my original setup i neglected to install a web browser that is
capable of accessing Mastodon on tilde.zone. I still didn't want
to, so i configured DOStodon in DOSBox-staging. Tekk told me that i
could also use lynx with https://brutaldon.org/
* * *
I wanted some system monitors and screenshots.
# apk add xfce4-cpugraph-plugin
# apk add xfce4-genmon-plugin
# apk add xfce4-screenshooter
Then i performed the following steps:
* Right click the top panel
* Click Panel preferences...
* Click Items
* Click +Add
* Add a Separator, Power Manager Plugin, CPU Graph, and
Generic Monitor
* Re-order them to go right after the Workspace Switcher
* Select Generic Monitor
* Click the wrench button
* At Command, enter: /home/ben/bin/wifi-monitor.sh
* At Period (s), enter: 30.00
* Click Save
* Click Close
$ cat >bin/wifi-monitor.sh <<'__EOF__'
#!/bin/sh
/sbin/ifconfig wlan0 | awk -F '[()]' '/RX bytes/ {
printf "%s/%s",
substr($2, 1, length($2) - 2),
substr($4, 1, length($4) - 2)
}'
__EOF__
Every 30 seconds it updates a display of traffic over WIFI,
formatted like so:
108.8 M /2.8 M
* * *
I wanted a larger font than the default in `st`. Turns out this is
trivial to configure.
$ cat >bin/st.sh <<__EOF__
#!/bin/sh
FONT='-*-terminus-bold-r-normal-*-22-*-*-*-*-*-*-*'
if [ -z "$1" ]
then
/usr/bin/st -f $FONT
else
/usr/bin/st -f $FONT "$1"
fi
exit 0
__EOF__
$ chmod a+rx bin/st.sh
In XFCE, i clicked Applications, Settings,
Default Applications, Utilities, Terminal Emulator,
Other...
At the input i typed:
/home/ben/bin/st.sh "%s"
Then i clicked OK, Close
* * *
I wasn't able to live with ircii, so i installed irssi.
I installed expect and gnu-libiconv because i have scripts
that use those.
* * *
I wanted a ruler at the bottom of my tmux window to facilitate hard
line breaks in OpenBSD ed. I can accomplish this by interactively
entering commands in tmux. However, when i save the same commands
to a file and run them non-interactively, the ruler is displayed
in the top pane instead of the bottom one. I opened a new thread
on linuxquestions.org using the links browser.
tmux display-message goes to wrong pane
tags: occ2025,retrocomputing
# Tags
occ2025
retrocomputing
You are viewing proxied material from tilde.pink. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.