The Computer Oracle

What is my X11 doing with Ctrl-Period and how can I disable it?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: A Thousand Exotic Places Looping v001

--

Chapters
00:00 What Is My X11 Doing With Ctrl-Period And How Can I Disable It?
01:59 Accepted Answer Score 19
03:02 Thank you

--

Full question
https://superuser.com/questions/1687342/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #keyboardshortcuts #xorg #xkb #xinput

#avk47



ACCEPTED ANSWER

Score 19


This looks like the "preedit area" of some X Input Method provider, allowing you to compose a character before it gets sent to the actual input of the application.

(For example, a preedit dialog is used when composing Japanese text in fcitx or IBus, or when entering Unicode codepoints in GTK's Ctrl+Shift+U. Usually it is the application toolkit such as GTK or Xlib which communicates with the IM module, telling it about text fields being in focus, etc.)

In this case it's likely used for emoji input by name, guessing from the 'e' prefix and the keyboard shortcut. I'm guessing that this specific "input method" is part of the IBus input framework, where emoji input is built-in and the default shortcut is indeed Ctrl+period. (Normally it should show a graphical chooser but in some cases only basic IM support is available and all you get is the preedit field.)

However, check the XMODIFIERS and GTK_IM_MODULE environment variables for additional clues. (IBus is not the only XIM server out there.)

IBus has the keyboard shortcut customizable through ibus-setup, or via GSettings:

gsettings get org.freedesktop.ibus.panel.emoji hotkey

This shows that the default value is ['<Control>period']. To set it to an empty list, use:

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