Using dmenu with xft fonts

I mentioned dmenu in the last post, and I should add that I find it quite useful. Going back all the way to gmrun, and perhaps even to those quirky little command line widgets for the Gnome desktop, or maybe even GnomeDo (if I understand it correctly), everybody loves typing a few letters and getting the program they want.

See? You secretly love the command line. Admit it. :twisted:

My only disappointment with dmenu was that it refused to show any xft fonts for me, as it was installed in both Crux and Arch. No matter what I did, or which system I was using, I kept getting the awful core X fonts in the dmenu bar.

Perhaps I was doing something wrong, but apparently there was no configuration file that handles dmenu’s behavior, and that all of its few options are triggered when it is spawned. I have no problem with that, except that I was awaiting the crucial information — is it possible to use xft fonts at all — before recompiling Musca to trigger dmenu, and hopefully make it work.

Arch came to my rescue again, this time in the form of an AUR package that pulls in a patch to allow dmenu to show those fonts. Colin Zheng’s conversion script did the work and within minutes, I could show dmenu with the Terminus font on my Pentium.

Again, I might have gone about this in completely the wrong way — I have a reputation for finding solutions that are far out of date, or worse, completely unnecessary. But in this case, a quick patch and a cross-compilation, and I don’t have to look at that awful X font any more. All in the name of science, of course. :D

About these ads

5 Responses to “Using dmenu with xft fonts”


  1. 1 Ali Gündüz 2009/08/26 at 9:48 AM

    Just to be clear, is this the AUR you used?
    http://aur.archlinux.org/packages.php?ID=28745

    I wonder why it depends on xinerama…

  2. 2 K.Mandla 2009/08/26 at 10:19 AM

    That’s the one. I wondered that myself, but xinerama seems to be installed on both machines (the one I used to build it and the one I use it on) and so I didn’t think anything of it. I don’t know the rationale, but it’s calling for something that seems to come with Xorg by default.


  1. 1 A Crux port for e3, and some ideas « Motho ke motho ka botho Trackback on 2009/09/12 at 8:42 AM
  2. 2 Returning to Musca « Motho ke motho ka botho Trackback on 2009/12/25 at 11:37 AM
  3. 3 X and Openbox in 12Mb « Motho ke motho ka botho Trackback on 2010/08/13 at 9:08 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,263 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: