вс, 9 дек. 2018 г. в 14:32, Carsten Haitzler <ras...@rasterman.com>: > > On Sun, 9 Dec 2018 11:23:34 +0300 Vasiliy Tolstov <v.tols...@selfip.ru> said: > > > Hi! I'm writing app that periodically scans bluetooth low energy > > devices and if known device in needed range - unlock screen, and when > > range is bigger then needed - lock. > > I found enlightenment_remote -desktop-lock, but how to do in my case > > unlocking? As i see via dbus this is not possible. Why? > > enlightenment_remote is nothing but a handy shell wrapper around the msgbus > extensions module ... the script only has lock... the dbus protocol also has > unlock. so you need to load the msgbus module to get these controls working to > begin with. that's the dbus extension module under system. then use d-feet or > something to explore the interface/api and have your app actually use > the dbus protocol... :)
Thanks! Last question - if i want to after lid open automatic unlock via dbus if i see bluetooth device in nearest range, how can i ran my app only when lid is open? I know about screen lock app and screen unlock app, but when it runs? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel