this one works on lubuntu 12.04<br>pkg-config --variable=xkb_base xkeyboard-config<br>many thanks.<br>Giuseppe.<br><br><br><div class="gmail_quote">On Fri, Jul 27, 2012 at 5:57 PM, Alan Coopersmith <span dir="ltr"><<a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 07/27/12 08:50 AM, Giuseppe Penone wrote:<br>
> the problem of parsing /usr/share/X11/xkb/rules/base.xml is that the location of<br>
> the file may vary from distribution to distribution<br>
> according to the prefix.<br>
<br>
</div>I think /usr/share/X11/xkb/ is fairly common, and newer distros should have<br>
.pc files so you can do one of these:<br>
<br>
pkg-config --variable=xkbconfigdir xkbcomp<br>
pkg-config --variable=xkb_base xkeyboard-config<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
</font></span><div class="HOEnZb"><div class="h5"> -Alan Coopersmith- <a href="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</a><br>
Oracle Solaris Engineering - <a href="http://blogs.oracle.com/alanc" target="_blank">http://blogs.oracle.com/alanc</a><br>
</div></div></blockquote></div><br>