up vote 6 down vote favorite
share [g+] share [fb]

Compose key is a great way way to write all these ©–®—… stuff. It's really MUCH more handy than the windows "alt+0169" method.

Is there a way to define additional sequences? E.g. I'd like to have "Compose+-->" result in "→"

link|improve this question

feedback

1 Answer

up vote 6 down vote accepted

The Ubuntu documentation has some info about this. It looks like their instructions are fairly distribution-agnostic; however, I haven't tested them.

link|improve this answer
1  
Great, that's it! Thanks! :) In short, copy cp /usr/share/X11/locale/en_US.UTF-8/Compose ~/.XCompose the file tou your home dir and edit it. – o_O Tync Dec 25 '09 at 18:37
On Fedora 14 (and other versions), you'll also have to edit /etc/X11/xinit/xinput.d/none.conf and set GTK_IM_MODULE=xim so it'll stop ignoring ~/.XCompose. Of course, in order for changes to take effect, you'll have to log out and back in. See this post on FedoraForum.org for more info. – Joey Adams Dec 26 '10 at 7:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.