I'm running PCLinuxOS, KDE, and trying out lxterminal as my
terminal emulator. I'm weaning myself off of xterm because
I can't use cut/paste with a right click, and I don't like
konsole because --geometry doesn't work.
Every so often, I have a desire to use some special character.
I know how to use xmodmap to map keys: For example, I have the
less than or equal to sign ≤ mapped to my metakey and <.
I also know how to use vi and the Unicode number to display
special characters. For example, here's a Yen ¥ sign that
I typed in using vim and the Unicode number.
That all works, but I'm trying to figure out the "compose"
key to work in lxterminal.
I've got my Compose key set to the left Windows key.
I have this environment variable set and exported:
gives me a list of keys to use with the Compose key for various
characters, and they all seem to work as described. For example,
I can print out type LEFT-WINDOWS E = to display the euro sign €.
But I'd like to add some that aren't in the existing available
list. For example, I'd like to add π (unicode U03C0) so I could
just type LEFT-WINDOWS <p> instead of having to look up the
I googled and read the man page for compose and tried editting
$HOME/.XCompose to add an try for π, but it didn't work. I thought
maybe I had entered my sequence incorrectly, so just as a sanity test
I temporarily moved all
files to a temp directory, rebooted, and the existing compose sequences
still continued to work for me in lxterminal. They did not work in
xterm or konsole. So I'm guessing (perhaps incorrectly) that lxterminal
is compiled with a hard coded list of Compose keys, which is why I set
GTK_IM_MODULE=xim, but xterm and konsole are not. I did run ldd for
lxterminal, konsole, and xterm, and they all are using libX11.
Can someone explain how I can create a new compose sequence for
special characters like π using lxterminal?