Godot Closing when putting computer to sleep on linux

DISCLAIMER: I STARTED OUT WITH LINUX ABOUT 2 WEEKS AGO, ANYTHING MUST BE EXPLAINED IN DETAIL SINCE I’M A LINUX NOOB

Ok, onto the actual problem.

I downloaded Godot for Linux (specifically Ubuntu) and have an issue that whenever the computer is suspended with Godot open, it’s closed the next time I turn on the computer. I run Godot from the taskbar which is a nano for a desktop. It is the following:

[Desktop Entry]
Name=Godot
Exec=/home/istubedmytoe/Downloads/Godot_v4.6.1-stable_linux.x86_64
Icon=/home/istubedmytoe/Downloads/Godot_icon.png
Type=Application
Terminal=false

Should I make the icon not in my downloads folder? Probably. Will I fix that issue? No, I will forget before I get the chance to do anything about it.

I would say you’re asking in the wrong forum. This is not a Godot problem. It’s a Linux problem. The Unix & Linux Stack Exchange is mor likely going to get you an answer. I’ve never asked a question over there, so I don’t know what the community is like. You also might also try Ubuntu’s forum Ask Ubuntu.

Thanks, I’ll leave this unsolved incase anybody knows but try my luck with ask Ubuntu

I feel like creating your own desktop entry might be the issue. Have you tried right clicking and using create link instead. (as @tibaverus said I am barking up the wrong tree with this one)

Also is it Ubuntu 24.04? (latest).

Do you have a nvidia GPU that has issues with sleep depending what Nvidia Driver version you are using.

If it keeps happening I would just save the project before you suspend since it doesn’t take long to open a Godot project anyways.

p.s. the wording a nano for a desktop is really odd even for a linux user (myself). Just say I created a desktop icon using nano.

That should never be the issue. A desktop entry will simply make an executable show up in the taskbar / menu bar so you don’t have to constantly open the directory where the executable is.