tails-greeter: always list optimal keyboard layout
Tails Greeter fails to set the correct keyboard layout for some "Other..." type of languages. The following languages only get the
USA layout, but localization otherwise seems correct (e.g. GNOME is translated):
- Norsk bokmal (should get
- Sardinian (should get
- Hrvatski (should get
- Portuguese/Brazil (should get Portuguese (Brazil), not Portuguese)
#2 Updated by winterfairy about 6 years ago
Portuguese gets both Portuguese and Brazil keyboard layout. Currently Portuguese is the default, that may change to Brazil with my new patches . But question is, do we want the default keyboard layout to change when one switch country, but keeps the language the same? The current behaviour I believe is to only switch when changing language.
I can confirm that norwegian does get USA keyboard layout only. That is a bit sad as we have norwegian translations. I may investigate it further.
#4 Updated by winterfairy about 6 years ago
- Status changed from 11 to Confirmed
- QA Check deleted (
My patches didn't fix anything in this bug, I was just stating what behaviour I observed when testing. Basically that it was working for Portuguese already, before my patches.
Norwegian still have USA keyboard only, for example.
I may take the question to the mailing list if I feel there is anything to discuss.
#6 Updated by winterfairy about 6 years ago
From all I can tell there is no code in "feature/localized_layouts" that isn't in the "wheezy" branch, and the "wheezy" branch never merged that branch.
Am I missing it somehow, or am I looking in the wrong repository (greeter), or did you forgot to push it?
#7 Updated by winterfairy about 6 years ago
But question is, do we want the default keyboard layout
to change when one switch country, but keeps the
language the same? The current behaviour I believe
is to only switch when changing language.
I was wrong, it is currently switching when changing country too. So no question there.
#8 Updated by winterfairy about 6 years ago
- Status changed from Confirmed to In Progress
- Assignee set to intrigeri
- QA Check set to Ready for QA
Fixed in my greeter repo (norwegian-layout branch):
But basically, the issues are that upstream (xklavier, xkb or x11) does
not support the languages, we were polling for them in the right way. My
fix only hacks around upstreams lack of support.
#10 Updated by winterfairy about 6 years ago
Some research posted in:
#12 Updated by winterfairy about 6 years ago
- Assignee changed from winterfairy to intrigeri
- QA Check changed from Info Needed to Ready for QA
Alright, here we go again:
Same branches in my greeter repo: