Automatic screen lock

Christian Rüb christian.rueb at
Sat May 16 19:12:27 CEST 2009


as I could not find another way to lock the screen I currently use this little script (illume + frameworkd):

export E_IPC_SOCKET=$(find /var/ -type s | grep enlightenment | cut -d\| -f1)
enlightenment_remote -exec-action "simple_lock" ""

in /etc/freesmartphone/oevents/rules.yaml:
    trigger: IdleState()
    filters: HasAttr(status, "lock")
    actions: Command('/usr/local/bin/simple_lock')

AUX button is also bound to desktop simple lock - otherwise it is impossible to unlock (withou sshing onto the phone)!

Unfortunately it does not always lock the screen, as the "simple_lock" action seems to be a toggle. Thus when you manually turn the lock on (via AUX) the power state "lock" now reverts the manually acquired simple lock.

Are there any plans to support a real locking in frameworkd - something like a touchscreen/keyboard resource? Or is there a way in enlightenment to force the lock and off?


More information about the community mailing list