OS: CentOS 5.0 x86.
I am not sure it is a bug or something, however regarding saving Gnome Sessions, under Session Options, even if we select "Ask on logout", it doesn't ask. Any work arounds?
On Sat, 2007-04-21 at 22:55 +0300, Ioannis Vranos wrote:
OS: CentOS 5.0 x86.
I am not sure it is a bug or something, however regarding saving Gnome Sessions, under Session Options, even if we select "Ask on logout", it doesn't ask. Any work arounds?
I don't have CentOS 5 running anywhere yet, but I do use Fedora Core 6 on my laptop, and there the "Ask on Logout" works as it should.
Anyway, you could save your session manually by typing this into a terminal:
gnome-save-session
You can put that into a panel launcher too.
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
I don't have CentOS 5 running anywhere yet, but I do use Fedora Core 6 on my laptop, and there the "Ask on Logout" works as it should.
Anyway, you could save your session manually by typing this into a terminal:
Since you seem to use it, and find it useful, I'll ask:
Just what is the point of saving sessions?
First, some background...
I use FC2 on a desktop. I tried the "save session" and "restore session" and I basically got NOTHING back. Apparently "save session" is a way for those things which are GNOME aware and which use some special hooks to save some state. No? Anyway, I run Mozilla, Thunderbird, Acrobat Reader, and terminal sessions. I run next to nothing else. Not any of this saves anything, AFAICS.
So, since you use it, can you tell me what saving/restoring sessions does for you? AFAICT, it does nothing for me at all.
Maybe I'm just ignorant. I hope so.
For example, one thing I'd like to do is have my UPS signal "imminent loss of power" and shutdown in a manner which will allow me to resume what I was doing. Suspend to disc sounds perfect, except that my desktop seems not to support that.
Mike
On 5/1/07, Mike McCarty Mike.McCarty@sbcglobal.net wrote:
Since you seem to use it, and find it useful, I'll ask:
Just what is the point of saving sessions?
It means I don't have to reconfigure my desktop every time I log in. I'm still running CentOS 4, but one of the first things I did was configure the logout not to ask about saving sessions, just do it. it means that when I change how my desktop looks, the new look is saved so I don't have to do this every time I log in. I have a single panel on my screen - it's the top panel, but I have it on the bottom, with the main menu, workspaces and clock all on the one panel. I'd hate to have to go through the pain of re-doing that every time I log in - it was a fair bit of work.
Thanks.
Mark Hull-Richter wrote:
On 5/1/07, Mike McCarty Mike.McCarty@sbcglobal.net wrote:
Since you seem to use it, and find it useful, I'll ask:
Just what is the point of saving sessions?
It means I don't have to reconfigure my desktop every time I log in.
I wasn't aware that such kinds of configuration could get lost. Do you mean that if you put a different background, or move the "taskbar" to the top, or sth like that it gets lost if you log out?
I don't reconfigure anyway.
Mike
On 5/1/07, Mike McCarty Mike.McCarty@sbcglobal.net wrote:
I wasn't aware that such kinds of configuration could get lost. Do you mean that if you put a different background, or move the "taskbar" to the top, or sth like that it gets lost if you log out?
I believe that is the way it works, although not all aspects are necessarily saved or forgotten that way. Sometimes it is just for opened windows (they get restored when you log back in if they were open on logout), etc.
I don't reconfigure anyway.
Then you probably don't need it.
Mark Hull-Richter wrote:
On 5/1/07, Mike McCarty Mike.McCarty@sbcglobal.net wrote:
I wasn't aware that such kinds of configuration could get lost. Do you mean that if you put a different background, or move the "taskbar" to the top, or sth like that it gets lost if you log out?
I believe that is the way it works, although not all aspects are necessarily saved or forgotten that way. Sometimes it is just for opened windows (they get restored when you log back in if they were open on logout), etc.
I just reconfigured my "task bar panel" to be at the top of the screen, and logged out. When I logged back in, it was at the top. AIUI, the only windows which get saved are the ones with GNOME apps in them. IOW, if I have a terminal window with a current directory somewhere, and am using my editor (I don't use the GNOME editor) in that window, then nothing gets saved or restored. I have tried that before, IIRC, and it didn't either restart the terminal window, nor the current directory, nor my edit session.
IOW, it saves info for GNOME aware apps with special hooks, as I said.
I don't reconfigure anyway.
Then you probably don't need it.
If what you are trying to restore is stuff like where your panel is, and so on, then you probably don't need it, either.
I have really a single-user system, and I rarely log off anyway. When I have a power failure which lasts longer than my UPS can keep things up, then I shut down.
Mike
On Tue, 2007-05-01 at 12:31 -0500, Mike McCarty wrote:
I use FC2 on a desktop. I tried the "save session" and "restore session" and I basically got NOTHING back. Apparently "save session" is a way for those things which are GNOME aware and which use some special hooks to save some state. No? Anyway, I run Mozilla, Thunderbird, Acrobat Reader, and terminal sessions. I run next to nothing else. Not any of this saves anything, AFAICS.
Not all apps will work, but most do. Firefox can be saved - I don't know about Adobe Acrobat.
So, since you use it, can you tell me what saving/restoring sessions does for you? AFAICT, it does nothing for me at all.
I use it so that some applications that I'm always running are started automatically when I log in. Saves me some clicking, and so a bit of time. I have Gnome Terminal, Ekiga, Gaim, and Evolution all start up as soon as I log in.
If you create and save different sessions (and they all have different names), you can then specify in GDM (i.e. when logging in) which session you want to use. That can come in really handy.
You can also save scripts in a Gnome session. I don't know what you would want, but at one time I had fetchmail saved in my Gnome session.
So, it's not meant to save the state of your desktop. It's to help you get your desktop up and running without having to start up things manually.
I think that's basically it. Others may be doing more exotic things.
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
On Tue, 2007-05-01 at 12:31 -0500, Mike McCarty wrote:
I use FC2 on a desktop. I tried the "save session" and "restore session" and I basically got NOTHING back. Apparently "save session" is a way for those things which are GNOME aware and which use some special hooks to save some state. No? Anyway, I run Mozilla, Thunderbird, Acrobat Reader, and terminal sessions. I run next to nothing else. Not any of this saves anything, AFAICS.
Not all apps will work, but most do. Firefox can be saved - I don't know about Adobe Acrobat.
Hmm. "Most" do. I rarely just run Acrobat. I pull it up, look at sth, and put it away. What I keep up all the time are Mozilla, Thundebird, and terminals.
[snip]
So, it's not meant to save the state of your desktop. It's to help you get your desktop up and running without having to start up things manually.
Ok.
In any case, it's a login thing, and I log in less than once a month. To put it another way, I don't log out unless I have to shut down due to a power failure. I treat this machine as a single user machine. There are only three users who can log into my machine:
root me a friend of mine with no access (I did some consulting work and never removed the user name)
Nobody logs in but me, and I do it every time I boot exactly once.
Thanks for the reply.
Mike
In any case it looks like in 5.x sessions are something like deprecated. There is the Startup Programs list, the only reason I wanted to save the session was because I wanted to change the start up order of some KDE apps that do not dock well under GNOME notification area. I did it eventually, but it did not help. Also it produced some kinds of bugs, and I had to delete the Default session, now everything is fine, all necessary CentOS applications are in Startup.