Hello,
I want temporary have a lock screen or blank screen, needing only to press the power button or a swipe to return.
How to realize this on a Librem 5 using the stock operating system (Byzantinium)?
Maybe someone has comments to the following ideas:
- I did not found a documentation for the lock screen config or parameters. Are these documented anywhere?
- A simple bash script to blank the screen, then do a “read keypress ” and then unblank the screen would be a workaround. But
- I do not know how to check for the power button
- wl-randr packages does not exists in Byzantinium
- I did not find a dbus command to blank and unblank the screen
- I did not find the device to “echo > 1 /sys/devices/…” for screen blanking
I am aware that I can use the dbus method /org/gnome/ScreenSaver org.gnome.ScreenSaver.SetActive to activiate and deactivate the screen saver. But this does not avoid to enter the password.
My use case:
In the gym I have to unlock the Librem with the password sometimes more than 50 times (which is annoying), because I use it to write down the current weights and repetitions. Also I use it for hearing music and reading small texts between exercises. When training I need to store it in my pocket, which means there may be an unintended touch on the display during movement.
Thanks for any ideas and help.