Screen Lock in Weston 5.0.0
Devashish Tiwari
devashish at cdot.in
Wed Feb 12 08:21:35 UTC 2020
Hello,
I am running weston-5.0.0 on my EVM. I want to integrate my face authentication application with it.
I want weston to lock the screen after some time (duration should be configurable) and then when I would want to unlock it should open my face authentication application first.
I am able to launch my face authentication app now by clicking on an icon on desktop as I have specified in launcher section of weston.ini file. My app works fine.
But I want it to be launched on its own at time of unlocking the device.
Weston does not lock the screen right now on my EVM, although I have enabled locking in weston.ini
My weston.ini looks like this:
--------------------------------------------------------------------------------------------------------------
[core]
require-input=false
backend=drm-backend.so
idle-time=5
#xwayland=true
[libinput]
enable-tap=true
tap-and-drag=true
tap-and-drag-lock=true
disable-while-typing=true
natural-scroll=true
scroll-finger=two-finger
[shell]
locking=true
lockscreen-icon=/home/root/images/lock.png
lockscreen=/home/root/images/wallpaper.png
panel-position=bottom
animation=zoom
close-animation=fade
startup-animation=fade
focus-animation=dim-layer
background-image=/home/root/images/wallpaper.png
background-type=scale-crop
clock-format=seconds
panel-color=0xff30a6ff
startup-animation=fade
[launcher]
icon=/home/root/images/face_authentication.png
path=/home/root/bin/face_authentication
---------------------------------------------------------------------------------------------------
I wonder if there is anything else I'd have to do for my use-case.
--
Thanks & Regards,
Devashish Tiwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20200212/e94b3fe0/attachment.htm>
More information about the wayland-devel
mailing list