ThinkPad "X330" Does Not Suspend When Lid Closed

One last possible place to check, is go to privacy tab in settings. Then on the Seenlock category, look for any settings in there that might help. I am not exactly certain what the issue is at this time. Not sure if its a bug, or a setting in there, or an issue with hardware itself.

Still unchanged. Very puzzling. Flipping that switch in settings while running a live boot of Mint and Manjaro works. Worth a try, I guess. Looks like I may have try another distro. Shame. I've come to like Zorin about as much as I like Mint.

EDIT: Never mind. Doesn't work in Elementary OS. Puzzling.

Unfortunately, none of those did anything either. Different distro time, I guess.

It can happen - or begin to happen - on any distro.
Try the steps outlined here:

Still didn't work. Dang it.

EDIT: Dang it. I hoped installing the KDE Plasma environment would do it. It includes the switch but that ended up not working anyway. Really not sure why it's doing that. It works on the Kubuntu live boot I ran.

Did you run sudo systemctl restart systemd-logind.service after performing the above?

Yes. It didn't do anything, unfortunately.

1 Like

Really is an exchanging one problem for another situation here. Closing the lid works in Kubuntu but I can't get the dang fingerprint reader to work anymore. Don't feel like trying with Manjaro yet so may give Zorin another try anyway. (Outside of the funkiness with the lid closing issue, I like it more than Kubuntu.) Maybe if I do that on a clean install, it will work. Will give that a shot.

It may well be that a clean installation might work. Things can surprise you. Does the fingerprint reader work in Zorin?

Tried dconf-editor in a live boot. It did not work. Worth a shot, I guess. And yeah, the fingerprint reader worked out of the box in Zorin. Really liked that about it. (Also did in the Ubuntu live boot I tried.)

Fascinating.
Gnome Blocks suspend when an external Monitor is detected:

systemd-inhibit --list --mode=block
Who: $USER(UID 1000/$USER, PID _____/gsd-power)
What: handle-lid-switch
Why: Multiple displays attached
Mode: block

Can you please run systemd-inhibit --list --mode=block in terminal and relay the output?

The patch for this is supposed to be here:
http://bazaar.launchpad.net/~ubuntu-desktop/gnome-settings-daemon/ubuntu/files/head:/debian/patches/

But isn't.

You said Kubuntu works? Which is KDE desktop, not Gnome.
I wonder if you might (just to try it out) test this with a LiveUSB of Zorin OS 15.3 Lite which uses XFCE desktop, instead of Gnome Desktop. Sorry to put you through this much trouble.

In the 15.3 Lite live boot, it says

In the 16.0, got what you posted.

OK... in 15.3 lite LiveUSB, can you test this?
Set the settings in xfce power manager, then close the lid.
Login on LiveUSB is user: zorin pass:______(blank)

https://docs.xfce.org/xfce/xfce4-power-manager/preferences

Otherewise, these commands on Zorin OS Lite will work on XFCE desktop (Which is what I use):
Suspend Key:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-suspend-key -n -t bool -s true

Lid:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true

the above may require you to install power manager utilities. I am reasonably certain this comes included in Zorin OS Lite, but not 100% certain, so just in case:

sudo apt install pm-utils

That ended up still not working. Have it set so the laptop suspends when the lid is closed. Installed pm-utils and used those commands. Still nothing. In trying out a few other distros, it works in PureOS Plasma but not PureOS GNOME. Tried using dconf-editor in Pop!_OS. Didn't work there either.

Ok, so it works on Plasma Desktop, (KDE - Kubuntu, PureOS) but not in Gnome.
It also does not work on XFCE.
So it may be a GTK thing. At least we are narrowing it down.

1 Like

Tested on Solus as well. It works on Plasma but not GNOME, MATE, and Budgie. Trying out Manjaro right now. Liking it alright but am not quite used to the different terminal commands. Am waiting to see how Fingerprint GUI works. Currently building right now.

EDIT: Friend pointed out a potential solution for Manjaro but I separately figured out how to get the fingerprint reader working in Kubuntu. Back to that now.

1 Like

Holy smokes. Fingers crossed it's not something that just works in the live boot but I tried Mint with MATE instead of Cinnamon. The TrackPoint speed works fine and even without the option to suspend while an external monitor is plugged in, it goes to sleep properly. Might be a Mint thing with MATE because it didn't got to sleep properly on my live boot of Solus MATE. If the fingerprint reader works too and doesn't freeze on the login screen like in Kubuntu, I will be in Linux heaven.

Edit: Tested Mint MATE on an external hard drive. It works! It all works! Fingerprint reader and lid closing!

Awesome. Nothing like getting everything working to feel like you can get working.
Many of us are Mate or Mint users (I have Mate, Cinnamon, XFCE, LXDE and Enlightenment Desktops at my disposal) so feel free to use this forum for further troubleshooting.

1 Like

Was dissatisfied with how I couldn't organize the icons on the panel/taskbar in Mint MATE. Ended up switching back to Kubuntu. Figured out how to get it to not freeze on the login screen with the fingerprint reader enabled. Last post on that thread suggested replacing SDDM with Lightdm and it worked! Hopefully, this will be the end of all my distro hopping.

1 Like

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