Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!

screen lock detection in c++/shell

Hi,

I have a cross-platform application that runs on Fedora 20 (GNOME). There I need to determine if the screensaver is active or not and if the screen is locked or not.

I found out that I can get the screensaver info with: "gnome-screensaver-command -q"

But I cannot seem to figure out how I can detect a screen lock. For example on Ubuntu I can use this: gdbus call -e -d com.canonical.Unity -o /com/canonical/Unity/Session -m com.canonical.Unity.Session.IsLocked But that's a Unity specific item. So any ideas on how to get this info on Fedora (GNOME) machines?

Thanks!