Thread Previous • Date Previous • Date Next • Thread Next |
On 08/04/16 14:10, Oliver Grawert wrote:
yeah, sorry I am on a rambling crusade to get location services to do its job and know where I am and not where I used to be.hi, Am Freitag, den 08.04.2016, 13:54 +0100 schrieb Alan Bell:nothing at all mentioning the word "location" Did the location services dbus API get taken over by the espoo thing? Is GPS even turned on here? Is there any up to date documentation for this stuff?you initially asked about signals when the screen is unlocked (this is what i was answering to) ...
try using the session dbus instead, there should beDisplayPowerStateChange for the screen on/off events as well as com.canonical.UnityGreeter being active or inactive signals for the lock/unlock states.
yup, there it issignal sender=:1.0 -> dest=(null destination) serial=45372 path=/com/ubuntu/Upstart; interface=com.ubuntu.Upstart0_6; member=EventEmitted
string "dbus" array [ string "SIGNAL=DisplayPowerStateChange" string "BUS=system" string "INTERFACE=com.canonical.Unity.Screen" string "OBJPATH=/com/canonical/Unity/Screen" string "SENDER=:1.44" string "ARG0=0" string "ARG1=2" ] with ARG0 being the state it is changing to, which is great.
ciao oli
Thread Previous • Date Previous • Date Next • Thread Next |