🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
1 messages
1 total messages Started by At Large Fri, 29 Mar 2013 12:17
Yoof - Automatically lock your computer when you fall asleep
#261932
Author: At Large
Date: Fri, 29 Mar 2013 12:17
18 lines
2008 bytes
Anybody want to try this? It is at apasreader.yolasite.com, yoof.zip.

What it does is to run a command when your screensaver comes on. The
command can be anything, but would likely be something that locks your
firewall, so that information does not pour out of it to criminals,
spies or police while you are sleeping or leave the house without
remembering to set the firewall to 'lock' or whatever state you want
it to be in when you are not around.

I looked at the ubuntu forums for something similar, but the examples
they had were written in bash script, which is unfamiliar to me, so this
is written in python.

See config.py for the instructions: In short, you will run two modules,
one, chkst, will signal to the other, doufw, when the screensaver turns
on, and doufw will run the command to lock the computer or whatever
command it is that you want to have run.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads