6 ms·
Before anyone bothers reinventing the keyboard I would rather that it were made practical to easily and reliably type accented and other characters on a UK keyb
by ninalanyon 2y ago
Before anyone bothers reinventing the keyboard I would rather that it were made practical to easily and reliably type accented and other characters on a UK keyboard in all applications. I use English and Norwegian regularly with the occasional French, German, or Swedish word. I have been unable to find a simple method of configuring Linux Mint to support these other than by switching layouts every time I need an ø or and e acute, etc.
I did once get the compose key to work but the settings didn't survive an upgrade and I have been unable to get them to work again in Firefox.
- ehecatl42 2y ago`~/.XCompose` is your friend. I frequently input International Phonetic Alphabet glyphs, some polytonic Greek, some Spanish and some Old English. Nothing is more than three key-presses away after an AltGr.
- ninalanyon 2y agoI'll look into that. The compose key defined in Linux Mint's own keyboard settings doesn't work in Firefox.
- wooque 2y agoUse character composition. You then type those characters buy pressing compose key (I've set it to Caps Lock) and then sequence of characters. Much easier than switching keyboard layouts, and you can type other non-usual characters like °, µ, € ø = Compose -> / -> o é = Compose -> ' -> e ° = Compose -> o -> o µ = Compose -> m -> u € = Compose -> = -> e https://en.wikipedia.org/wiki/Compose_key#Common_compose_combinations https://en.wikipedia.org/wiki/Compose_key#Common_compose_com... https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US.UTF-8/Compose.pre https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US...
- agumonkey 2y agotakes a bit of time but you end up being fast enough without changing keyboard layout, pretty great
- WhyNotHugo 2y agoThe Compose approach is extremely handy if you need to type several languages (e.g.: Spanish, German and Pinyin). A wrote a short article on it a while ago: https://whynothugo.nl/journal/2024/07/12/typing-non-english-characters/#compose https://whynothugo.nl/journal/2024/07/12/typing-non-english-... I also keep a handy alias to quickly find how to write new symbols: alias compose='fzf < /usr/share/X11/locale/en_US.UTF-8/Compose'
- ninalanyon 2y agoThe compose key defined in Linux Mint's own keyboard settings doesn't work in Firefox.
- alexanderchr 2y agoMacOS developers have solved this problem pretty neatly: https://support.apple.com/en-qa/guide/mac-help/mh27474/mac https://support.apple.com/en-qa/guide/mac-help/mh27474/mac
- jiriro 2y agoIs there a similar trick for non-letter characters ?
- ben_w 2y agoYes, for some of them, but not all. I've not been able to find a convenient online image showing the characters you get from holding down alt while typing, it may vary by layout, but for me this lets me type: Number row: ¡€#¢∞§¶•ªº–≠ with shift: ⁄™‹›fifl‡°·‚—± First row: œ∑´®†¥¨^øπ“‘ with shift: Œ„‰ÂÊÁËÈØ∏”’ Home row: åß∂ƒ©˙∆˚¬…æ« with shift: ÅÍÎÏÌÓÔÒÚÆ» Bottom row: `Ω≈ç√∫~µ≤≥÷ with shift: ŸÛÙÇ◊ıˆ˜¯˘¿ But of those, I only remember €, # (both printed on the key!), ∞, ƒ, ™, π/∏ (thanks to growing up with MacOS classic — Marathon Infinity for ∞, ƒ for folders, ™/π/∏ no idea why), and –/— (en-dash/m-dash, not sure why I learned them, but was one surprise source of compile-time errors around 2010 because they look exactly like - in a fixed-width font).
- salgernon 2y agoIf you ever used MPW shell, a lot of those characters were part of the syntax of commands and the regular expression parser so it was common to learn to compose ∫,® ∂ etc. The debugger TMON also used them, so they just become second nature, like !@#.
- ben_w 2y agoNeat, did not know that. At the time MPW shell was used, it was a little bit too advanced for me — I was only as far as working my way through C For Dummies (or something like that) with a limited student edition of CodeWarrior* around the time REALbasic came out. * Possibly bronze edition? Whatever it was, it was 68k only.