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.
Thank you very much – I have tried many things I found in different forums, but your script is so far the only way to bring back my Macbook Pro 2009 after suspending it (Linux Mint 22) 🙁 … it’s not the best way, but it’s better than nothing.