<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Compose_key</id>
	<title>Compose key - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Compose_key"/>
	<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Compose_key&amp;action=history"/>
	<updated>2026-05-28T12:18:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://halfgeek.org/wiki/index.php?title=Compose_key&amp;diff=2213&amp;oldid=prev</id>
		<title>Psmay: /* New instructions */</title>
		<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Compose_key&amp;diff=2213&amp;oldid=prev"/>
		<updated>2014-12-03T19:29:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;New instructions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;compose key&amp;#039;&amp;#039;&amp;#039; is, among other things, a facility in X Window System that provides a modifier key which, when held down through the typing of a sequence of other keys, enters a character or string not present (or not easily entered) on the current key layout. It&amp;#039;s similar to Windows&amp;#039;s Alt+NNNN sequences, but the codes used are more intuitive. For example, &amp;quot;é&amp;quot; is Compose+&amp;#039;+e, and ™ is Compose+t+m.&lt;br /&gt;
&lt;br /&gt;
My personal preference is to use Caps Lock as the Compose key, since it has a position and size out of proportion with its utility.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/SamHocevar/wincompose WinCompose] is based on the trusty AutoHotkey, allows use of Caps Lock as the compose key, and bundles a whole lot of combinations from Xorg. In fact, it uses roughly the same configuration format by way of its res/compose.txt file, allowing you to add working configurations directly from an .XCompose file.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu/Mint==&lt;br /&gt;
&lt;br /&gt;
[https://help.ubuntu.com/community/ComposeKey The Ubuntu docs] cover pretty well how to set up a Compose key in the first place. Essentially, it&amp;#039;s in keyboard layout preferences.&lt;br /&gt;
&lt;br /&gt;
The default behavior, which is to use the hardcoded combinations in GNOME, is pretty weak, and won&amp;#039;t help if you want to add customizations. Overriding the input configuration to use &amp;quot;xim&amp;quot; takes care of this.&lt;br /&gt;
&lt;br /&gt;
===Set up an X Input Method (XIM)===&lt;br /&gt;
&lt;br /&gt;
====New instructions====&lt;br /&gt;
&lt;br /&gt;
These instructions are only half-tested.&lt;br /&gt;
&lt;br /&gt;
First, install uim. Then, use im-switch to change the X input method. Finally, restart your X session.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install im-switch uim&lt;br /&gt;
 sudo im-switch&lt;br /&gt;
&lt;br /&gt;
====Original instructions====&lt;br /&gt;
&lt;br /&gt;
If the above doesn&amp;#039;t work, the following might.&lt;br /&gt;
&lt;br /&gt;
Add to &amp;lt;code&amp;gt;.xsessionrc&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export &amp;quot;GTK_IM_MODULE=xim&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then log out and back in. Apparently it also might work to add the same env var before starting a program where it is to be used.&lt;br /&gt;
&lt;br /&gt;
Some sources also say to install &amp;quot;uim&amp;quot;, but that may not be necessary.&lt;br /&gt;
&lt;br /&gt;
===Additions to .XCompose===&lt;br /&gt;
&lt;br /&gt;
With xim set up, additions using ~/.XCompose will now be recognized. A template:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
include &amp;quot;%L&amp;quot; # include default composes from locale&lt;br /&gt;
&lt;br /&gt;
# Allow typing capital omega as OM, Om&lt;br /&gt;
&amp;lt;Multi_key&amp;gt; &amp;lt;O&amp;gt; &amp;lt;M&amp;gt; : &amp;quot;Ω&amp;quot; U03A9 # GREEK CAPITAL LETTER OMEGA&lt;br /&gt;
&amp;lt;Multi_key&amp;gt; &amp;lt;O&amp;gt; &amp;lt;m&amp;gt; : &amp;quot;Ω&amp;quot; U03A9 # GREEK CAPITAL LETTER OMEGA&lt;br /&gt;
&lt;br /&gt;
# Default compose types outdated &amp;quot;micro sign&amp;quot; with mu&lt;br /&gt;
# Replace this with proper Unicode letter&lt;br /&gt;
&amp;lt;Multi_key&amp;gt; &amp;lt;m&amp;gt; &amp;lt;u&amp;gt; : &amp;quot;μ&amp;quot; U03BC # GREEK SMALL LETTER MU&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Psmay</name></author>
		
	</entry>
</feed>