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

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?

2

1 Answer

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.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like