🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #261932

Yoof - Automatically lock your computer when you fall asleep

#261932
From: 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.
Technical Details
Message-ID: <lDf5t.253167$LX2.212593@newsfe31.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe31.iad.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <lDf5t.253167$LX2.212593@newsfe31.iad>
Subject: Yoof - Automatically lock your computer when you fall asleep
Date: Fri, 29 Mar 2013 12:17:21 GMT
From: At Large <m8r-ba41m11@suremail.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe31.iad.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy
User-Agent: XPN/1.2.6 (Street Spirit ; Linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Lines: 18
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Fri, 29 Mar 2013 12:17:21 UTC
X-Received-Bytes: 1659
X-Original-Bytes: 1686