Date: Wed, 15 Jul 2009 11:45:02 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: Automatic screen lock when leaving desk Message-ID: <4A5DB32E.7010406@infracaninophile.co.uk> In-Reply-To: <20090714204318.GC1832@kokopelli.hydra> References: <4A5CA4F1.6090605@isafeelin.org> <20090714204318.GC1832@kokopelli.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig020524BCEB6236553FC881A6
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Chad Perrin wrote:
> On Tue, Jul 14, 2009 at 05:32:01PM +0200, Frederique Rijsdijk wrote:
>> Hi,
>>
>> I'm looking for a way to automaticaly lock my X session when I leave m=
y
>> desk. Probably just using 'xlockmore -mode blank' or such. But how to
>> detect?
>=20
> Why does it have to be automatic? Something like xlockmore or slock ca=
n
> be tied to a keyboard shortcut, such as <Ctrl>+<Alt>+<L>. If for some
> reason you require automatic locking, though, you could perhaps set up
> some kind of Bluetooth connection detection if you have a Bluetooth
> enabled cellphone in your pocket (or something else that would work as =
a
> Bluetooth token) and if your computer has the right hardware. I imagin=
e
> writing a daemon in Perl or Ruby that checks for loss of a Bluetooth
> connection would be easier than getting Bluetooth working in the first
> place might be, depending on the state of Bluetooth support in FreeBSD.=
>=20
> I'm not really well-versed in the ephemera of what is used to determine=
> "inactivity" on a computer, but if it's reasonably easy (or if there's =
a
> Perl module for it), that seems like the obvious way to handle it --
> though of course that may present problems, such as false positives on
> detecting "inactivity" when watching a movie on the computer or somethi=
ng
> like that.
>=20
I used to be a NeXTie, and the Screensaver.app there had a really nifty=20
little feature. I'm surprised it's not been copied into other screensave=
r
applications since, as it's pretty simple. They just had a facility wher=
e
moving the mouse cursor to one corner of the screen and leaving it still
for a few seconds would cause the screen saver / screen lock to come on
straight away.
Conversely you could designate another corner of the screen as "don't tur=
n
on screensaver even after an extended period of idleness". Being a NeXT =
app
this was all configurable by dragging little '+' or '-' icons around a
scaled down image of the screen, or off it entirely if you didn't want th=
at
facility.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--------------enig020524BCEB6236553FC881A6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkpdszUACgkQ8Mjk52CukIz4YwCdHsxEb6cehvffdpX37DJaOYu1
5/UAn2F1OC1G38hhcUGbCLZAiokKwT5b
=zt9w
-----END PGP SIGNATURE-----
--------------enig020524BCEB6236553FC881A6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5DB32E.7010406>
