Best of both worlds :)

January 5th, 2009

One of the great benefits of Linux is the wealth of great opensource software. Prior to this experiment I thought all this software could only run on Linux, but recently I discovered that this is not true. Much of my favorite software on Ubuntu Linux can be run on OS X :)

Geany running on OS X

Geany running on OS X

A specific example of this is Geany, an awesome text editor that I discovered while trying out Ubuntu Linux. I love Geany, but often find myself wanting to use it while on my Mac. Well, using MacPorts, X11, and a little patience, I have Geany running in Leopard.

The process is quite simple:

  • Make sure you have the most recent version of Apple’s X11 — I am running version 2.3.1.
  • Then install MacPorts.
  • Then open your Terminal and run this command (patience required):
    • sudo port install geany

This will download and install all the libraries and dependencies needed to run Geany, including GTK+ 2. This means that if you want to theme your applications running in X11, you can, just like setting the appearance preferences in Ubuntu. To install the GTK themes and the theme changer I ran these three commands:

sudo port install gtk-engines2
sudo port install gnome-themes
sudo port install gtk-chtheme

Here is a screenshot of the theme changer in X11.

The GTk theme changer running in X11

The GTk theme changer running in X11

4 Responses to “Best of both worlds :)”

  1. Vadim P. Says:

    Unfortunately these kinds of things make porting software to Linux less sensible too.

  2. Peng’s links for Thursday, 8 January « I’m Just an Avatar Says:

    [...] Productivity: Best of both worlds . Geany, the text editor that so many of us love (it’s my preferred text editor of all sorts [...]

  3. nuvolare Says:

    When I run this comnand on my Terminal, it answer with sudo: port: command not found. I want instal Geany on my mac Tiger 10.4.11, how I can do? Thank you

  4. supaFranky Says:

    Don’t forget to export the variables. Go to this link to resolve your issue :

    http://bparanj.blogspot.com/2007/03/sudo-port-command-not-found.html

Leave a Reply

--> 'use strict';