My 1 key broke and I just used the key-mapper program to move this key to the one on the left (the ~ key). Or in other words - I remapped the ~ key to take the functionality of 1.

My problem now is that I have no key for writing ~ or ` which were previously on the ~ key.

What I want to do is create a key combination (for example, Ctrl+Fn+` or Ctrl+Alt+` or others) that will allow me to type the symbols ` and ~.

How is this possible on Ubuntu 20.04?

I looked at the shortcuts menu, but they work only as shortcuts for terminal commands, not for typing symbols (or am I wrong?). I also tried xkb, but I think it only remaps one key to one key, not a combination from multiple keys to a key. Do you have other suggestions for me?

  • 1
    A compose key may be helpful. With that you can type a tilde character for instance like this: <Compose> space minus Dec 3, 2021 at 19:11
  • @Dan Tnx, This is a smart idea, but the problem is that the program I used for remapping - key-mapper - accepts remapping only on alphanumeric and ordinary symbols like, 2,3,4,a,s,d,],=. But it doesn't accept remapping on "special" keys like Caps Lock (or Right shift, which is also rarely used). Do you know a program, that would allow me this remapping? Tnx
    – NeStack
    Dec 4, 2021 at 2:50

1 Answer 1


You can use unicode entry as a stop gap---e.g. type LEFTSHIFT+LEFTCTL+u, followed by the unicode for tilde, 223c then ENTER. The unicode for backtick (actually an accent grave) is 0060.

I also did a search on AskUbuntu and found this old answer which is quite comprehensive One addition I might make is to use xdotool key asciitilde instead of the long sequence for the unicode.

  • thanks, this is an option that I forgot about! I can use it as an intermediate solution, but it is cumbersome in the long term. Do you know how this sequence of keys can be shortened?
    – NeStack
    Dec 4, 2021 at 3:02

You must log in to answer this question.

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