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 Desktop Bugs, which is subscribed to yelp in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs