Linux Compose Key | Derek Sivers


I often need to type characters that aren’t on the keyboard, like ½ ÷ © ¥ or ¢.




On Mac, they’re done with the [option] key, but not always intuitive. For example: © is [option]-G and £ is [option]-3. I never did memorize all of these combinations, but there’s a nice cheat sheet of Mac accent codes, here.




On Windows, it’s horrible. You need a separate numeric keypad on your keyboard, then you use the [Alt] key plus a 4-digit unicode number to create the character. For example: © is [Alt]-0169 and £ is [Alt]-0163. See Windows alt codes, here.




On Linux, though, they have the most brilliant intuitive way of doing this:




You pick a key on your keyboard you don’t use much, like [Insert], [CapsLock], or [menu], and make it the “compose key”.




Then to make any character, you just hit the compose key, then type the two obvious keys that, when combined, make up the character.




For example:




* To get ©, just type c then o (Get it? It’s like drawing. The letter c, then a circle.)


* To get £, just type L then - (like L with a line through it.)


* To get ¥, just type Y then =


* ¢ is c then |


* ÷ is - then :


* ½ is 1 then 2


* ñ is n then ~






It’s like drawing with your keyboard!

Linux Compose Key | Derek Sivers

No comments: