Did you read my previous comment? Your way break compatibility and application expecting the current behaviour -- gnome-session-save presents a gui always https://launchpad.net/bugs/30384