I'm really surprised no one has done this yet. I have done platform invoking (most commonly known as p/invoking) with win32 api's in C# using Visual Studio on Windows XP. I have not done p/invoking in Linux. With the help of FireRabbit and his Linux p/invoking foo, I hacked up a simple X On Screen Display class. I'm in the process of developing an XOSD Plugin for Banshee, here's some preliminary screenshot hottness (below).