I have tried using the dconf Editor and enabling auto-save-session-one-shot, however it did not work. I don't need it to save every time, but when I'm working on a project it would be helpful. Is there a terminal command I can execute before powering down? Thanks
Edit: I don't use hibernate because I often switch back and forth to my Windows partition to play games.