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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/852911 Title: Yelp always displays Unity user guide To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/852911/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs