Save workspace between boots on linux

Solution 1:

You can save which applications are opened when you shut down, by activating this option:
Automatically remember running applications when logging out in System -> Preferences -> Startup Applications -> Options

Nevertheless, this won't remember which workspace each application was running. To do that you can use the compiz plugin "Place Window" to configure "Windows with fixed viewport" based on the application name.

install ccsm and plugins:
sudo apt-get install compizconfig-settings-manager python-compizconfig compiz-fusion-plugins-extra compiz-fusion-bcop compiz-fusion-plugins-main compizconfig-backend-gconf

You must create a rule for each application, which will then open in the specified viewport (workspace) whenever you start it.

ref