GNOME Session Shutdown is a shutdown tool that will gracefully end the GNOME session before bringing the system down.

It makes possible to easily bring the system down from a terminal (or from within a script) with a shutdown-like syntax, closing all the GNOME applications and ending the GNOME session in a safe way instead of just terminating the GNOME Display Manager.