
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.
Hi, Thanx for this info! I just tried it and it can be done even “simpler” (just for you as a single user. The “Bunti-Klicki” way, as it is called sometimes in German): Download the file, (double-)klick on it (this opens the font-viewer) and then just klick on “install font”. That was it (Ubuntu 9.10). I opened emacs23 (gtk) and it was there. Cool font!
You can actually do ‘(set-frame-font “Monaco-11″)’ in emacs 23 or ‘(set-default-font “Monaco-11″)’ in older versions, instead of messing with X resources.
Thanks for your howto!
I realize that this post is qiote old, but nevertheless:
I followed all the steps, but my emacs does not render the monaco font properly. It is thinner than the one on your picture.
I already checked, that I got the ttf version, which should render correctly on Ubuntu
(explicit remark by gringod).
So could you post your .Xresources file, just for reference?
Kind regards,
MBach
Hi, Thanks for the info, but I have a question, does the font render well on Ubuntu as it doese on Mac?
I’m asking because the font deosn’t render well on Windows 7 as it doese on Mac, so I want to be sure before I install Ubuntu.
I hope you can help