Enabling Colour Emoji in DWM on Slackware

Опубликовано: 19 Август 2026
на канале: OldTechBloke
2,863
104

DWM is a great window manager but one of it's drawbacks is that it doesn't support colour emojis due to an issue with libxft.

Arch users can solve this problem by installing libxft-bgra from the AUR, but the rest of us are left to figure it out on our own.

This is what this video is all about, and I demo my solution on Slackware.

Firstly I grab the libxft sources and patch them:

git clone https://gitlab.freedesktop.org/xorg/l...
url -Ls https://gitlab.freedesktop.org/xorg/l... | patch -p1

I then configure:

CFLAGS="-O2 -fPIC -fcommon" \
CXXFLAGS="-O2 -fPIC -fcommon" \
./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib64 \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
--docdir=/usr/doc/libXft-git \
--disable-static \
--build=x86_64-slackware-linux

And after removing Slackware's own libxft I make install.

Finally I create a Slackware package for libxft-bgra.

I hope you enjoy the video :-)

If you enjoy my channel and/or find it useful, you can support me in a number of ways.

1. If you would like to become a Patron, my page is here:
  / oldtechbloke  

2. If you would like to order OTB merchandise, I now have a Spreadshirt shop and a Teespring shop:
https://shop.spreadshirt.co.uk/oldtec...
https://teespring.com/stores/otbs-sto...

3. if you want to buy me a beer, I've now launched my new website and you'll find a PayPal button for that very purpose:
https://www.oldtechbloke.com

If you chose any of the above options you will be helping to keep the channel going and I am extremely grateful.

You can also join me on the following:

To join LBRY please click the link below. As a disclaimer, I will earn LBRY points if you use the link so thanks for the support
https://lbry.tv/$/invite/@oldtechbloke:8

To join the OldTechBloke Facebook group click here:
  / oldtechbloke  

To join the OldTechBloke subreddit click here:
  / oldtechbloke  

To view my GitLab repo:
https://gitlab.com/OldTechBloke

Ramble On!