<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,<br>
<br>
I am working on a Qt project and recently I decided to create an input method plugin for the X11 Compose keys.
<br>
<br>
Reasons: <br>
- don't want to port XIM (which heavily depends on Xlib) to xcb platform plugin.<br>
- having a built-in support for Compose keys would remove the overhead of communication protocols.<br>
<br>
Work in progress: <a href="https://codereview.qt-project.org/#change,48185" target="_blank">
https://codereview.qt-project.org/#change,48185</a><br>
<br>
I am writing here for feedback and advice, and hope to get some answers to my questions. I have been using<br>
Linux only for 2 years and started to look at Xlib/xcb API only ~6 months back, so bear with me.<br>
<br>
I was wondering how does Xlib resolve the path to search for Compose files? I can see that after running<br>
configure on libX11, it generates the Compose.5 file, whereas for Ubuntu it says:<br>
<br>
"The system provided compose file is used by mapping the locale to a compose file from the list in
<u><a>/usr/share/X11/locale/compose.dir</a></u>."<br>
<br>
I guess this location differs on other distributions? How is it determined by Xlib?<br>
<br>
Thanks,<br>
Gatis<br>
</div>
</body>
</html>