Suspend then hibernate

I was trying to follow the guide with suspend then hibernate but whenever I try to install the extension nothing ever seems to happen. I am stuck at this screen:

Hi

What distro are you trying to install?, what guide are you following?

/Zoe

Fedora 42 workstation, and I was following the official guide ( linux-docs/hibernation/hibernate-fedora-automatic.md at main · FrameworkComputer/linux-docs · GitHub ).

I later on saw that in Gnome Extensions I got an error code that I could post here. I‘ll do that later.

This is the error message I got:

GLib.FileError: Failed to open file “/home/jokel/.local/share/gnome-shell/extensions/hibernate-status@dromi/schemas/gschemas.compiled”: open() failed: No such file or directory

Stack trace:
getSettings@resource:///org/gnome/Shell/Extensions/js/extensions/sharedInternals.js:101:53
Prefs@file:///home/jokel/.local/share/gnome-shell/extensions/hibernate-status@dromi/prefs.js:24:30
_loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:40:26
asyncExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:28:14
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:138:33
async
LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:125:14
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34

excuse my absence.

can you please repeat the configure hibernate step and check for errors?

/Zoe

for extra credit you can continue to go one step back at a time and check for errors, or repeat the guide from the top being on the lookout for any errors, if you feel inclined.

chatGPT gave the following suggestion:

glib-compile-schemas ~/.local/share/gnome-shell/extensions/hibernate-status@dromi/schemas/

and it actually worked

Edit:
Am I correct that now, if I close the lid (which I have set to suspend), it will eventually go into hibernation (in my case I have set it to 900 sec e.g. 15min)?

Okay, I can confirm that it is not working yet. Did anyone else configure this successfully on the FW12?

I just checked my log from today:

Oct 22 17:11:55 fedora systemd-sleep[43138]: Performing sleep operation 'suspend'...
Oct 22 20:12:04 fedora kernel: printk: Suspending console(s) (use no_console_suspend to debug)

I think your best bet is to follow the guide from the top, and listen to reported errors.

based on what you have shared I believe you are missing some configurations.