# Wishful Coding

Didn't you ever wish your computer understood you?

## Good looking X11 apps on Mac

A while back I discovered that Pidgin is now available for Mac. The problem is that it is still a GTK app. For Mac users that means it runs in X11. It has always bothered me that all X11 applications you run on Mac look so extremely ugly. When I used Ubuntu a few years back I discovered mac4lin, a funny project that intends to make a Mac theme for Gnome. Ironically, since Gnome is based on GTK you can run mac4lin on the system it intends to emulate, which would give your GTK apps a nice Mac look. Let's see how... For this example I'm also going to install Pidgin, to show you how it looks. First, however we need to get a bunch of software. You need to have MacPorts installed for this to work.
1. First we need to get GTK without X11. You can leave of the variants if the build fails to get the X11 version.
sudo port install gtk2 +quartz +no_x11
2. Now we can get Pidgin, or any other GTK2 app.
sudo port install pidgin +quartz +no_x11
3. To be able to easily switch theme later we also need this little app.
sudo port install gtk2-chtheme
sudo port install qtplay