Does anyone know off hand if DESKTOP_SESSION, XDG_SESSION_DESKTOP or XDG_CURRENT_DESKTOP are set in Maemo (don't have device to hand at the moment). I'm pretty sure the last one isn't when I checked this morning. I'm just thinking about a way to implement app menus in GTK3 if the current window manager isn't hildon-desktop/matchbox.