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: http://omploader.org/vMmJicg
Look here: http://aur.archlinux.org/packages.php?ID=28745

There is a problem with the packagebuild on this page though.
It should be:
pkgname=dmenu-xft
pkgver=4.0
pkgrel=1
pkgdesc="Dynamic X menu - with xft support"
arch=('i686' 'x86_64')
url="http://code.suckless.org/"
license=('MIT')
depends=('libx11' 'libxinerama' 'libxft')
conflicts=('dmenu')
provides=('dmenu')
source=(http://dl.suckless.org/tools/dmenu-4.0.tar.gz
http://z.ip.fi/~henkka/dmenu-xft/dmenu-4.0-xft.diff)

md5sums=('66e761a653930cc8a21614ba9fedf903'
'1f3ecd819a39dea88a3dde9b5271bec6')

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

source: http://crunchbanglinux.org/forums/topic/4524/dmenu-with-xft-support/

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.