Hello,

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

Reasons:
- don't want to port XIM (which heavily depends on Xlib) to xcb platform plugin.
- having a built-in support for Compose keys would remove the overhead of 
communication 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 back, 
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 compose 
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
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to