Summary: | NEW Mali Keyboard Layout | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | reg <rgaudin> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Mali Layout
Fixed Mali Layout Mali Layout - Fixed Group Names base.xml.in Mali Layout |
(In reply to comment #0) > Please note that while I've set name to 'mali', it should be 'ml' but there > seem to be a bug somewhere (either freedesktop or gnome keyboard properties) > which makes it conflicts with the Malayalam layout: ML is Mali ISO 3166-1 > country code and ML is also Malayalam ISO 639-1 language code. My bad, I just realize I missed the <countryList><iso3166Id> tags. Will update the report in a bit. Created attachment 32248 [details]
Fixed Mali Layout
Well, All my apologies for talking about a bug which doesn't exist ; I should have read the DTD more carefully. Attached is the fixed layout and bellow the fixed base extract -- <layout> <configItem> <name>mali</name> <shortDescription>Mali</shortDescription> <description>Mali</description> <countryList><iso3166Id>ML</iso3166Id></countryList> <languageList><iso639Id>BAM</iso639Id></languageList> </configItem> <variantList> <variant> <configItem> <name>fr</name> <description>Français (France)</description> </configItem> </variant> <variant> <configItem> <name>fross</name> <description>Français (France - Alternative)</description> </configItem> </variant> <variant> <configItem> <name>usmac</name> <description>English (USA - Macintosh)</description> </configItem> </variant> <variant> <configItem> <name>usintl</name> <description>English (USA - International)</description> </configItem> </variant> </variantList> </layout> -- Are you sure the group names are correct??? Also, about base.xml.in - the default layout should not be listed among variants. Please have a look at http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Rules Created attachment 32381 [details]
Mali Layout - Fixed Group Names
Created attachment 32382 [details]
base.xml.in Mali Layout
Thanks Sergey for the Rules URI. I haven't found those. > Are you sure the group names are correct??? There were wrong according to the rules. Now fixed. > Also, about base.xml.in - the default layout should not be listed among variants. Right, also fixed. I also fixed some cosmetics in the layout file according to the rules. Thank you for your comments, -- Please note that the name of the layout (and thus <name> value in base.xml.in) should be "ml" because that's the iso3166 code of Mali. I decided not to follow the rules because if I do then gnome-keyboard-properties (haven't tested lower levels) confuses the layout with Malayalam language. I committed your code. But the filename would be still ml, because that's what ISO tells us. I checked with my version of gnome - it recognizes Mali properly. Thanks for your code! A user reported that if you select Mali and any of the variants, you actually get Malayalam, https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/575660 I tried and I can replicate that instead of Mali, you get Malayalam. gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd says layouts = [us,ml] options = [Compose key compose:menu,grp grp:shifts_toggle] model = The keyboard display in GNOME shows the Mali variants but the keyboard itself shows Malayalam characters. (btw, all this xkc traffic is due to https://wiki.ubuntu.com/UbuntuBugDay/20100701 ;-) I managed to reproduce, but that issue was caused by the bug in the Indian layout. Please try from git (In reply to comment #10) > I managed to reproduce, but that issue was caused by the bug in the Indian > layout. Please try from git Which bug from the Indian layout are you referring to? Is it a known bug? No, I just found it today trying to configure ml layout. http://cgit.freedesktop.org/xkeyboard-config/commit/?id=393204e792de332457b1175b3831170d6970a98f |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 32247 [details] Mali Layout There is no keyboard layout to type Mali languages characters easily. Attached is the Mali layout including a couple variants. Please note that while I've set name to 'mali', it should be 'ml' but there seem to be a bug somewhere (either freedesktop or gnome keyboard properties) which makes it conflicts with the Malayalam layout: ML is Mali ISO 3166-1 country code and ML is also Malayalam ISO 639-1 language code. -- bellow is the base layout extract -- <layout> <configItem> <name>mali</name> <shortDescription>Mali</shortDescription> <description>Mali</description> <languageList><iso639Id>bam</iso639Id></languageList> </configItem> <variantList> <variant> <configItem> <name>fr</name> <description>Français (France)</description> </configItem> </variant> <variant> <configItem> <name>fross</name> <description>Français (France - Alternative)</description> </configItem> </variant> <variant> <configItem> <name>usmac</name> <description>English (USA - Macintosh)</description> </configItem> </variant> <variant> <configItem> <name>usintl</name> <description>English (USA - International)</description> </configItem> </variant> </variantList> </layout> --