Found an incomplete answer on the site

script or in the settings that change please prompt

  • one
    Layouts are stored in /usr/share/X11/xkb/symbols/ . AFAIK doesn’t have a normal way to edit them at the user level, so you’ll have to edit them in place (preferably in a separate file so that they don’t get lost when installing the package) ... the file format is quite simple and understandable from many examples ... then as usual you can set your own favorite configurator xkb, or manually ... - Fat-Zer

1 answer 1

In order not to dig deep into the depths of /usr/share/X11/xkb/symbols/ , for such a small task, you can use the possibilities of xcompose (see, for example, the questions here concerning xcompose - there are few of them).

it’s enough to add a line to the file ~/.XCompose :

 <Cyrillic_IO>: "#" 

this is for the capital Yo . similarly, if necessary, for lowercase:

 <Cyrillic_io>: "#" 

After that, the x-client, in which you need such a substitution, is enough to restart (if you need all x-clients, then it is easier to restart the x-session).

  • # Everything worked, edited / usr / share / X11 / xkb / symbols / en - Yurij
  • xcompose in repo ubuntu 16.04 - no - Yurij
  • of course there is. same part of the x server functionality. and you already have it. and, therefore, xcompose is already working. - aleksandr barakin
  • in the terminal which xcompose is empty. stat ~/.XCompose stat: cannot stat '.XCompose': No such file or directory uname -a Linux xerus 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux - Yurij
  • one
    This is not a separate program, this is the functionality implemented in the x-server . The default ~/.XCompose file is of course not. just create it and write down everything you need. - aleksandr barakin