Typing special symbols on a Linux keyboardEdit
At least in the Colemak layout, the following1 are compatible with all the hacks I've got in place to make the Linux keyboard behave at least somewhat similarly to how the Mac does. Additionally, as of 9c241271b715a939, I have some macOS-style dead-key bindings in place, noted in the appendix.
Dead letters
These ones work:
AltGr + Backtick=~(mnemonic, "tilde"): so, to produceñ, typeAltGr + Backtickthenn.AltGr + d="(mnemonic, "diuresis"): so, to produceü, typeAltGr + dthenu.
These ones do not, because they clash with my mappings:
AltGr + t(acute accent, clashes with "New tab"):- To type
á, you're out of luck; not even typingCtrl + uthen00e1works. - To type
é, typeAltGr + e. - To type
í, typeAltGr + i. - To type
ó, typeAltGr + o. - To type
ú, typeAltGr + u.
- To type
Other mappings
These ones work:
AltGr + Shift + Minus=—(em dash).AltGr + Shift + Space=(non-breaking space).AltGr + Shift + 9=“(left double quote).AltGr + Shift + 0=”(right double quote).AltGr + 9=‘(single left quote).AltGr + 0=’(single right quote).AltGr + Shift + Plus=÷(division).
These ones don't work:
AltGr + Minus=–(en dash, clashes with "Decrease zoom").AltGr + Plus=×(multiplication, clashes with "Increase zoom").
Appendix: macOS-style bindings
As of the commit mentioned earlier, I currently have these shoe-horned into my set-up (plus some extras, but the ones listed below are the ones that you actually have to type in Spanish from time to time) by a combination of Interception Tools and ~/.XCompose (man 5 Compose):
Option-n n=ñOption-Shift-n n=ÑOption-e a=áOption-Shift-e a=ÁOption-e e=éOption-Shift-e e=ÉOption-e i=íOption-Shift-e i=ÍOption-e o=óOption-Shift-e o=ÓOption-e u=úOption-Shift-e u=ÚOption-u u=üOption-Shift-u u=ÜShift-Option-Minus=—(em dash)Shift-Option-2=€
I made a couple of screencasts describing my efforts to set up Linux with these and other macOS-style keybindings here:
- macOS dead letters on Linux (July 2022)
- macOS keyboard bindings on Linux (December 2020)
-
As described in "Multilingual" on the Colemak wiki. ↩