I switched to my OCC rig a day early to work out some of the nits ahead of time.
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:
$ 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.