juan_gandhi: (VP)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2014-01-03 09:07 am

learned something on my mac

How to enter, say, ā

1. Go to "languages/preferences" whatever
2. In "input methods", add "unicode"
3. Select 'unicode' as input method, in the top right corner of your screen.
4. In your input field, say, type a, then press 'option' and type 0304, which is a diacritical mark for this strike above. Voilá.

The table of combining diacritical marks is here

À B́ Ĉ D̃ Ē F̅ Ğ Ḣ Ï J̉ K̊ L̋ M̌ N̍ O̎ P̏ Q̐ Ȓ S̒T̓ U̕ V̖ W̗ X̘ Y̙ Z̚

a̛ b̛ c̜ d̝ e̞ f̟ g̠ h̡ i̢ j̣ k̤ l̥ m̦ ņǫp̩ q̪ r̫ s̬ ṱu̮ v̯ w̰ x̱ y̲ z̳


etc

[identity profile] huzhepidarasa.livejournal.com 2014-01-03 07:57 pm (UTC)(link)
There's no single method of typing diacritics that works in every X application (that'd be true of anything in X by the way), but you can look in /usr/share/X11/locale/en_US.UTF-8/Compose (or whatever your locale is) and there's a huge list of things you can type with the multi key (normally alt-gr).

In GTK you can hold Ctrl+Shift and type u0307. Or you can set QT_IM_MODULE=xim GTK_IM_MODULE=xim and lose this ability, but instead you can have your own ~/.XCompose and put whatever combinations you want there. Never understood why these things cannot be made to work together. I use the second method and set up things like — « » á ѣ ѳ.
Edited 2014-01-03 20:11 (UTC)

[identity profile] sassa-nf.livejournal.com 2014-01-04 11:02 am (UTC)(link)
вот, а я взял, и поверил. Оказалось, что на самом деле multi-key в виде Shift+AltGr.

[identity profile] huzhepidarasa.livejournal.com 2014-01-04 12:50 pm (UTC)(link)
multi-key может быть в разных видах, это настраивается

[identity profile] nec-p1us-u1tra.livejournal.com 2014-01-04 10:13 pm (UTC)(link)
Ооооо!
Первый человек, который так делает. Я это всюду пропагандирую уже лет 5, наверное, но безрезультатно. А ведь удобно, черт возьми, особенно когда видишь людей пользоваться дед-кеями или больной на голову раскладкой с диактрикой вместо цифр (!!!)