tilix icon indicating copy to clipboard operation
tilix copied to clipboard

Synchronised input groups

Open alexwhitman opened this issue 9 years ago • 30 comments

Synchronised input is currently done at the session level but it would be useful if terminals could be grouped within a single session and input synchronisation done at the group level.

alexwhitman avatar Apr 26 '16 14:04 alexwhitman

@alexwhitman I added the feature some time ago that allows you to decide what terminals in a session participate in synchronization. When the titlebar is visible and session input synchronization is on, there is a little keyboard icon that appears that you can toggle on/off to include/exclude specific terminals. This feature is also available in the terminal context menu when the titlebar is off.

I wasn't planning on taking this any further, as I think allowing users to start creating and managing arbitrary groups would be confusing and not intuitive. Plus I'd need to come up with a way to show the different groups visually and I don't have a good idea for that.

Thoughts?

gnunn1 avatar Apr 26 '16 17:04 gnunn1

It's a feature I've used quite a bit in terminator as I tend to have it maximised on a single large monitor which then allows for comfortably fitting quite a few terminals.

The screenshot below shows how it's done in terminator to distinguish/manage each group but I can understand why it might be something you wouldn't want to add.

selection_001

alexwhitman avatar Apr 26 '16 20:04 alexwhitman

Thanks, I still tend to think it's confusing and not something to many folks would use, but I'll leave this open as a means to judge interest.

gnunn1 avatar Apr 26 '16 20:04 gnunn1

+1 for this feature as well. I use this at work probably 2 or 3 times a day when I don't feel like breaking out ansible. Easily SSH to a handful of servers and broadcast

mattwilmott avatar Jun 28 '16 05:06 mattwilmott

One thing I miss is the ability to broadcast keystrokes across separate instances/windows of Terminix, like it is possible with Terminator. For example, imagine you have a two 1920x1080 monitors and on one monitor you have a Terminix window with 4 terminals (2x2), then on another monitor another Terminix window the same way, having keystrokes broadcasted to all terminals across the windows based either on groups (like Terminator does).

Having 8 terminals (4x2) on a single 1920x1080 monitor is clumsy and 4K monitors are still expensive if you factor in the new GPU. =)

dansouza avatar Aug 10 '16 21:08 dansouza

+1

ikonitas avatar Aug 18 '16 11:08 ikonitas

+1

KmBKeef avatar Jul 25 '17 10:07 KmBKeef

+1

Also a little offtopic but when you sync terminals on a session and decide to leave one out by clicking on the icon in the title bar, I find it impossible to tell if its excluded. The icon should be way more dimmed or totally change colors to something like red for instance.

screenshot_2017-08-03_17-00-20

First one in red would be an ideal way to easily tell if that terminal is not in sync. The second icon is an excluded terminal. If you compare it with the third icon you can see that is difficult to tell if its grouped or not.

mistersister avatar Aug 03 '17 15:08 mistersister

@mistersister I think that's a problem with your theme, try it with Adwaita so see how it looks there.

gnunn1 avatar Aug 03 '17 15:08 gnunn1

@gnunn1 yeah, it seems like my current theme (Numix) places no borders around the icon unlike Adwaita. Damn you material design! I tested some more random themes installed and some had the same issue, others didnt.

Maybe you should consider make it so that is less theme dependent? It sucks when theming gets in the way of usability.

mistersister avatar Aug 04 '17 07:08 mistersister

+1

dfbadawi avatar Jun 06 '18 02:06 dfbadawi

I agree with @dansouza

It would be great if we could broadcast across sessions and windows.

At my work, I have a small monitor, so I stick to two terminals stacked vertically. To compensate, I open 3-4 sessions.

krishraghuram avatar Oct 12 '18 04:10 krishraghuram

+1 for this feature. Maybe one could have this functionality without having to wire it in Tilix itself. Register new sessions over a socket, socket executes commands it receives, maybe?

nubunto avatar Jan 14 '19 21:01 nubunto

+1

chrisbrake avatar Mar 12 '19 19:03 chrisbrake

+1. I think this is a pretty useful feature to have. I migrated from Terminator to Tilix. This is one feature I find missing. It comes in pretty handy if you need to ssh to multiple hosts and run the same commands on all of them.

akaHuman avatar Apr 26 '19 07:04 akaHuman

+1 for this feature if I'm allowed to ;)

donfuz14 avatar May 28 '19 14:05 donfuz14

+1

EtreRe avatar Aug 07 '19 13:08 EtreRe

This is an essential feature for which I still have to use terminator.

hboetes avatar Sep 22 '19 17:09 hboetes

+1

fernandolobo avatar Oct 25 '19 12:10 fernandolobo

+1

rafaelchavesfreitas avatar May 19 '20 00:05 rafaelchavesfreitas

Just a note for the +1: instead of adding "+1" comments use reactions in issue description. This way the maintainers will be able sort by reactions.

On the other hand, adding comments explaining why this feature would be helpful for you could help maintainers to understand the actual needs and plan accordingly to that.

seocam avatar May 22 '20 12:05 seocam

I used to use this feature in terminator and iterm2 to witch a group of terminals to a different directory and python virtualenv. That kind of context change happens many times in a single day and that's where I miss the feature the most.

Broadcasting is also useful for me if I need to run a command in a few different VMs. This second scenario it's really used when I only have a few vms (4 at most), if it's more than that I'd use Ansible or Puppet...

seocam avatar May 22 '20 12:05 seocam

+1, I find it tremendously powerful in some scenarios.

Zeioth avatar Jun 06 '20 13:06 Zeioth

+1

zeandrade avatar Sep 02 '20 13:09 zeandrade

+1

euikook avatar Apr 22 '21 22:04 euikook

+1

marschal avatar Feb 15 '22 12:02 marschal

Any news about this feature? I just turned to Terminator because it has support for broadcast where I can type the same command on multiple panes.

mhalano avatar Oct 16 '22 12:10 mhalano

I'm using V 1.9.1 in Ubuntu , and I have a "Synchronize Entries" Option on menu. When enabled, it's create a keyboard icon, that's enable/disable the option for all splitted terminals present. ( tilix 1.9.3-4build3 , tilix-common 1.9.3-4build3)

zeandrade avatar Oct 18 '22 18:10 zeandrade

some news ? it's really convenient when, with 6 terminals for example, you want to make 3 groups of two (two masters, two satellites and two agent for example)

valderaplets avatar Feb 01 '24 14:02 valderaplets