This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Does Your Lid-Switch Have A Mind Of Its Own? Here's The Fix!

star treker

Tue Dec 03, 2019 6:29:03 pm

OK, so you got yourself a nice 24" monitor or 55" TV, and you plug your notebook into it for the very first time, and as soon as you close your notebook lid, the computer either locks the OS, or goes into suspend. Then, you look up your POWER settings in your settings manager, and you set the lid-switch to ignore. You think you won? No you didn't, cause as soon as you close the lid, you've been suspended from school!

So you go to the innertubes and you Google how to stop the lid-switch from being a total douche, and it tells you to go into Dconf editor and change the power settings in there to ignore the lid-switch. So of course you manipulate those settings like an evil genius to ignore the lid-switch, did you win now? Will the universe finally be in balance? No! because as soon as you put the lid down, you've been suspended again.

This is the moment where you asked yourself, why oh why didn't I take the blue ****! :roll:

I am running XFCE desktop on Zorin OS 12.4 Ultimate addition. There are hidden settings that neither of the managers control. Go into a terminal window and enter "GKSU Nautilus" this will give you root permissions required to make changes. Click on "Other Locations", then go to "COMPUTER". Then navigate to "ETC/SYSTEMD/LOGIND.CONF". Change to these bellow and save the changes.

#HandlePowerKey=ignore
#HandleSuspendKey=ignore
#HandleHibernateKey=ignore
#HandleLidSwitch=ignore

Screenshot_2019-12-03_10-15-59.jpg


Now your ready to get back to what you do everyday, try and take over the world. NARF!!! :lol:

Aravisian

Tue Dec 03, 2019 6:39:00 pm

For Zorin 15, Core, Ultimate or XFCE, use
Code:
pkexec <your file manager>
instead of gksu.

And thanks for posting this cure to baldness.