Screensaver lock at boot time

Thanks for your answer and work, Chris !

And for others who read this …

After you followed steps above as @Lrrr responded to me …

… and for those, who unfamiliar with commands and would create the affected directorie(s)/file(s) in Terminal (as it is faster some times than clicking together on GUI) – here you are one solution :

~> ls -l /system/non-packaged/data/user_launch/screen_blanker.launch
ls: cannot access '/system/non-packaged/data/user_launch/screen_blanker.launch': No such file or directory
~> ls -l /system/non-packaged/data/user_launch
ls: cannot access '/system/non-packaged/data/user_launch': No such file or directory
~> ls -l /system/non-packaged/data/
total 16
drwxr-xr-x 1 user root 2048 okt.   24 08:09 firmware
drwxr-xr-x 1 user root 2048 dec.   17  2022 fonts
drwxr-xr-x 1 user root 2048 ápr.    7  2024 glib-2.0
drwxr-xr-x 1 user root 2048 márc.  23  2024 UIThemes
~> mkdir -p 755 /system/non-packaged/data/user_launch; cd /system/non-packaged/data/user_launch; touch /system/non-packaged/data/user_launch/screen_blanker.launch
/system/non-packaged/data/user_launch> StyledEdit /system/non-packaged/data/user_launch/screen_blanker.launch && chmod 755 /system/non-packaged/data/user_launch/screen_blanker.launch; ls -l; cat ./screen_blanker.launch
total 4
-rwxr-xr-x 1 user root 148 febr.  20 18:27 screen_blanker.launch
job lock-screen-at-boot {
        launch /bin/screen_blanker -l
        requires x-vnd.haiku-app_server

        if file_exists ~/config/settings/bootlock
        no_safemode
}/system/non-packaged/data/user_launch> 

creating the bootlocker file

}/system/non-packaged/data/user_launch> ls -l ~/config/settings/bootlock
ls: cannot access '/boot/home/config/settings/bootlock': No such file or directory
/system/non-packaged/data/user_launch> touch ~/config/settings/bootlock
/system/non-packaged/data/user_launch> ls -l ~/config/settings/bootlock
-rw-r--r-- 1 user root 0 febr.  20 19:00 /boot/home/config/settings/bootlock
/system/non-packaged/data/user_launch> 

I will bookmark this post, and later I set and activate it - actually I live alone and do not move my Haiku machine -especially as no user group here or necessity to meetup and need to secure with lock/unlock my screen.
However it will satisfy some member here who worried about securing access to their Haiku rig somehow.

1 Like