I installed fedora 43 and I have issues with suspend.
Sometimes, when I try to suspend, it doesn’t so anything. I have to perform
systemctl -i suspend, which is anoying.
I know there is gnome-session-inhibit --list, but the inhibition doesn’t work properly.
Sometimes it is nautilus, even there is no file transfer, sometimes web browser, but there was no download.
But yesterday, I got something special:
$ gnome-session-inhibit --list
org.gnome.TextEditor: There are unsaved documents (logout)
This was blocking suspend, but according to the message, it should be blocking only logout, not suspend. After closing text editor, I was able to suspend.
And why there is no gui window to suspend anyway, even when the suspend is inhibited?
I’m no quite sure. Direct reproduction doesn’t do it. When I directly open the TextEditor to have unsaved document, suspend it working, even gnome-session-inhibit is the same.
I will try it, when it happends again, it will probably not take a long.