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

avatar

Borislav Hadzhiev

Last updated: Feb 28, 2021

banner

Check out my new book

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.

Use the search field on my Home Page to filter through my more than 3,000 articles.