Restore last work session (layout, tabs, history, current directory, ...)
Bug #1257259 reported by
legaliz_me
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
New
|
Wishlist
|
Unassigned |
Bug Description
It would be nice to have an option to restore the previous work session on startup.
The "Restore last session" could work similarly to Chromium "Pick up where you left off" :
- Save layout information (position, size of terminals)
- Save tabs layout
- Restore the current folder when closed
- Show the previous history grayed out
I'm mainly interested in the status of those features and the possibility to implement them with current Terminator.
For saving layout information, It's already possible but it doesn't include tabs right?
What about the other points?
Changed in terminator: | |
importance: | Undecided → Wishlist |
description: | updated |
To post a comment you must log in.
OK, so right now the
- Save layout information (position, size of terminals)
- Save tabs layout
- Restore the current folder when closed
are all saved when saving layouts. (Some of these bits might only be in trunk.
Theoretically it should be possible to add a check box in the layout pane to save session on exit. This would need thought, because if you have multiple windows in your layout/session, right now there is no way to exit the whole layout/session. You can just close one window at a time. Possibly a keyboard shortcut for those that want it? I don't think I'd want it enabled or in the menu by default, because it's somewhat of a nuclear option.
The bit terminator/ ${TERM_ UUID}_buffer. out (How to prevent it forever growing?)
- Show the previous history grayed out
would be somewhere between tricky and impossible. I guess it would be in three parts:
1) On exit save the scrollback buffer to somewhere like ~/.cache/
2) On load push the saved cache file into the vte widget. (Can it be done direct? Or use "cat"? How to grey out? Or draw a horizontal line?)
3) Start the command as usual.