OpenELEC / service.openelec.settings

service.openelec.settings - OpenELEC settings addon
Other
12 stars 35 forks source link

implement xkb variants #25

Closed stefansaraev closed 11 years ago

stefansaraev commented 11 years ago

for each keyboard layout, parse /usr/share/X11/xkb/rules/base.xml variantList -> variant -> for each -> description and name.

if there are variants available for a layout - display an entry (two for layout1 and layout2) in addon -> system -> keyboard. another way is to show second menu to select variant (if available) after selecting layout.

there should be always default "" (for no variant). save the name into .cache/xbc/layout -> XKBVARIANT=...

if you implement it as a second popup menu - it must be clear that it is "variant selection dialog", and the selection must be presented in the addon UI after changing.

stefansaraev commented 11 years ago

done.