Green terminal theme on OpenBSD
Inspired by a recent post on Reddit where someone created an amber monochrome theme on OpenBSD running CWM I decided to undertake a similar venture to do a green-on-black theme for CWM on OpenBSD.
First, I wanted a font that looked a bit more like the classic terminal fonts I remembered from the 80s so I found DOS terminal font (direct link) which provides classic VGA fonts.
To install them, first I needed to install
doas pkg_add unzip
to uncompress them.
Next, create the font directory where X will pick up the new fonts
mkdir -p ~/.local/share/fonts/
dump the fonts there, and instruct X to pick up the new fonts:
Then I configured my
to use green-on-black and my custom VGA font just about everywhere.
It also sets a few other preferences like how much scrollback an
stores, where it appears by default, and whether the scrollbar is
Next, I configured my
to set either my black wireframe image of Puffy as the background or set
it to solid black if
I usually link
so that it works whether I launch it from
or by using
on the command-line.
Finally, for the window manager trappings, I set my colors to various greens and blacks.
session brought everything up in a delightful green-on-black that looked
a little something like
Now, it's nice if your personal
session is green-on-black, but what if you want the
login to also display green-on-black?
Well, we can do that too.
Before starting, I like to take snapshots of the files I'm editing in
case I hose them:
First, all the foreground and background colors in
should be tweaked for various shades of green.
Some parts of the file allowed setting the color based on the display's
bits-per-pixel, so for high color-depth, I chose more nuanced colors,
while for the lower color-depth, I stuck to
While in there, you can also change the
properties to point to the green-on-black wireframe image of Puffy if
you have one.
above the line that launches
I like to specify
xsetroot -solid black
to get a black background as well.