As a work-around to an issue with ibus, I'm trying to unset the variable $IBUS_ENABLE_SYNC_MODE. I have tried placing "unset IBUS_ENABLE_SYNC_MODE" in various places including:
- .profile
- .bashrc
- /etc/environment
- as a startup application
However, none of this is reflected in applications launched in Unity; for example, when I launch a terminal from Unity the result is:
~$ echo $IBUS_ENABLE_SYNC_MODE
1
Where should I set this variable so that Unity sources it properly?
Edit: The reason why my attempts are not working was because IBUS_ENABLE_SYNC_MODE is set internally by Unity code on start-up. So, short of modifying and recompiling Unity by hand, this does not have a solution.