Dmenu Xft

From Bit Binary Wiki
Jump to: navigation, search
cd /tmp/
wget "http://lists.suckless.org/dev/att-6474/dmenu-4.2.1-xft-cleanup-db.patch"
apt-get source suckless-tools
cd suckless-tools-38/dmenu/
patch -p1 < /tmp/dmenu-4.2.1-xft-cleanup-db.patch
sudo apt-get build-dep suckless-tools
sudo apt-get install libxft-dev

Edit /tmp/suckless-tools-38/debian/changelog and add a new patch entry

suckless-tools (38-1-xft) unstable; urgency=low

  * xft patch

 -- James Robertson <j@mesrobertson.com> Sat, 25 Aug 2012 22:29:00 +1000

Build the package and install it:

dpkg-buildpackage -rfakeroot -uc -b
sudo dpkg -i /tmp/suckless-tools_38-1-xft_amd64.deb

The run it with the desired font, e.g.

dmenu_run -fn "Liberation Mono-8"

http://tools.suckless.org/dmenu/patches/xft

Personal tools