Thursday, May 27, 2010

Dmenu with better and larger fonts

Dmenu can look much better with fonts if you use the dmenu-xft version.

See this screenshot:
Look here:

There is a problem with the packagebuild on this page though.
It should be:
pkgdesc="Dynamic X menu - with xft support"
arch=('i686' 'x86_64')
depends=('libx11' 'libxinerama' 'libxft')


build() {
cd $srcdir/dmenu-$pkgver
patch -p1 < ../dmenu-4.0-xft.diff || return 1 make || return 1 make DESTDIR=$startdir/pkg PREFIX=/usr install || return 1 # LICENSE mkdir -p $startdir/pkg/usr/share/licenses/$pkgname || return 1 cp LICENSE $startdir/pkg/usr/share/licenses/$pkgname/ || return 1 }

Save this as PKGBUILD textfile and run makepkg where you saved PKGBUILD.
But first uninstall the dmenu version you have with
sudo pacman -Rd dmenu

This all in Arch.
Otherwise: download the two sources at the bottom of the page. Extract the tar.gz and then place the .diff into dmenu-4.0 directory. Apply the patch with:

patch -p1 < dmenu-4.0-xft.diff

Then run make and copy dmenu into /usr/bin


No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.