Favourite Sessions manager

Asked by Salvatore Pulvirenti on 2017-01-17

Hi, Terminator is one of my favourite terminal but I don't find a very useful feature.
I'm now studying deepin terminal. It is very elegant but less poweful.
Mainwhile in deepin terminal I can record all my favourite session so I can forget IP addresses of tons of computers. I record them on this manager and then with a search & click I can access very quickly.

Is There a similar feature in Terminator?

Thanks you and sorry for m y bad english

KtrlS

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
2017-01-17
Last reply:
2017-01-17

Layouts?

http://terminator-gtk3.readthedocs.io/en/latest/layouts.html

If this is not what you mean, can you point to something that describes what it is exactly that deepin does.

I'm not sure is the same thing.

My goal was to have an "addressbook" with my favourite hosts.

In deepin terminal I have an interface to configure a label, an ip address and the username.
Then these data are recorded in a list and selcting from it I have to insert only password (in deepin terminal doesn't work the private key, I don't know why).

Here (https://postimg.org/gallery/gb8hwhuq/) I have loaded two images.
"Selezione_17" is the addressbook, "Selezione_16" is the configuration interface

So essentially this is a simple ssh connection launcher. Our layouts feature would allow you to do the same thing but you'd have to explicitly add the ssh command yourself. For instance I use a custom ssh_config to connect to hosts which allows simple commands (i.e. ssh user@target) to connect using an ssh key, and setup very complicated sets of tunnels to reverse/forward ports all over the place. Our layouts also allow connecting more than one host at once, or using other commands (not just ssh).

For this particular use case I think ours is a bit of a sledgehammer to crack a walnut. It's probably fair to say that the deepin feature is more focused and streamlined.

In theory I don't think there'd be a problem adding this as a capability. In fact a quick check found:
https://github.com/mariolameiras/ssh-menu-terminator
which looks like it is pretty much what you are looking for, although a bit more primitive, as it currently looks like it just gives a "command" field, rather than the pretty gui like deepin. Unfortunately this is for gtk2. It would need updating for gtk3, although that isn't a particularly hard job. Mostly a bit of trial and error. (As an aside: actually, I think the left aligned labels in the deepin gui are not Gnome HIG compliant. Pretty sure they should be right aligned unless the labels are indented in group already. https://developer.gnome.org/hig/stable/visual-layout.html.en#label-alignment )

I'm sorry, but I wasn't able to use ssh-menu-terminator.

If I run "python ssh_menu.py" it says:

  File "ssh_menu.py", line 37
    print "SSHMenu: Ignoring section %s" % s
                                       ^
SyntaxError: Missing parentheses in call to 'print'

If I run "python ssh_menu.py" (aka python 3) it says:

Traceback (most recent call last):
  File "ssh_menu.py", line 13, in <module>
    import terminatorlib.plugin as plugin
  File "/usr/lib/python2.7/site-packages/terminatorlib/plugin.py", line 28, in <module>
    import borg
  File "/usr/lib/python2.7/site-packages/terminatorlib/borg.py", line 12, in <module>
    from util import dbg
  File "/usr/lib/python2.7/site-packages/terminatorlib/util.py", line 20, in <module>
    from gi.repository import Gtk, Gdk
  File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 39, in <module>
    raise ImportError(_static_binding_error)
ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183

Can you help with this problem?

Provide an answer of your own, or ask Salvatore Pulvirenti for more information if necessary.

To post a message you must log in.