Hello, I recently upgraded my laptop from wheezy to jessie, and everything is going smoothly. I run a very simple system, with X but no DE. I would like to lock the screen when the lid of my laptop is closed (by running xscreensaver, which I currently have installed, if possible, but any other method will do). How to do it? After searching a bit I suspect I have to mess with systemd configuration files, but I am not sure which one to edit.