session support

Bug #206677 reported by Chris Jones on 2008-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

when a gnome user logs out with various programs running, it is expected that those programs will continue to run pretty much as they were before, when the user logs back in again.
Terminator should support this ability, so users can save their gnome session and automagically get back their terminator setup.

Chris Jones (cmsj) wrote :

(aiui, session support isn't specifically a Gnome feature in that there is a generic X session mechanism, but as yet I am not familiar with it and we probably need to have general profile support in place before we can properly express any given setup).

Changed in terminator:
importance: Undecided → High
milestone: none → 1.0-beta
status: New → Triaged
Romeo A. Cioaba (romeo-cioaba) wrote :

This feature would make terminator a rock star. imagine having to go to work and having to open 20 ssh shells or smthing to different servers/routers etc. Would be great to just fire up terminator and connections to be automagicaly started :)

Matias Vidal (matiasv) wrote :

I would be happy enough if terminator saves my current layout on log-out, I can do that manually placing xterms around my desktop.

odinfromvalhalla, screen ( is the killer app here, pair it with terminator and you got a winner!

Thomas Hurst (tom.hurst) wrote :

It looks like we'll need gnome.ui for xsm support:

import gnome.ui
c = gnome.ui.Client()
c.connect('save_yourself', save_handler)

The callback basically needs to form a command line which will restart Terminator in its current state and pass it to c.set_restart_command()/set_clone_command(). Should be simple enough when we get profiles and layout saving hooked up.

Thomas Hurst (tom.hurst) wrote :

I've added basic session support to a development branch. Doesn't restore your layout, but if you did terminator -e foo, you should get back a terminator running foo, from whatever directory you were in when Terminator started.

Rumor has it that the session manager will restore our geometry, so I don't pass in our own --geometry; the code's there commented out if it turns out this isn't the case.

Please test; I don't use X session management, so the only thing I've tested is that the debug output from calling the handler manually looks sensible.

Changed in terminator:
assignee: nobody → tom.hurst
status: Triaged → In Progress
Thomas Hurst (tom.hurst) wrote :

This has now been pushed to trunk. No layout saving, but the basics are there.

Changed in terminator:
status: In Progress → Fix Committed
Chris Jones (cmsj) on 2008-09-20
Changed in terminator:
status: Fix Committed → Fix Released
Chris Jones (cmsj) wrote :

Reopened because there is no gnome session code yet in the post-epic-refactor world, but there should be, and it should pay attention to bug #525509

Changed in terminator:
assignee: Thomas Hurst (tom.hurst) → nobody
status: Fix Released → Triaged
milestone: 1.0-beta → 0.90-beta
Chris Jones (cmsj) on 2010-03-30
Changed in terminator:
milestone: 0.90-beta → 1.0-beta
Chris Jones (cmsj) wrote :

afaik sessions are essentially deprecated

Changed in terminator:
status: Triaged → Won't Fix
Chris Jones (cmsj) on 2012-10-18
Changed in terminator:
milestone: 1.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers