FS#61634 - xkeyboard-config layout(s) broken after upgrade to 2.26
Attached to Project:
Arch Linux
Opened by Cláudio Pereira (claudiop) - Tuesday, 05 February 2019, 04:27 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 09 February 2019, 19:31 GMT
Opened by Cláudio Pereira (claudiop) - Tuesday, 05 February 2019, 04:27 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 09 February 2019, 19:31 GMT
|
Details
xkeyboard-config 2.26 broke at least one layout (pt)
Don't know how to produce logs for this, but it should be very simple to reproduce. 1 - Upgrade from xkeyboard-config 2.25 to 2.26 2 - setxkbmap pt You'll be greeted with: Error loading new keyboard description I tried other layouts and they worked, so I have no clue if the issue is exclusive to the pt one. A workaround is to downgrade that package. 2.25 is fine. |
This task depends upon
I did some digging and it seems upstream added a pt version for the colemak keyboard at the end of the file: usr/share/X11/xkb/symbols/pt
As it turns out the lines pertaining to the colemak keyboard add some `` and an unrelated line before the colemak configuration also had an weird value. One or both of those things were causing the layout to load. Changing them fixed the problem.
Applying the attached patch to that file should fix the problem.
I am not sure if this is an upstream bug or was somehow introduced by the build, as I'm not skilled enough to fully understand the program or the build process.
I humbly ask for your help with this issue.
Additional info:
* package version(s) 2.26-1
* config and/or log files etc. attached is a patch that fixes it when applied to the file usr/share/X11/xkb/symbols/pt
Steps to reproduce:
On a system with xkeyboard-config 2.26-1 run:
setxkbmap pt
In case anyone else finds this, download that file and use:
$ patch /usr/share/X11/xkb/symbols/pt pt.patch
Thanks for the patch! And thanks for saving me a trip to google to apply it :)
https://cgit.freedesktop.org/xkeyboard-config/commit/?id=9fe49eee8606bc1a8b2ee8454e44a13071f4be3e
I guess you should file some upstream bug there: https://bugs.freedesktop.org/describecomponents.cgi?product=xkeyboard-config
https://gitlab.freedesktop.org/daniel.sousa.me/xkeyboard-config/issues/1
I *think* gitlab is the the new "official" bug reporting location, but I was somewhat surprised that the gitlab repository is a few commits behind https://cgit.freedesktop.org ...
I am using the testing repo, no errors or bugs
Thank you, Andreas, for the very quick resolution!