Hibernate from GDM Greeter

The GDM greeter in Fedora 8 has an option to suspend to RAM, but not one for hibernate (suspend to disk). I edited /etc/gdm/custom.conf to add a custom command that runs /usr/bin/pm-hibernate. To see the custom commands from the GDM greeter, you have to press F10. Selecting the command didn’t work–the greeter screen started again. The fix is to set CustomCommandNoRestart0=true.