You can already do this by querying Unity 8 GSettings (qml snippet below): import GSettings 1.0
GSettings { id: settings schema.id: "com.canonical.Unity8" } ... if (unity8Settings.usageMode === "Windowed") { // running in windowed mode } else { // == "Staged" // running in staged mode } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1610929 Title: Implement Screen::GetShellMode() To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1610929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs