I think a reliable way of determining whether the current session is Unity 2D is to check the value of the GDMSESSION environment variable. For unity, its value is "gnome". For unity-2d, its value is "unity-2d". For Ubuntu classic, its value is "gnome-classic".
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712343 Title: ubuntu-bug showing that I am running unity-2D, when reporting from Compiz Unity interface -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
