Fix ctrl+shift+e and ctrl+shift+u keybindings in vscode on Ubuntu

avatar

Borislav Hadzhiev

Sun Feb 28 20211 min read

banner

Photo by Hu Chen

The issue stems from Ubuntu's keybindings, which get priority over vscode's, which leads to confusing behavior.

The problem #

If you're on ubuntu you press the ctrl+shift+e and ctrl+shift+u keybindings in vscode you might see some strange behavior, like some unicode characters appearing to the screen and your keybinding not working.

This has to do with the keybindings being set by ubuntu and intercepted before it reaches vscode.

The fix #

To fix this open the Language Support application and in the Language tab select XIM for keyboard input method system.

Restart your computer and you should be able to use the ctrl+shift+e and ctrl+shift+u keybindings in vscode, regardless if you start the code editor from the icon or the terminal.

Join my newsletter

I'll send you 1 email a week with links to all of the articles I've written that week

Buy Me A Coffee