sciancio / connectionmanager2

Simple GUI app for Gnome 3 that provides a menu for initiating SSH/Telnet connections
60 stars 45 forks source link

Add tmux support #21

Closed exp closed 12 years ago

exp commented 12 years ago

This patch just adds a 'tmux' option which runs tmux new-window. It's a bit limited in its current scope but as I only ever use one session and want names transferred it works perfectly for me.

sciancio commented 12 years ago

Hi Paul,

thanks for the patch. I'm working to integrate it into the next version of cm.

When using tmux, if I understand correctly, it is necessary to run an instance of tmux before launch ssh connection from the extension. It's correct?

Thanks, Stefano

exp commented 12 years ago

Stefano, There are many options. I simply picked the one most appropriate to me. I can't see any reason to support spawning a new tmux session, but you should probably support setting a specific session name. Sometimes users will have multiple sessions open, and you'll have to specify in which one the window should be spawned.

If there's any code you'd have me write to help out, please let me know.

Paul