How to disable ctrl-shift-e keybinding from showing eEEEE and loading Emoji options

When I type the keybinding sequence ctrl-shift-e I'm getting eEEEE. This allows me to specify an emoji, but I need ctrl-shift-e for use in VIM.

How can I disable this keybinding. I've already tried running ibus-setup to remove the emoji launcher, but I still get the eEEEE.

This is what happens in xed when I type "ctrl-shift-e"


In terminal type ibus-setup, go to the emoji tab, and delete the keybindings.


For VS Code if installed via Ubuntu Snap you need an input method other than ibus.

If you run VS Code from command line do:

$ GTK_IM_MODULE="xim" code

You can also add an alias for that in .bashrc: alias code='GTK_IM_MODULE="xim" code'

To configure the Dash launcher (assuming VS Code is installed using Snap):

  • The launcher file is located at /var/lib/snapd/desktop/applications/code_code.desktop or ~/.local/share/applications/code_code.desktop, or both
  • Edit it and add GTK_IM_MODULE="xim" to Exec commands:
[Desktop Entry]
...
Exec=env GTK_IM_MODULE="xim" BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/code_code.desktop /snap/bin/code --force-user-env --no-sandbox --unity-launch %F
...

[Desktop Action new-empty-window]
...
Exec=env GTK_IM_MODULE="xim" BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/code_code.desktop /snap/bin/code --force-user-env --no-sandbox --new-window %F
Icon=/snap/code/41/meta/gui/com.visualstudio.code.png



I had the same problem, but for VS Code. The ibus solution didn't work for me. What worked is:

$ GTK_IM_MODULE="xim" code

Make sure that you close all VS Code windows before running this.

However, I have tested this for vim and it didn't work there - not sure why. There is a nice explanation of the concepts here and a relevant VS Ccode bug (with mitigations) here.