Comment 5 for bug 260647

Revision history for this message
Adam Spain (adamspain) wrote : Re: Pashto keyboard layout can not be added

Attached is a debdiff to fix the syntax errors which cause the error message. The debdiff is against the version of xkeyboard-config currently in hardy-proposed, as I'm assuming that will eventually get approved. Intrepid and Gutsy don't have these same syntax errors in their packages, so I assume they do not have this bug.

I believe the impact of this bug is pretty big as it causes all of the Afghanistan keyboard layouts to be unusable (not just Pashto), as they cannot be selected (using the Gnome or KDE interfaces for setting the keyboard layout). The patch is really pretty minor, just changing a full stop to a comma in three places in the keyboard layout file. I don't see how this change could cause any regressions, but my knowledge of this package is very limited (I only found the syntax errors because the full stops look out of place and like a typo).

TEST CASE:
In Gnome on Hardy go System -> Preferences -> Keyboard, select the Layouts tab and click the "Add" button. From the "Layouts" drop down select "Afghanistan" and select any of the variants from the "Variants" drop down. Click the "Add" button and notice the "Error activating XKB configuration...." error comes up in a box. When the bug is fixed, there should be no error and you should be able to use the Afghanistan keyboard layouts.