I understand little of the complexity surrounding fonts in Debian (and most other Linux distributions). But I do know that to get the artwiz fonts (or other bitmapped fonts) properly installed has been challenging as the procedures to install fonts occasionally changed, and good documentation is hard to find. In 2008 I explained how to install the artwiz fonts in Ubuntu Hardy, but those guidelines have not worked for many years.

Which is a shame, because the artwiz fonts are wonderfully minimalistic. Here are a few examples:

artwiz-fonts

I had given up on installing these fonts a long time ago, but recently decided to give this another try. After a good amount of searching, I found a way that seems to work, at least on this system, running Debian Testing. I suppose that this should work also on Ubuntu, Linux Mint, or other Debian derivatives (please confirm this in the comments, if this is indeed the case!).

Here is what you have to do. First, download the artwiz fonts. (There are also version that support characters used in German and Swedish here; if you download those files, change the commands below where necessary.)

Unpack the bz2 archive:

tar xvjf artwiz-aleczapka-en-1.3.tar.bz2

Move into the new directory:

cd artwiz-aleczapka-en-1.3

Inside that directory you have all the .pcf font files. Before, those were the files that you would use, but apparently Debian no longer recognises .pcf font files, only .pcf.gz files. Therefore, you have to archive these with the following command:

gzip *.pcf

Now copy the entire artwiz-aleczapka-en-1.3 directory to /usr/share/fonts/X11/misc, with root privileges. If you use Ubuntu, add sudo before each command, as Ubuntu does not use root (su).

su
mv artwiz-aleczapka-en-1.3 /usr/share/fonts/X11/misc

Move into that last directory, and create an index of the font files that X will be able to use, still with root privileges:

su
cd /usr/share/fonts/X11/misc
mkfontdir
mkfontscale

By default Debian disables bitmapped fonts. Check whether there is a link to a file called 70-no-bitmaps.conf in /etc/fonts/conf.d/ directory. If there is, delete it.

Renew your font cache, as root (su or sudo):
fc-cache -f -v

Then enable the use of bitmapped fonts, as root:

dpkg-reconfigure fontconfig-config

You will be asked to answer three questions. These are the choices I selected:

fontconfig-config01

fontconfig-config02

fontconfig-config03

Then reconfigure your fontconfig settings, also as root:

dpkg-reconfigure fontconfig

Then, add the following line to ~/.xprofile (or ~/.xinitrc if you use startx), so you can use the fonts in X applications (like xterm, and xfontsel, but also dmenu):

xset fp+ "/usr/share/fonts/X11/misc/artwiz-aleczapka-en-1.3/" &

(According to this post from 2013, you should also be able to add this to /usr/share/X11/xorg.conf.d/, but that did not work for me.)

Once all this is done, you should be able to use the artwiz fonts in any X application. To prove that this does indeed work, here is a screenshot of xfontsel, selecting the nu font, and using nu as the font in Openbox.

xfontsel

To use these fonts in conky, I use ${font nu:size=7} in .conkyrc just before the command or text conky should display. Thus, ${font nu:size=7}${time %H:%M} gives the following:

conky-nu

Advertisements

These are screenshots of the desktops I have used in 2015. No dramatic changes–still using Openbox, still loving the Erthe theme for work, still keeping it simple.

Early in the year I replaced Varuna, a Thinkpad X60 that was prone to overheat, with Soma, a Thinkpad X200. The screenshots of both are of a 23″ screen I use with it. Savitar is my old, battered, but beloved Thinkpad X41. On Soma, I’ve mainly used the last two desktops. The two screenshots of Savitar are those from last year, as I did not change anything to that desktop the entire year. Savitar is still my work laptop.

Varuna

beatus01

Openbox 3.5.2, with the Mythos Gtk and Openbox themes, and the AnyColorYouLike (ACYL) icon theme.

Soma

wave02

Openbox 3.5.2, with the Alghattas Gtk and Openbox themes, and the MeliaeSVG icon theme. I can’t remember where I found the wallpaper image.

caitanya01

kcaitanya02

Openbox 3.5.2, with the Alghattas Gtk and Openbox themes, and the MeliaeSVG icon theme.

journey01

Openbox 3.5.2, with an unreleased Gtk and Openbox themes, and the ACYL icon theme. The wallpaper is from here (G3, scaling the 960×800 image with Feh).

Savitar

erthe02

erthe01

Gnome 2.30.2 with Openbox 3.5.0, still using the Erthe themes and ACYL icon theme.

 

 

I’ve long controlled the sound volume with keybindings in Openbox, but now that PulseAudio has become default, I keep forgetting how to do so with this new sound server. You’ll find a variety of suggestions on how to control PulseAudio from the command line online, but most of them don’t work for me.

I’ve found this to be the easiest way to control PulseAudio from the command line, using pulseaudio-ctl.

Volume up:
/usr/bin/pulseaudio-ctl up

Volume down:
/usr/bin/pulseaudio-ctl down

Mute:
/usr/bin/pulseaudio-ctl mute-input

The default of the “up” and “down” commands is 5%. You can specify a different percentage. For example, if you want to increase the volume by 10%, use the following command:

/usr/bin/pulseaudio-ctl up 10

You can also set the volume at a certain percentage. If you want to set the volume at 50%, use the following command:

/usr/bin/pulseaudio-ctl set 50

Or you can set the volume at 50%, if it is currently higher than that with this command:

/usr/bin/pulseaudio-ctl atmost 50

For more options, read pulseaudio-ctl’s documentation.