suckless: dwm, st and missed terminus font

After upgrading on Fedora 26 I’ve got wrong font in my dwm and st. It was painful to look at.

During investigation, I’ve found that there, firstly, font terminus name has been changed from “Terminus” to “xos4 Terminus”. So, that could be solved by changing font name in dwm and st configs, it’s easy.

Secondary, fontconfig-devel package provides incorrect include directory in pkg-config’s file. The bug is reported to redhat: https://bugzilla.redhat.com/show_bug.cgi?id=1474072

The patch:--- /usr/lib64/pkgconfig/fontconfig.pc 2017-07-23 17:52:51.844365570 +0300 +++ /usr/lib64/pkgconfig/fontconfig.pc 2017-07-23 18:09:14.221529256 +0300 @@ -1,7 +1,7 @@ prefix=/usr exec_prefix=/usr libdir=/usr/lib64 -includedir=/usr/include +includedir=/usr/include/fontconfig sysconfdir=/etc localstatedir=/var PACKAGE=fontconfig

Rebuild. Done.

Looks like, I missed something on my home machine, but in the latest commit on git.suckless.org have no dependency in fontconfig.h

HH

Serial pinout and OpenWrt on Netgear board WNDR4000 rev.0

At last week I installed OpenWrt on my Nergear WNDR4000.
The chip on the board is marked as U12H194T99 instead of *T00, which sets on board rev.1.
The most of staff in the web is about T00, so, it wasn’t so easily find something about T99.
I did a mistakes and got experience. So, I collected a couple of advices for you, %username%.

Continue reading