nutrinoob.blogg.se

Linux mint mate macbook no sleep
Linux mint mate macbook no sleep







linux mint mate macbook no sleep

Linux mint mate macbook no sleep install#

sudo apt install gksu & gksudo gedit /etc/systemd/nf You can also use a terminal based text editor like Vim if you are comfortable with that. Use this command: sudo cp /etc/systemd/nf /etc/systemd/Īnd after that, install gksu so that you can open a graphical application (gedit in this case) from the terminal. It’s always a good idea to make a backup of configuration files before changing them. If you change the settings in this file, it will take precedence over the systemd default settings. However, all the entries are commented out here. This file usually contains the entries that are used by default by systemd. sudo apt install pm-utilsĪfter that, we need to edit the nf file of systemd. Ubuntu should already have it but no harm in verifying it. pm-utils is a collection of scripts that handle suspend and resume. Workaround to make Ubuntu suspend when laptop lid is closedįirst, ensure that you have pm-utils installed on your system. If not, then follow the workaround in the next section. If you had a different setting here, you should check if you are able to suspend Ubuntu by closing the lid. In the power setting, make sure that option for ‘When the lid is closed’ is set to Suspend. Go to System Settings and then click on Power. You must make sure that you have the correct settings in place. Make sure to enable suspend for lid close action I do hope that these fixes work for everyone but it’s not a guarantee because the bug is hardware dependent and though the workaround works for most laptop models, there are surely a few exceptions. Fixing Ubuntu won’t suspend when laptop lid is closed While I cannot fix the bug, I can surely suggest you a couple of ways so that Ubuntu goes to suspend mode after the lid is closed.

linux mint mate macbook no sleep

Unfortunately, this bug has not been fixed even after more than a year. There is a confirmed bug on this issue starting Ubuntu 16.04. Ubuntu simply keeps on running without bothering about going in suspend mode. However, there are several users who are facing issues with suspend behavior when the lid of the laptop is closed.

linux mint mate macbook no sleep

If I close the lid of the laptop, it goes to suspend/sleep mode and when I open the lid, it wakes up. I prefer to link with the lid action of my laptop. One of the ways to save battery on Ubuntu without losing work is to use the suspend mode. Brief: You close the lid of your laptop but it keeps on running instead of going into suspend mode? Here are a few ways how you can make Ubuntu suspend when the lid is closed.









Linux mint mate macbook no sleep