Zorin 17.1 should suspend on closed lid

Hi folks,

I have Zorin 17.1 installed on a notbook.
Default setting is, that it is connected to a USB-C docking station - wich also charges the noteboook.
On the hub there are two monitors.

I want to suspend the notebook by closing the lid. But currently, if I close the lid, it just swappes from 3 monitor setup to 2 monitor setup.

I already tried:
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=suspend
in /etc/systemd/logind.conf

I also tried the switch in gnome-tweeks which enables energy saving mode if lid is closed...

watch cat /proc/acpi/button/lid/LID/state
prints correct lid state.

I also installed dconf-editor and activated the switch lid-close-suspend-with-external-monitor in /org/gnome/settings-daemon/plugins/power.

After all the changes I did a reboot.

I wonder wich hidden switches I may need to toggle.

1 Like

Sorry, I missed to ask a question :slight_smile:

Do anybody know how to config Zorin in a way, that it shuts down or suspends by closing the lid while external monitors are connected to a USB type C docking station?

Also have this problem. Zorin 17 Linux stephen-ThinkPad-T420 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux.

When closing lid, nothing happens. Device still runs hot. No external monitors.

have tried the following.

sudo nano /etc/systemd/logind.conf Find line: #HandleLidSwitch=suspend Remove the hashtag and change it to: HandleLidSwitch=ignore sudo nano /etc/UPower/UPower.conf IgnoreLid=true

Didn't work.

And:
HandleSuspendKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore

then restart the service with

sudo systemctl restart systemd-logind

this didn't work either. Any suggestions welcome.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.