I recently discovered the awesomeness of Carbon Emacs on my mac and have since wanted to emulate a similar look on my Emacs GTK. The procedure is surprisingly simple for those with Emacs 23 (GTK) already installed. The first step is to install the Monaco font (muchas gracias to the guys here) and the second is to set the Emacs font (code borrowed from here) to Monaco.

The Steps

1. Get the Monaco font from here
2. Open up the terminal and create a ‘Custom’ subdirectory in the Truetype fonts directory:
sudo mkdir /usr/share/fonts/truetype/custom
3. Move the font file to the directory created above:
sudo mv Monaco_linux.ttf /usr/share/fonts/truetype/custom
4. For the font to be recognised by the system, type the following (more on fc-cache here):
sudo fc-cache -f -v
5. After Step 4, you can actually open up Open Office and start typing away in Monaco.
6. To set the emacs font as Monaco:
echo “Emacs.font: Monaco-11” > ~/.Xresources
xrdb -merge ~/.Xresources

7. And, Voila! Emacs looks Mactastic! Note, I found that 11 pt font gave the best impact and readibility for my 19″ screen.

Advertisements