Here's exactly what I wanted to do: Turn ON Lock (
Brightness and Lock), set the time to wait (
Lock screen after:), BUT NOT to lock the screen (e.g. no Password prompt) if I'd only close (and of course open) the lid.
I'm not sure if there's some tweak/hack to be able to do that.
(I'm always walking out of my desk but my machine always does something, so "Do nothing" on lid close, but it's a little annoying to keep typing the password like 4x an hour. I need to have it lid closed. BUT, sometimes I do leave my desk for more than an hour and forgot to Ctrl+Alt+L. I'd like it to lock automatically like after an hour of inactivity. If scripting is the only way to do it, can you please help me where to start? Thanks in advance.)
Ubuntu 12.04.02, LightDM, Gnome Shell