Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.38k stars 577 forks source link

guake session backed by screen (or tmux) #604

Open helix84 opened 8 years ago

helix84 commented 8 years ago

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.

gsemet commented 7 years ago

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

helix84 commented 7 years ago

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.

gsemet commented 7 years ago

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

gsemet commented 6 years ago

If you want this feature, please vote on FeatHub

BrendanMesters commented 3 months ago

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.