I’m using an XPS 13 9350 with 16GB of RAM and the Intel Graphics 540. I am using Fedora KDE spin. When I am using computer, either randomly or when I start a program, my computer will slow down and quickly fully freeze. In this state, the only thing I can do is shut it down. Is there any way to make it so that a program is killed, or something else that doesn’t fully stop my system?
I don’t have advice to offer but depending on the program you are using, it might be autosaving your work to a temporary file, for example vim does this by default.
You could look into settings for autosaving or temporary files in your programs.