In windows there is possibility to type from keyboard special signs by holding alt key and typing a few numbers, that depends on with sign you want to use. Does it work with linux in the same way?
X uses something called the compose key. By pressing Compose, some key, some key… in sequence, you can input characters. I have my compose key set to Menu; to type a
© (copyright symbol), I would use Menu, o, c.
A full list of X compose key combinations can be found online (200 KiB), or locally in
In Gnome, the compose key can be set by going to Preferences → Keyboard → Layouts tab → Layout Options → Compose key position.
[unicode in hex]is defined in ISO 14755 and implemented by GTK2+, and works in GNOME-Terminal and other applications.
- Ctrl+V u
[unicode in hex]works in VIM.
[unicode in decimal using numpad digits]works at the console providing your environment is properly configured to expect UTF-8 (via LOCALE or LANG environment variables). (unicode_start manpage).
Other methods you could use:
- Cut-n-paste characters from a small input file containing the characters you want.
xmodmapto remap keys in X (see the FAQ link above for examples).
There's a better method for both Linux and Windows than using alt-key codes that doesn't require you to remember any codes. It's described in detail here.
The gist is that you use AutoHotKey (Windows) or AutoKey (Linux). Both run in the background and accept arbitrary strings as trigger to run a command, which in this case is to send a special character to the clipboard and then paste it to whatever program is currently being used.
The example given has /delta as the trigger (including the forward slash). After typing those six characters, they are deleted and replaced with a δ.