[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Compose key input method plugin for Qt5
From:       Paeglis Gatis <Gatis.Paeglis () digia ! com>
Date:       2013-02-19 20:22:32
Message-ID: 4F17F1CB014D404BB810E3EF279396DDBE22B7 () IT-EXMB01-HKI ! it ! local
[Download RAW message or body]

Hello,

I am working on a Qt project and recently I decided to create an input meth=
od plugin for the X11 Compose keys.

Reasons:
- don't want to port XIM (which heavily depends on Xlib) to xcb platform pl=
ugin.
- having a built-in support for Compose keys would remove the overhead of c=
ommunication protocols.

Work in progress: https://codereview.qt-project.org/#change,48185

I am writing here for feedback and advice, and hope to get some answers to =
my questions. I have been using
Linux only for 2 years and started to look at Xlib/xcb API only ~6 months b=
ack, so bear with me.

I was wondering how does Xlib resolve the path to search for Compose files?=
 I can see that after running
configure on libX11, it generates the Compose.5 file, whereas for Ubuntu it=
 says:

"The system provided compose file is used by mapping the locale to a compos=
e file from the list in /usr/share/X11/locale/compose.dir."

I guess this location differs on other distributions? How is it determined =
by Xlib?

Thanks,
Gatis

[Attachment #3 (text/html)]

<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>
&quot;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>.&quot;<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>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
--===============0822407301==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic