Thanks for your help, and sorry for my delay on replying. On 05/06/18 10:10, opensuse.lietuviu.kalba wrote:
2018.06.05 11:54, Josef Reidinger rašė:
As you suggested, I migrated the layouts information to a yaml file. But I found that there are some layouts in the keyboard_raw that does not appear when executing "localectl list-keymaps" or "localectl list-x11-keymap-layouts", so i think that do not exist. Exactly are this:
khmer.map.gz korean.map.gz arabic.map.gz taiwanese.map.gz chinese.map.gz As all of them are a bit specific, I think you need to check old code if it does not install additiona rpm for it which defines this keymaps, so maybe after installing this additional rpms it can make it available.
If I remember corectly, it seems thees are mere symlinks to us keyboard layout. E.g.
"arabic": /usr/share/kbd/keymaps/legacy/i386/qwerty/arabic.map.gz -> /usr/share/kbd/keymaps/legacy/i386/qwerty/us.map.gz
"khmer": /usr/share/kbd/keymaps/legacy/i386/qwerty/khmer.map.gz -> /usr/share/kbd/keymaps/legacy/i386/qwerty/us.map.gz
This is from comment at https://bugzilla.suse.com/show_bug.cgi?id=942896#c60
Thanks, that clarifies my question. Also in the bug report i have read that the console font its managed from in the "Language" module (in this comment https://bugzilla.suse.com/show_bug.cgi?id=942896#c7 ), so i it is not necessary to manage when selecting a keyboard layout.
Also I found that in keyboard_raw file "Portuguese (Brazil -- US accents)" and "US International" use the same layout "us-acentos.map.gz". Is this ok? Should both of them appear to the user or it is enough with one of them?
Well, It depends. If you are brazil with us accents, do you expect that you select some US international or named for you? Maybe we also in past use it for linking it with language selection.
About this in a first moment i thought that i was better to show it as "US international" since this module is to set the keyboard layout of the system, not the user one. But i will keep the same behaviour that is in the current module and i will allow the possibility of have several options for one layout. Just for your information, i will look for more information about the "Expert settings" that i commented in the other messages. Thanks you again! -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org