Score:2

How to write a keyboard symbol, e.g. "~", with a key combination, e.g. CTRL+FN+`?

br flag

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?

Gunnar Hjalmarsson avatar
uz flag
A [compose key](https://help.ubuntu.com/lts/ubuntu-help/tips-specialchars.html#compose) may be helpful. With that you can type a tilde character for instance like this: **<Compose> space minus**
NeStack avatar
br flag
@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
Score:2
in flag

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.

NeStack avatar
br flag
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?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.