Make DWM more friendly to Netbeans 8.2 Nightly

Java’s applications could make some additional quests in dwm, like blank-windowed UI.

It could be happens due to this.

To fix blank-windowed UI you’ll need to add the following line in your ~/.xinitrc:export _JAVA_AWT_WM_NONREPARENTING=1

Another issue is related to configuration of Netbeans. In my case, plugins were required for jdk installed in non-standard folder.

So, the solution was to change netbeans_jdkhome variable in /etc/netbeans.conf:netbeans_jdkhome="/usr/lib/jvm/java-1.8.0-openjdk-"

Ref urls:

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:

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 have no dependency in fontconfig.h