Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to save current session (the applications + the organization of windows in desktops) in Unity and load it when needed? I'm using 11.10.

share|improve this question

4 Answers 4

up vote 4 down vote accepted

No - as you've described is not currently possible in 11.04 & 11.10

You may read this bug report, comment 24 in particular


or here is a more complete explanation (too long to copy here)?


share|improve this answer

I have made a workaround that is a script that helps to configure your session. Just paste this at terminal:

cd ~/ && wget -c http://dl.dropbox.com/u/4098082/session.config && chmod +x ~/session.config && ~/session.config

You can view the code of script ( http://dl.dropbox.com/u/4098082/session.config ), there are explanations in each part. It will create a startup script which will move to each viewport and open the specified application.

Also you can run it whenever you want just press Alt + F2 and paste ~/.sessionconf.


To remove any changes made by my script just delete this files:

  • ~/session.config
  • ~/sessionconf
  • ~/sessionconf.bak
  • ~/.config/autostart/sessionconf.desktop

Or run this at terminal:

rm ~/session.config ; rm ~/sessionconf ; rm ~/sessionconf.bak ; rm ~/.config/autostart/sessionconf.desktop  
share|improve this answer

You can do this: killall gnome-session. As we know that entering the command sudo gnome-session-save --logout will log out the system. This will save the current session on Unity. I have tried this.

Or may be you can read about how to make a program auto-start everytime you log in.

Or you can try this gconf-editor key:

/apps/gnome-session/options/auto_save_session = true
share|improve this answer

dconf write /org/gnome/gnome-session/auto-save-session true Should enable this for you.

share|improve this answer
Not working on 14.04 :( –  AlikElzin-kilaka Jan 29 at 23:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.