How do I make sure that the system suspends on cloing the laptop screen On Ubuntu 12.04
I was using XFCE before I started playing with i3. I noticed that whenever I closed the cover of my laptop the system does not automatically susspend anymore as it used to do with XFCE. It just stays on. I have configured a keybinding to trigger pm-suspend and that works fine I want the same behavior when I close the screen. please help
I am on i3 4.7