Comment 1 for bug 852911

Jan Hoffmann (jan-hoffmann) wrote :

I just checked on the Oneiric Live CD. The environment variable XDG_CURRENT_SESSION is either "Unity" or "GNOME", so using that for differentiating between the session types should be very easy.