this post was submitted on 29 Mar 2025
26 points (100.0% liked)
Linux Mint
2224 readers
7 users here now
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Do you have an Nvidia GPU installed?
yes there is an nvidia card in the computer.
OK I ask as I had an issue which was very similar to what your experiencing, eg. Not always turning off or sleeping instead etc.
I found a solution for me and it was by altering the nvidia-sleep.sh file. From memory I had to insert an _exit 0 () at the top. After doing this never had an issue until nvidia did a driver update.
usr/bin/nvidia-sleep.sh needs to still be deactivated by an immediate exit. Add a line just after the bash header line to cause immediate exit 0 (ie success) from the script:
#!/bin/bash exit 0
This is a link I found. Down around half way.
https://askubuntu.com/questions/1345073/suspend-not-working-properly-cannot-wake-up-on-ubuntu-20-04-with-nvidia
Interesting thought