Skip to content

Commit

Permalink
Merge pull request #574 from ozzdemir/hotfix-for-issue78
Browse files Browse the repository at this point in the history
Added hotfix for #78 that deletes GTK_IM_MODULE environment variable
  • Loading branch information
mattrose authored Jan 28, 2022
2 parents 63caddf + e9e8d7b commit 80ce461
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terminator
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ from terminatorlib.util import dbg, err
from terminatorlib.layoutlauncher import LayoutLauncher
from terminatorlib.configjson import ConfigJson


# Deleting env variable fixes double char problem when broadcasting (#78)
# Only delete if it exists, or exception occurs
if os.environ.get('GTK_IM_MODULE') is not None:
del os.environ['GTK_IM_MODULE']

if __name__ == '__main__':
# Workaround for IBus intefering with broadcast when using dead keys
# Environment also needs IBUS_DISABLE_SNOOPER=1, or double chars appear
Expand Down

0 comments on commit 80ce461

Please sign in to comment.