<p>The Compose key allows you to input any character or sequence of characters regardless what keyboard layout you use, by typing the Compose key followed by a sequence of other keys. To use it, you must activate it in your system and choose what key you want to serve as the Compose key.</p>
<p>If on Windows, we don't judge, we understand it's because, like me, you have no choice, and that's OK, one day we'll all get to live the dream, until then we'll just make do... WinCompose enables the compose key on that wretched environment. It comes with a ton of additional sequences, plus a fancy GUI for creating your own.</p>
<p>If you use X, I suggest looking at the ArchLinux Wiki: <a href="https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Configuring_compose_key">https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Configuring_compose_key</a></p>
<p>If you are a GNOME user, install GNOME Tweaks to activate the Compose key.</p>
<p>$HOME/.XCompose</p>
<pre><code>include &quot;%L&quot;
&lt;Multi_key&gt; &lt;Multi_key&gt; &lt;braceleft&gt; : &quot;&amp;#123;&quot;
&lt;Multi_key&gt; &lt;Multi_key&gt; &lt;braceright&gt; : &quot;&amp;#125;&quot;
&lt;Multi_key&gt; &lt;Multi_key&gt; &lt;t&gt; &lt;f&gt; : &quot;(&#x256F;&#xB0;&#x25A1;&#xB0;&#xFF09;&#x256F;&#xFE35; &#x253B;&#x2501;&#x253B;&quot;
&lt;Multi_key&gt; &lt;C&gt; &lt;C&gt; &lt;C&gt; &lt;P&gt; : &quot;&#x262D;&quot;
</code></pre>
<p>Note that that last one actually comes with X by default. In ArchLinux, all the default sequences can be found in <code>/usr/share/X11/locale/&lt;your-locale&gt;/Compose</code>. Also good to find out what to call your keys when writing your own sequences.</p>
<p><code>/etc/X11/xorg.conf.d/00-keyboard.conf</code> is the file that makes the Compose key happen in X.</p>
<pre><code>Section &quot;InputClass&quot;
    Identifier &quot;system-keyoard&quot;
    MatchIsKeyboard &quot;on&quot;
    Option &quot;XkbLayout&quot; &quot;us&quot;
    Option &quot;XkbModel&quot; &quot;acer_laptop&quot;
    Option &quot;XkbOptions&quot; &quot;compose:ralt,ctrl:nocaps&quot;
EndSection
</code></pre>
<p>Note that it is not recommended to edit the file above, but use <code>localectl</code> to edit it. I don't know why that is. To learn more about that, and all the many options available, start with <a href="https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Using_localectl">https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Using_localectl</a></p>
