I am not sure if I am asking in the correct section but I am trying to get my laptop to suspend and lock the screen when I close the lid. I have installed Bodhi 4 and the process was very smooth. As default the laptop goes into suspend when the lid is closed but it does not lock the screen.
I have tried setting logind.conf to ignore the event. This works in that the laptop does not go into suspend mode when closing the screen. Despite this I am unable to get the lid close event to be recognised in settings/input/ACPI bindings in order to bind it to suspend.
If I suspend via clicking the power icon (bottom right) and then suspend the machine suspends and the screen is locked. I would like to replicate this behaviour on closing the lid of the laptop.
I have been searching for the answer but have been unable to find it. Any help would be greatly appreciated.