<div dir="ltr"><div dir="ltr">On Mon, Jul 13, 2020 at 2:56 AM Daniel CLEMENT <<a href="mailto:dclement1@laposte.net">dclement1@laposte.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jorge, I have struggled a long time with dead keys, but only for the<br>
cedilla character. I posted several times about that; I can but offer<br>
to compare our setups<br>
<br>
Le dimanche 12 juillet 2020 à 17:02 -0300, jorge hernando a écrit :<br>
> Hallo<br>
>   I have one PC with english keyboard (US international with dead<br>
> keys) <br>
<br>
same here (LyX 2.3.2 - Debian Stretch [yeah I know...])<br>
<br>
> [...] the accents work perfectly (e.g. á is " 'a ") when in a<br>
> terminal, opening nedit, ooffice, etc. <br>
<br>
But these are not "QT applications". Could you compare with another<br>
such app. (Filezilla? Scribus? Master PDF?...)<br></blockquote><div><br></div><div>I had this problem with Master PDF Editor, actually. I updated the app and my combination keys stopped working (as did Ibus X-Sampa, an IPA keyboard layout). After some back-and-forth with the developers, I figured out that the problem was a QT dependency, libqt5svg5 >= 5.9.8. The Debian repos are up to 5.9.5. But it isn't one of the dependencies of lyx, which seems to be using QT4, so there may be something else going on.<br></div><div><br></div><div>Maria<br></div><div><br></div><br><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> but in lyx not only it doesn't work, the dead key is really dead: if<br>
> I type ' in lyx it doesn't type anything [...]<br>
<br>
Can't you even get the apostrophe with ' + spacebar?<br>
>    <br>
>   [...] I looked at some .kmap files in<br>
> /usr/share/lyx/kbd, [...]<br>
<br>
I understand that these files are now deprecated, and overridden by the<br>
QT settings (can someone confirm that?)<br>
<br>
> [...] I looked at /usr/share/lyx/bind <br>
<br>
This is for shortcuts, but of course you want to type accented<br>
characters the same way in LyX as in other apps, don't you? <br>
<br>
So here, working PC with US Intl + dead keys:<br>
- my ~.lyx/kbd folder is empty;<br>
- in LyX under Tools -> Editing -> Keyboard/Mouse I have no "keyboard<br>
remap" specified.<br>
<br>
This generally allows me to get the accented characters (except the<br>
cedilla). What about first trying with a completely blank LyX setup<br>
(e.g. renaming your .lyx folder)?<br>
<br>
> [...] In the mailing list it is mentioned (in 2019) that there is a<br>
> workaround related with Qt: to include in .xsessionrc the line<br>
>   export QT_IM_MODULE=xim<br>
>   I created the file with that line but didn't work<br>
<br>
In case you came across a post of mine, I was referring to<br>
<a href="https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056" rel="noreferrer" target="_blank">https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056</a><br>
(especially post #39) But it's about getting the cedilla, not _all_ of<br>
the accented characters, but you might want to review this thread.<br>
<br>
However, the "export QT_IM_MODULE=xim" thing is not a solution by<br>
itself, but comes after tweaking some QT config files (mentioned in the<br>
thread above). Maybe something got broken there with a QT update? It<br>
always happens to me.<br>
<br>
But let's hope you won't have to dive into this for each and every<br>
accented character!<br>
<br>
Good luck - Daniel<br>
-- <br>
lyx-users mailing list<br>
<a href="mailto:lyx-users@lists.lyx.org" target="_blank">lyx-users@lists.lyx.org</a><br>
<a href="http://lists.lyx.org/mailman/listinfo/lyx-users" rel="noreferrer" target="_blank">http://lists.lyx.org/mailman/listinfo/lyx-users</a><br>
</blockquote></div></div>