i use the last linux mint XFCE, i'd like my laptop to shut down when i close the screen. How can i achieve that ?
I've tried to uncomment and set HandleLidSwitch=poweroff in logind.conf i restarted the computer then.
I've also tried to set lid-close-ac-action & lid-close-battery-action to shutdown in dconf editor but nothing works.