It can be done with GNOME.
Peruse the Code Charts page at Unicode.org to find the characters you want to type.
Suppose you want to type the Greek letter mu (micro) with Unicode ID "B5" (hexadecimal).
You would simply need to press Ctrl+Shift+B5: µ
Let's see some other interesting characters.