I've added a simple sequence, but it won't work.
How can I find out if the OS (Ubuntu 12.10 with Unity) is actually loading the file?
X11 Compose Key – How to Find Out if ~/.XCompose File is Loaded
compose-keyx11
compose-keyx11
I've added a simple sequence, but it won't work.
How can I find out if the OS (Ubuntu 12.10 with Unity) is actually loading the file?
Best Answer
The compose definitions (
$XCOMPOSE
,~/.XCompose
or a file under/usr/share/X11/locale
) are loaded by each client application, not by the X server. So make sure that the application you're testing with is loading~/.XCompose
. You can see what files it's reading withstrace
:Most applications only load the file when they start, so you'll have to restart the application if you change your compose definitions.
If the application is not loading these files, it's likely that they're not using the 'X input method' (xim). You can force GTK or QT applications to use xim:
If this fixes the problem, then you should consider setting the environment variables globally, or use
alias
as a workaround on a per-app basis.