← Back to team overview

elementary-dev-community team mailing list archive

Discuss about Screen lock & Screen turn off when idle feature

 

hi,
I'm working on this feature (screen turn off when idle).
During investigation I found Ubuntu 14.04 has changed the way it turn off
scree.

At before 14.04, 2 schemas keys sleep-display-ac, sleep-display-battery
should be modify to provide.

But at 14.04, its modify idle-delay. When idle-delay, a dbus signal was
sent:

signal sender=:1.10 -> dest=(null destination) serial=122
path=/org/gnome/SessionManager/Presence;
interface=org.gnome.SessionManager.Presence; member=StatusChanged
   uint32 3

then session should handle this signal and turn off screen.

anyone know how eOS session (wing-panel or gala?) handle dbus signal please
help me :)

-- 
________________

Best Regards
Tran Huu Nhan