Thread: Anti-theft
View Single Post
Posts: 48 | Thanked: 85 times | Joined on Feb 2010
#3
I add "Error-led-pattern" and the lock-screen when the charger cable is disconnected and the alarm is active.

I created a script for the "Alarm off" button (it need more commands to restore the led pattern).

I changed the name in the script of the alarm in "allameon.sh" to avoid that sometimes the script "alarm off" kill him self before to kill the alarm script. This can happen because the second contain the name of the first.

@unnome
The personalized message is added through espeak (need to be installed).
The sentence is in .txt file (you can change).

The "Alarm off" button became:

Title: Alarm OFF
Command: sh ~/MyDocs/Appl_conf/stopallarme.sh

And the "Alarm ON" button became:

Title: Alarm ON
Command: sh ~/MyDocs/Appl_conf/allarmeon.sh

The last version is in the same link.

I hope that you enjoy the gadget.

Cheers.

Last edited by Ilmanowar; 2012-06-08 at 23:04.