terminator
terminator copied to clipboard
Double input to broadcasted group
Describe the bug When using multiple split panes and broadcasting to a group, the group members receive double the input sent from the selected pane. Screenshots attached below.
To Reproduce Steps to reproduce the behavior:
- Split the terminal to 2 or more panes
- Assign all panes to the same group
- Send keystrokes to one of the panes
- Observe that the other panes don't receive accurate keystroke broadcast from the selected pane, but in fact double
Expected behavior Each pane receiving keystrokes from the selected group member should only receive the correct input, rather than double.
Screenshots
Desktop (please complete the following information):
- Ubuntu
- 22.04 LTS (Jammy Jellyfish)
- X11 and XFCE
Additional context
Using latest version of terminator: 2.1.1
Config file (changed file extension from none to .txt because this form wouldn't accept as-is): config.txt
Facing the same issue as described above. Version in use : 2.1.1-1
It's so inconvenient.
- open
terminator
by sudo user
sudo vim /usr/bin/terminator
- edit
ibus
environment
# as-is
username = pwd.getpwuid(os.getuid()).pw_name
ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username]
ibus_running = len(ibus_running) > 0
if ibus_running:
os.environ['IBUS_DISABLE_SNOOPER']='1' # edit here
# to-be
username = pwd.getpwuid(os.getuid()).pw_name
ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username]
ibus_running = len(ibus_running) > 0
if ibus_running:
os.environ['IBUS_DISABLE_SNOOPER']='0' # edit here
- open
terminator
by sudo usersudo vim /usr/bin/terminator
- edit
ibus
environment# as-is username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='1' # edit here # to-be username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='0' # edit here
This didn't fix the issue for me on 22.04.1 with GNOME 42.2.
Also seeing this on Fedora 35 with Plasma 5.24.4 and terminator-2.1.1-3.fc35.noarch.rpm. Tried the suggested edit of /usr/bin/terminator, no change. Removed /home/$username/.config/terminator/config and restarted terminator, no change.
- open
terminator
by sudo usersudo vim /usr/bin/terminator
- edit
ibus
environment# as-is username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='1' # edit here # to-be username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='0' # edit here
This didn't fix the issue for me on 22.04.1 with GNOME 42.2.
It seems to be solved only in special cases.
My case is also 22.04.1 with GNOMW 42.4,
but IBus
keyboard input method system and using Korean keyboard layout. (English system language)
should be fixed by #674
#674 did not fix it for me. I built from HEAD (403bf540) and I still have the issue
- debian 11.5
- plasma 5.20
Hi @mattrose , this is issue still occurs:
- Terminal version 2.1.3-1 (installed from PPA)
- Ubuntu 22.04.2 LTS
- XDG_SESSION_TYPE="x11"
- Gnome version 42.5
Let me know is there something else you need to know
Edit:
ibus seems to cause this problem for me, so killing the process solved it
sudo pkill ibus
Yeah, this is a bug in ibus, and and terminator is not the only program affected
- open
terminator
by sudo usersudo vim /usr/bin/terminator
- edit
ibus
environment# as-is username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='1' # edit here # to-be username = pwd.getpwuid(os.getuid()).pw_name ibus_running = [p for p in psutil.process_iter() if p.name() == 'ibus-daemon' and p.username() == username] ibus_running = len(ibus_running) > 0 if ibus_running: os.environ['IBUS_DISABLE_SNOOPER']='0' # edit here
This worked for me using GNOME Shell 3.36.9 on Ubuntu 20.04
should be fixed by #674
Not fixed, issue is still here...
This is not an issue with terminator, but a bug in ibus.
For the next person that finds this via $search_engine
that is having this problem and only has an en-us keyboard setup -- simply running ibus exit
can solve the problem. ibus start
will bring the problem back -- even on a running instance of terminator.
Since I have no knowledge or interest in ibus
this is a satisfactory workaround for me.