-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broadcast issues additional key to terminals #78
Comments
I believe this has been fixed in master. Can you try:
to try it out? |
confirmed in my setup |
weird, I'm not seeing that either on fedora or my mac, and my mac terminator install is as quirky as hell :) |
Closed it by mistake |
FOUND IT! It is, as I thought an issue with ibus grabbing keypress events and then sending them back. It's ibus/ibus#2036 There are a bunch of issues around it, but I'm gonna take the same big hammer approach to the problem as Stephen took. If you hit this bug and want to work around it, simply ensure the following environment variable is set before starting terminator: |
Well, this was an adventure. It turns out that it wasn't the environment variable that changed, but actually the internals of the python psutil module, which meant that we weren't actually detecting whether or not ibus was running, and consequently never setting the proper ibus environment variable. Can anyone who has encountered this bug please check out the PR and test it? |
Great, I'll pull this in soon. Thanks for testing it out so quickly. |
It still happens to me with commit 6c56f32 |
I'm going to re-open this to check this out. |
When I tried to start layout from terminal, observed that it was giving keyError since GTK_IM_MODULE env var is already deleted (probably), when I handled it in a try except block, now I can start from layout. Final form of the addition (Just before
I did not open a merge request since I am not sure if this is the best way to handle it, but if anyone wants a quick solution can use it. |
I reverted #36, can you retest this and close it if it's fixed again? |
Checked issue78 branch, and there was no such problem, but master branch still has it. |
Did you update master from upstream? |
Yes, I did at the time and tried again just now. Still persists. |
It seems the bug introduced by 736e88a. I did find it by sectioning commits and testing for the problem. |
Hmm, can you see if the ibus fix referenced in that commit is in your version of ibus? |
How can I check it? Seems my IBus version is 1.5.17. |
That should have the fix in it, I'll see if I can reproduce this in an ubuntu 18.04 vm soon |
I also have this problem when broadcasting to multiple panes. The current workaround that seems to work is to set I added the following alias to my
I'm running the following:
Enabled Terminator Plugins:
|
I've been able to make it work creating the executable file
I did this because the terminator.desktop launcher doesn't seem to use the alias from the .bashrc |
I think this workaround is best if anyone is still hitting this issue. Anytime I try and fix this in code it breaks more critical functionality. |
Hi @mattrose Looks like this bug is back starting with terminator version v2.1.0 I installed terminator from your PPA and got an update a few hours ago from 2.0.1-1-0ubuntu3 to 2.1.1-2 since then I get the double input on split terminal again. The insert_number feature also crashes with error:
To verify that it was working earlier I cloned your repo and tested the tags backwards:
So I guess somewhere the changes you made to fix this bug in git lost after version v2.0.1 I'm running Ubuntu 20.04. Let me know if I can provide additional information to help narrow down the issue. Cheers, Kimba |
Same issue on Terminator 2.1.0-2 on Debian bookworm (actually "testing").
is working |
…onment variable Using this hotfix for a while, and no discrepancy observed. In order to permanently(hopefully) fix the issue, commiting fix.
Added hotfix for #78 that deletes GTK_IM_MODULE environment variable
ubuntu20.04, fcitx google-pinyin. the situation I encountered: // this no effecit QT4_IM_MODULE= QT_IM_MODULE= DBUS_SESSION_BUS_ADDRESS= /usr/bin/terminator -u env GTK_IM_MODULE// this fixed, but will lose fcitx input GTK_IM_MODULE= /usr/bin/terminator -u // this fixed, but also lose fcitx input --- a/usr/bin/terminator
+++ b/usr/bin/terminator
@@ -23,6 +23,12 @@ import sys
import os
import psutil
import pwd
+
+try:
+ del os.environ['GTK_IM_MODULE']
+except Exception as e:
+ print(e)
+
try:
ORIGCWD = os.getcwd()
except OSError: so, the current workaround principle is disable input method ? NOTE UPDATE: #596 (comment) Tip I'm on ubuntu22 too, for fcitx//this will disable fcitx in terminator
for ibus//ibus can work in terminator , but only broadcast eng input
|
For those using terminator 2.1.1 and are launching terminator from a Copy the system terminator desktop file to my local application shortcut directory. For example on my system:
Open the copied result file in the local applications folder and edit the
|
Damn you can't delete the GTK_IM_MODULE environment variable, tons of users need to use it! THIS CODE SUCKS! |
agreed, that's why I pulled it in the latest release. |
On Ubuntu 22.04.3 LTS My Terminator got updated sometime recently to a newer version that exhibited the duplicate character issue when I finally fixed it on my system by editing:
Change the line "Exec=terminator" to:
Testing: Start Terminator, split the window so you have 2 Terminator sessions. It now works again on my Ubuntu system w/no character duplication! |
still having this issue on 2.1.3 |
This kind of changes might be overwritten in the next upgrade. It could be in a couple of months or in a couple of years. And then you won't remember how did you fix it. You should edit instead your user |
Ubuntun 24.04 terminator still working wrong I come from ubuntu 20.04 without problems and for work reasons I can't change to waylan now. I know there is a workaround to resolve this but, are there plans to fix this issue? As far as I know, this exists from 2020 |
Ubuntu 22.04.5 LTS This problem only started when I switched from Wayland to Xorg(to fix Zoom screen sharing issue at work). The solution I've been using is: |
Still having this issue: |
This fixed it for me.
Make backup of this file then..
*Edit*:
*> $ sudo nano /usr/share/applications/terminator.desktop*
Change the line "*Exec=terminator*" to:
*Exec=env DBUS_SESSION_BUS_ADDRESS= terminator -u*
See if that fixes it for you
…On Sun, Nov 3, 2024, 10:54 AM sudoix ***@***.***> wrote:
Still having this issue:
terminator 2.1.3
Ubuntu 24.04
—
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM23J7PIQJ5TKU4ZMBCYDLZ6ZBLZAVCNFSM4NAPQZCKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TENBVGM2DONJSHAZA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This disables all dbus functionality and does work, but there's a much easier way than editing the desktop file. You can just disable the dbus server in the preferences here https://gnome-terminator.readthedocs.io/en/latest/preferences.html
|
@mattrose |
When grouping terminals and broadcasting on them, the keys typed on the focused one are keyed twice on the other terminals.
Lets say, if I type
ls
on the main terminal, I getllss
on the others on the group. The same happens when setting broadcast to all,Terminator v 1.91 on Opensuse Leap 15.1
The text was updated successfully, but these errors were encountered: