Ctrl+. (Dot) makes "e" appear instead of showing suggestions in VSCode on Gnome
Asked Answered
O

5

66

I'm using VSCode on Gnome (on XOrg on Arch). Since lately, the shortcut Ctrl+. stopped working, despite still being listed in the keyboard shortcuts and despite all extensions being disabled. Instead, an underlined e appears:

enter image description here

The character goes away when pressing enter twice or ESC once. When writing something and then pressing enter, the e goes away but the written text stays. When changing the window while the e is underlined, it becomes a regular e.

This seems to behave somewhat similarly to the compose key, which displays an underlined centered dot after being pressed.

I can't find any keyboard shortcuts for Ctrl+. in the Gnome settings.

What is this feature? What is it good for? And how can I restore the original behavior?

Overgrow answered 25/4, 2022 at 10:8 Comment(0)
U
72

This is not related to VSCode, as the same thing happens in any text input field across all apps (both on Wayland and Xorg, Fedora).

The issue appeared on my pc when I upgraded to Gnome 42, and I still can't find a way to fix it (keyboard shortcuts don't have any entry for Ctrl+.).

Edit: Found this post about this issue. Their fix is to run ibus-setup and to disable the ibus shortcut.

Unaccompanied answered 25/4, 2022 at 15:58 Comment(3)
<3 Thanks a lot! Good catch that it happens in all applications. If I had tried that, I would've probably googled more accurately.Overgrow
See also this reddit post with more discussionRevivify
My life quality increase 100%. Thanks a lot!Insolate
M
51

This issue is not related to VSCode. I've experienced it too on my Linux Ubuntu 22.

Try this to turn off Emoji annotation keyboard shortcut:

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

Or run

$ ibus-setup

Under emoji tab, clear 'Emoji annotation'

enter image description here

Meteorograph answered 4/11, 2022 at 9:16 Comment(1)
I'm on Kubuntu 22.04, this fixed the problem. It is a little annoying that the order of checks seems to prioritize ibus over the current application, that is not ideal.Likker
C
9

I want to add some details.

  1. Command ibus-setup opens a window.
  2. At the Emoji tab you will see <Control>period;<Control>semicolon
  3. Click three dots on the right-hand side ...
  4. Then select <Control>period and delete it. Or change it if you want.
  5. Now your ctrl + . must be working just fine.
Cara answered 6/7, 2023 at 23:43 Comment(0)
T
0

Also, check your extensions resp. the shortcut settings. In my case it was the "vscode-supercollider" extension overriding the Ctrl + . combination.

Tessera answered 5/6 at 10:3 Comment(0)
J
-1

Restarting Gnome solved the issue. To restart gnome,

  1. Press Alt+F2
  2. Type r
  3. Press Enter
Jylland answered 1/11, 2023 at 9:0 Comment(1)
This only works in Xorg, not in Wayland iircOvergrow

© 2022 - 2024 — McMap. All rights reserved.