saving session in Ubuntu 11.04

Asked by Jim Behm on 2011-07-17

I just upgraded to Ubuntu 11.04. The Gnome menu panel doesn't appear so I had to manually run gnome-panel from a terminal window. There is no longer a Session tab in the Startup Applications so I'm unable to save my start-up configuration.
I ran gnome-session-save (also tried with sudo) and rebooted but it made no difference.

How can I save my session and/or get the menu panel to automatically appear after start-up.

Thanks,
   Jim

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

You can run gnome-panel in a Unity session, but it isn't designed to work in such a session, and if you want to have the bottom panel with the window list, that suggests that you really don't want to be using the Unity interface anyway. If that is the case, then you can switch back to the classic interface by selecting "Ubuntu Classic" or "Ubuntu Classic (no effects)" as your session type in the graphical login screen. The session type drop-down menu appears in the horizontal bar at the bottom of the graphical login screen after you have specified your username, while you are being asked for your password.

I believe there is a way to save your session in Unity (though I don't know how), so this question is still unanswered; for that reason, I am leaving its status as Open so that others are more likely to respond.

Revision history for this message
Jim Behm (jbehm-2000) said :
#2

Thanks much for your prompt and helpful response. I wasn't even aware of the Unity interface.

Thanks,
  Jim

Revision history for this message
Sam_ (and-sam) said :
#3

Actually the 'remember currently running apps' dialog was redundant.
If a user prefers to run certain apps on startup in session xyz they can simply be added to startup applications.
Disadvantage, if one (or more) of those apps is buggy debugging may get bumpy, similar with auto login.
It all sounds comfortable at first glance, but if something goes wrong (murphy's law) user starts crying.
http://askubuntu.com/questions/30931/how-do-i-make-a-program-auto-start-everytime-i-log-in

https://help.ubuntu.com/11.04/ubuntu-help/index.html

Revision history for this message
Jim Behm (jbehm-2000) said :
#4

I use the save session to conveniently save desktop configurations: e.g. terminal windows of a specific size and location on my desktop as well as e.g. xemacs open on a file that I want to remember to update. I can certainly do this manually but it is not nearly as convenient.

Jim

Revision history for this message
Sam_ (and-sam) said :
#5

Try gconf-editor
key:
/apps/gnome-session/options/auto_save_session = true

Revision history for this message
Jim Behm (jbehm-2000) said :
#6

Sam,
   Thanks for your suggestion. I tried using gconf-editor from the command line - got an error message. Bringing up the GUI, I selected /apps -> /gnome-session -> /options and clicked on auto-save-session. When I rebooted nothing had been saved even though when I brought up the gconf-editor GUI the auto-save-session box was checked.

It is possible that I need to re-install Ubuntu 11.04 and overwrite what I have, since I kept some of my old configuration files (in particular still using KDE).

Thanks,
  Jim

--- On Wed, 7/20/11, Sam_ <email address hidden> wrote:

> From: Sam_ <email address hidden>
> Subject: Re: [Question #165070]: saving session in Ubuntu 11.04
> To: <email address hidden>
> Date: Wednesday, July 20, 2011, 9:21 AM
> Your question #165070 on unity in
> Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070
>
> Sam_ proposed the following answer:
> Try gconf-editor
> key:
> /apps/gnome-session/options/auto_save_session = true
>
> --
> If this answers your question, please go to the following
> page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go
> to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070
>
> You received this question notification because you asked
> the question.
>

Revision history for this message
Sam_ (and-sam) said :
#7

If you like confirm the linked bug report and in case tag it [wishlist].

http://askubuntu.com/questions/38988/is-there-a-way-to-save-a-session

Oneiric will use gsettings anyway, values from gconf-editor are ported and available in dconf-editor (by installing dconf-tools).

Keyword autosave+session.
http://askubuntu.com/search?q=autosave+session

Revision history for this message
Jim Behm (jbehm-2000) said :
#8

Sam,

  I haven't had access to the Internet for a few days. Thanks for pursuing this.
  As I'm having other issues, like slower Internet speeds and very slow
xemacs, I'm going to reinstall 10.10 and wait for a more stable release.

Thanks,
  Jim

--- On Thu, 7/21/11, Sam_ <email address hidden> wrote:

> From: Sam_ <email address hidden>
> Subject: Re: [Question #165070]: saving session in Ubuntu 11.04
> To: <email address hidden>
> Date: Thursday, July 21, 2011, 5:16 PM
> Your question #165070 on unity in
> Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070
>
>     Status: Open => Answered
>
> Sam_ proposed the following answer:
> If you like confirm the linked bug report and in case tag
> it [wishlist].
>
> http://askubuntu.com/questions/38988/is-there-a-way-to-save-a-session
>
> Oneiric will use gsettings anyway, values from gconf-editor
> are ported
> and available in dconf-editor (by installing dconf-tools).
>
> Keyword autosave+session.
> http://askubuntu.com/search?q=autosave+session
>
> --
> If this answers your question, please go to the following
> page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go
> to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/165070
>
> You received this question notification because you asked
> the question.
>

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#9

You should be able to retain many of the benefits of Ubuntu 11.04 (newer software) while having the same graphical interface as Ubuntu 10.10 and the ability to save your session, by changing your session type to "Ubuntu Classic". See reply #1 at https://answers.launchpad.net/ubuntu/+source/unity/+question/165070.

Can you help with this problem?

Provide an answer of your own, or ask Jim Behm for more information if necessary.

To post a message you must log in.