Jump to content

Input methods: Difference between revisions

325 bytes removed ,  14:42, 20 December 2022
→‎Xmodmap: update toneage
(→‎Vietoaq: mention deprecation even more aggressively)
(→‎Xmodmap: update toneage)
Line 187: Line 187:
  keycode 11  =  2  at          2  at          dead_acute
  keycode 11  =  2  at          2  at          dead_acute
  keycode 12  =  3  numbersign  3  numbersign  dead_diaeresis
  keycode 12  =  3  numbersign  3  numbersign  dead_diaeresis
  keycode 13  =  4  dollar      4  dollar      dead_hook
  keycode 13  =  4  dollar      4  dollar      dead_circumflex
keycode 14  =  5  percent      5  percent      dead_circumflex
keycode 15  =  6  asciicircum  6  asciicircum  dead_grave
keycode 16  =  7  ampersand    7  ampersand    dead_tilde
  keycode 31  =  i  I            i  I            idotless
  keycode 31  =  i  I            i  I            idotless


: <b>Note:</b> You will require your keyboard layout to have a modifier key active (if at all, usually {{key|RAlt}} a.k.a. {{key|AltGr}}); to achieve this, you may run <code>setxkbmap us intl</code> to switch to the international US layout with dead keys. Also note that a layout change wipes any <code>xmodmap</code>s previously issued, so you will have to rerun the <code>xmodmap</code> command. Feel free to add those two commands (in the right order!) to your <code>.xprofile</code>, or whatever other file your system picks up when starting up X11. Contact [[user:uakci|uakci]] if you run into issues.
: <b>Note:</b> You will require your keyboard layout to have a modifier key active (if at all, usually {{key|RAlt}} a.k.a. {{key|AltGr}}); to achieve this, you may run <code>setxkbmap us intl</code> to switch to the international US layout with dead keys. Also note that a layout change wipes any <code>xmodmap</code>s previously issued, so you will have to rerun the <code>xmodmap</code> command. Feel free to add those two commands (in the right order!) to your <code>.xprofile</code>, or whatever other file your system picks up when starting up X11. Contact [[user:uakci|uakci]] if you run into issues.


<b>To use:</b> hold {{key|RAlt}} and then press a digit, {{key|2}} thru {{key|7}}. After releasing, press the key for your favourite vowel. This should produce a vowel with the desired '''precomposed''' tone diacritic (this is a big deal to some people). For dotless {{t|ı}}, use {{key|RAlt}}{{key|I}}.
<b>To use:</b> hold {{key|RAlt}} and then press a digit, {{key|2}} thru {{key|4}}. After releasing, press the key for your favourite vowel. This should produce a vowel with the desired '''precomposed''' tone diacritic (this is a big deal to some people). For dotless {{t|ı}}, use {{key|RAlt}}{{key|I}}.


==== Variations ====
==== Variations ====
Bind the dead diacritic keys to {{key|s}}, {{key|d}}, {{key|f}}, {{key|j}}, {{key|k}}, {{key|l}} (for that sweet sweet ergonomic swag):
Bind the dead diacritic keys to {{key|s}}, {{key|d}}, {{key|f}} (for that sweet sweet ergonomic swag):


  keycode 39  =  s  S  s  S  dead_acute
  keycode 39  =  s  S  s  S  dead_acute
  keycode 40  =  d  D  d  D  dead_diaeresis
  keycode 40  =  d  D  d  D  dead_diaeresis
  keycode 41  =  f  F  f  F dead_hook
  keycode 41  =  f  F  f  F  dead_circumflex
keycode 44  =  j  J  j  J dead_circumflex
keycode 45  =  k  K  k  K  dead_grave
keycode 46  =  l  L  l  L  dead_tilde


Make dotless {{t|ı}} the default when pressing {{key|I}}, requiring {{key|RAlt}}{{key|I}} to obtain regular dotted i (and also when composing diacritics with the mechanism described above):
Make dotless {{t|ı}} the default when pressing {{key|I}}, requiring {{key|RAlt}}{{key|I}} to obtain regular dotted i (and also when composing diacritics with the mechanism described above):