47

For a few days now I can no longer use Ctrl+. anywhere (which makes working with Vs Code pretty frustrating). Instead of executing the shortcut an e appears. I can then write normally, and when pressing Enter the e disappears. This is similar to the unicode shortcut Ctrl+Shift+U, but everything I write after the e is not altered after pressing Enter.

enter image description here

Have I activated some setting or system Shortcut?

I'm on Ubuntu Mate 21.10 and have been for several months before the problem appeared.

2
  • 5
    Is this any help? (also see frabjous answer below re ibus).
    – CR.
    Commented Mar 14, 2022 at 8:41
  • Yes! Thank you! Commented Mar 14, 2022 at 20:49

2 Answers 2

75
+100

Couple things to try:

Turn it off directly with gsettings. From the terminal, type:

gsettings set org.freedesktop.ibus.panel.emoji hotkey "[]"

Or run

ibus-setup

Look under "Emoji" tab.

You'll need to press Ctrl+Space in emoji-mode to select an emoji.

3
  • Thank you kindly, the very first item worked (for me, Ctrl-; was affecting, rendering (terminal)Emacs commenting out a line failing, blocking the input altogether until ESC is pressed) Commented Oct 7, 2022 at 5:30
  • For a newcomer to Linux this wasn't clear that it has to be run in the terminal. Could you edit it to make it clear? Commented May 8, 2023 at 9:21
  • This worked in 2023 for Ubuntu 22.04 Jammy Jellyfish. Commented Aug 29, 2023 at 2:52
7

I had the same issue but the problem was that I didn't understand how it's supposed to work rather than it being broken.

When you press the Emoji annotation shortcut key (e.g. Ctrl+. as configured by ibus-setup), the "e̲" character that's inserted into the text signals that you have switched from the regular mode to the emoji inserting mode. Press it again or Esc to switch back to the regular mode and the "e̲" character disappears.

To insert an emoji, you can use it in two ways:

1. Select an emoji from the list (Emoji selector dialog)

  1. Press the Emoji annotation shortcut (Ctrl+.) to switch to the emoji inserting mode - the character "e̲" is inserted
  2. Press Ctrl+Space to open the emoji group selector
  3. Using the keyboard, select a group and press Enter to switch to the emoji selector view
  4. Select an emoji and press Enter to insert it into the text and switch back to the regular mode (the "e̲" character will be replaced by the selected emoji character)

2. Type the name or shorthand of the emoji to be inserted

  1. Press the Emoji annotation shortcut (Ctrl+.) to switch to the emoji inserting mode - the character "e̲" is inserted
  2. Type the emoji name or its textual representation, e.g. :) or heart
  3. Press Ctrl+Space to replace the inserted text with the emoji corresponding to the inserted text (the "e̲" character stays there at this point)
  4. If you're OK with the inserted emoji, press Enter to switch back to the regular mode (the "e̲" character disappears and the inserted emoji stays in the text)
  5. If you don't like the inserted emoji, you can go back to the inserted text by pressing Escape (press it again to cancel the emoji mode completely - inserted text including the "e̲" character is removed and you switch back to the regular mode) or you can press Ctrl+Space again to show the emoji selector with emojis filtered by the inserted text, select the emoji you like and press Enter to insert it to the text and switch back to the regular mode

Disclaimer: I have just discovered how it works so it's possible that my description is incomplete or inaccurate.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .