Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-08-14 18:13:03

Registered: 2011-04-08
Posts: 11

Patching dmenu to support xft fonts!

Ok, I wonder why nobody has ever put this one up, but here is it now.
I was trying to make dmenu4.5 work with xft fonts, downloaded source code and patch from suckless site here. I tried other sources but unfortunately I ran into a nasty

patch: **** strip count l is not a number

error upon patching the file every time. Searching the web didn't provide any results so I decided to go back to AUR and download the patch from there. And voila!

patch -l < dmenu-4.5-xft.diff 
patching file
patching file dmenu.1
patching file dmenu.c
patching file draw.c
patching file draw.h

Then hit

sudo make clean install

and test the result with:

dmenu_run -b -fn 'Monospace-12' -nb black -nf blue -sb grey20

Mind that dmenu would open in the bottom if  '-b' option is provided.

Last edited by letian (2013-08-14 18:21:36)


Be excellent to each other!

#2 2013-08-17 02:49:42

#! CrunchBanger
From: Tokyo, Japan
Registered: 2010-12-07
Posts: 229

Re: Patching dmenu to support xft fonts!

Hi letian,

Thanks for the info, it works nicely!

I modified my file in /.config/dmenu/ and now my dmenu looks much better.


I love #! more than my own kids. I told them and they sympathized.


Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo