guake icon indicating copy to clipboard operation
guake copied to clipboard

guake session backed by screen (or tmux)

Open helix84 opened this issue 9 years ago • 5 comments

I'd like guake to be backed by screen. A single instance of screen would be started on guake startup with the name "guake" (screen -S guake) and it will appear in Tab 1.

When I open a new tab in guake, simultaneously a new screen window will be created (ctrl-a c) and will appear in Tab 2.

When I close a tab in guake, simultaneously the associated screen window will be killed (ctrl-a k).

When I create a new window in screen, a new tab will be opened in guake.

When I close/kill a window in screen, the associated tab in guake will be closed.

You can use both screen commands and guake GUI to control the guake/screen session.

The screen/guake session can be attached both in guake and screen (for example via ssh) simultaneously. (Screen on its own supports attaching a single session from two screen instances.)

I use guake with multiple tabs at work. When I leave, I can ssh from home and connect using "screen -x guake" exactly where I left (this is why I want this feature).

Now, regarding session saving/restoring, here's one way it could work:

When you exit guake, screen will not be killed, only detached (ctrl-a d).

When you start guake again, it will reconnect to the screen session called "guake" and open each of the session's windows in a guake tab (similar to what "screen -x guake" would do, but in tabs).

Should your X Window System crash, you can simply restart X and run guake, which will restore the running session.

helix84 avatar Aug 24 '15 14:08 helix84

this will not be part of guake. But I think about a kind of plugin system that others might write the dedicated plugin for this

gsemet avatar Dec 13 '16 10:12 gsemet

Thanks for your response (I didn't get a comment notification, I only happened to check back).

Just to clarify - are you saying that you're not going to develop it or that you're not interested in such contribution at all? I recently learned about libtmux and thought I'd give it a shot.

helix84 avatar Jan 03 '17 15:01 helix84

i think this can fit in as a plugin in a next version of guake that is being rewritten :)

gsemet avatar Jan 03 '17 16:01 gsemet

If you want this feature, please vote on FeatHub

gsemet avatar Jan 11 '18 13:01 gsemet

Hey, I was wondering if any progress has been made on this topic.

I would personally love to link together the guake tabs and my tmux sessions but don't think this is natively supported.

BrendanMesters avatar Apr 09 '24 11:04 BrendanMesters