Fix Suspend on Linux Mint

You might get a black screen after trying to suspend your Linux Mint. Try this script instead.

Script

sudo sleep 0.1
cinnamon-screensaver-command -l
echo deep | sudo tee /sys/power/mem_sleep
echo mem | sudo tee /sys/power/state

For other distros, replace (or remove) cinnamon-screensaver-command -l. This locks your desktop.

Using the Script

Open text editor and paste the previously listed script.

Save it as suspend.sh on your desktop.

Right click on it -> Properties -> Permissions -> Allow executing…

Double click on it and choose Run in Terminal.

Enter your password to suspend your PC.

You will have to use this script every time you want to suspend your PC.

More Resources

Distro-specific suspend method fails on certain drivers. Using this method, you’re interacting with the kernel directly.

Leave a Reply

Your email address will not be published. Required fields are marked *