no accents with dead keys

Maria Gouskova gouskova at gmail.com
Mon Jul 13 13:12:09 UTC 2020


On Mon, Jul 13, 2020 at 2:56 AM Daniel CLEMENT <dclement1 at laposte.net>
wrote:

> Hi Jorge, I have struggled a long time with dead keys, but only for the
> cedilla character. I posted several times about that; I can but offer
> to compare our setups
>
> Le dimanche 12 juillet 2020 à 17:02 -0300, jorge hernando a écrit :
> > Hallo
> >   I have one PC with english keyboard (US international with dead
> > keys)
>
> same here (LyX 2.3.2 - Debian Stretch [yeah I know...])
>
> > [...] the accents work perfectly (e.g. á is " 'a ") when in a
> > terminal, opening nedit, ooffice, etc.
>
> But these are not "QT applications". Could you compare with another
> such app. (Filezilla? Scribus? Master PDF?...)
>

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.

Maria





>
> > but in lyx not only it doesn't work, the dead key is really dead: if
> > I type ' in lyx it doesn't type anything [...]
>
> Can't you even get the apostrophe with ' + spacebar?
> >
> >   [...] I looked at some .kmap files in
> > /usr/share/lyx/kbd, [...]
>
> I understand that these files are now deprecated, and overridden by the
> QT settings (can someone confirm that?)
>
> > [...] I looked at /usr/share/lyx/bind
>
> This is for shortcuts, but of course you want to type accented
> characters the same way in LyX as in other apps, don't you?
>
> So here, working PC with US Intl + dead keys:
> - my ~.lyx/kbd folder is empty;
> - in LyX under Tools -> Editing -> Keyboard/Mouse I have no "keyboard
> remap" specified.
>
> This generally allows me to get the accented characters (except the
> cedilla). What about first trying with a completely blank LyX setup
> (e.g. renaming your .lyx folder)?
>
> > [...] In the mailing list it is mentioned (in 2019) that there is a
> > workaround related with Qt: to include in .xsessionrc the line
> >   export QT_IM_MODULE=xim
> >   I created the file with that line but didn't work
>
> In case you came across a post of mine, I was referring to
> https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
> (especially post #39) But it's about getting the cedilla, not _all_ of
> the accented characters, but you might want to review this thread.
>
> However, the "export QT_IM_MODULE=xim" thing is not a solution by
> itself, but comes after tweaking some QT config files (mentioned in the
> thread above). Maybe something got broken there with a QT update? It
> always happens to me.
>
> But let's hope you won't have to dive into this for each and every
> accented character!
>
> Good luck - Daniel
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200713/ff3c643c/attachment.html>


More information about the lyx-users mailing list