As I understand it, all layouts borrow advanced keyboard shortcuts from the English layout.

But for some reason, after deleting all the lines from the /usr/share/X11/locale/en_US.UTF-8/Compose file and restarting the X, I can still type “☹” in three clicks.


 /etc/X11/xorg.conf: … Section "InputClass" Identifier "keyboard defaults" MatchIsKeyboard "yes" Option "XkbLayout" "us,ru" Option "XKbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt" EndSection … 

 /usr/share/X11/locale/ru_RU.UTF-8/Compose: include "/usr/share/X11/locale/en_US.UTF-8/Compose" 
  • Excuse me, what is the essence of the question? - r1za
  • In contradiction. If extended keyboard shortcuts are installed in /usr/share/X11/locale/en_US.UTF-8/Compose, then about cleaning it, they, by themselves, will stop working. But still no ... - Jofsey

1 answer 1

because miracles do not happen, it is worth referring to the documentation .

according to it, in the search for a file with definitions for xcompose, it is viewed:

  • $ XCOMPOSEFILE environment variable
  • ~ / .XCompose
  • table mapping locale and file /usr/share/X11/locale/compose.dir

Most likely, in your home directory there is a .XCompose file, in which that set rule is written.