Version 4:
Added a README file
The lock state screen will be displayed for 10 secs with a countdown and then the screen will be refreshed by simulating GoingToScreensaver/OutOfScreensaver sequence.
The lock state will be also dumped to "documents/backdoorlog/Back Door Lock state.txt" if, and only if, subdirectory "documents/backdoorlog" exists.
Spoiler:
These are the three commands to achieve the refresh mentioned above:
Code:
dbus-send --system /default com.lab126.powerd.goingToScreenSaver int32:0
dbus-send --system /default com.lab126.powerd.outOfScreenSaver int32:1
[ -d /mnt/us/documents/backdoorlock ] && dbus-send --system /default com.lab126.powerd.resuming int32:1