View Single Post
Old 02-16-2013, 02:29 PM   #38
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
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
dsmid is offline   Reply With Quote