When I log-in on ubuntu 12.04, the workspace switcher often seems to "remember" the last used workspace when shutting down - and it switches to that one when I start up. As I have a number of applications starting up, it means they will start up in different workspaces, depending upon when the switcher runs - sometimes I'm just left with a blank workspace and all the apps on another workspace.
Is there a setting for this behaviour somewhere? Can I disable it or determine which workspace is opened? Currently I'm trying a script with wmctrl to switch to the desktop I want - but I'm guessing this will also runs into race conditions.