My system shuts down when I push te power button instead of suspending like most laptops. There are many complex forum solutions for that on the net, but I like to solve it with this command:

"gsettings set org.gnome.settings-daemon.plugins.power button-power suspend;"

The only problem is lubuntu uses LXQt now, so the result is: No such schema “org.gnome.settings-daemon.plugins.power”...

My question, what would be the equilavent gsettings command for lubuntu 18.10? Thanks for any idea's offered.

  • Do you want to use only the power button to suspend? Why not just use the suspend option under "Leave"? Wouldn't that achieve the same purpose? In any case, the command that is run when you choose the suspend option from the menu is lxqt-leave --suspend. You could bind that to an convenient keyboard shortcut such as meta+L (where meta is the Super or Windows key). After logging out and logging back in (just to be sure the command is registered with the system), pressing Meta+L would bring up a small dialog window asking if you really want to suspend. – DK Bose Dec 3 '18 at 12:32
  • Thanks DK Bose, just I use windows on the same laptop somtimes, a press on the power button in windows will suspend my laptop. That's the problem, I'm used to it for a long time. Also in elementary os it works the same which is a daughter of ubuntu. Now, when I don't think about it, I press the switch button and my system halts when I don't want it...... – leeuwtje Dec 4 '18 at 18:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.