After moving to UK I figured out that UK keyboard layout is different to US one. Polish layout based on US or DE one so using UK keyboard might be confusing and some characters (mostly pound sign) are missing. Therefore, I started to experiment with xkb. I created own entry which can be based for PL_gb layout. partial default alphanumeric_keys xkb_symbols "basic" { include "latin" name[Group1]="Poland based on GB"; key { [ q, Q ] }; key { [ w, W ] }; key { [ e, E, eogonek, Eogonek ] }; key { [ o, O, oacute, Oacute ] }; key { [ a, A, aogonek, Aogonek ] }; key { [ s, S, sacute, Sacute ] }; key { [ f, F ] }; key { [ z, Z, zabovedot, Zabovedot ] }; key { [ x, X, zacute, Zacute ] }; key { [ c, C, cacute, Cacute ] }; key { [ n, N, nacute, Nacute ] }; key { [ 2, quotedbl, twosuperior, oneeighth ] }; key { [ 3, sterling, threesuperior, sterling ] }; key { [ 4, dollar, EuroSign, onequarter ] }; key { [apostrophe, at, dead_circumflex, dead_caron] }; key { [ grave, notsign, bar, bar ] }; key { [numbersign, asciitilde, dead_grave, dead_breve ] }; key { [ backslash, bar, bar, brokenbar ] }; include "kpdl(comma)" include "level3(ralt_switch)" };
Is anyone but you using it?
At the moment not, but if I learn how to prepare the proper patch I'll propagate it to check the interest among Polish. In the meant time it will be nice to have "£" sign added to standard Polish layout.
In relation to making the proper and complete patch, see http://freedesktop.org/wiki/Software/XKeyboardConfig/Rules
Created attachment 124198 [details] [review] patch adding Polish language layout on UK keyboard There is about 1 million Polish people in UK now. Hopefully some are using linux. I have also been using a UK keyboard in Poland for few years. I used to just add a custom keyboard layout on my system. Possibly someone could benefit from using it, and I suspect there is more Polish people using computers in UK, then people using the other non standard Polish variants already included (like dvorak or Kashubian).
Could you please do it the other way around? Make it gb(pol) and put to base.xml.in (no need to patch evdev). For example, see us(rus) variant - Russian language on US keyboard. Thank you
Created attachment 126584 [details] [review] new patch - Polish language on British keyboard Hi. I have changed the patch as requested. I find it confusing though, that some languages use a solution similar to the one I have used first - eg. "German (US keyboard with German letters)" or "Croatian (US keyboard with Croatian letters)", while others, like your example or "Polish (German, eliminate dead keys)" use the second option. One thing I don't like about this new patch is that under KDE I now see a British flag instead of Polish. And what happens if somebody wants to create and use a layout for another language based on British keyboard? For example I use two languages quite regularly - Polish and Croatian/Serbian. I would like to switch between these two, but then I would see a British flag regardless of the language I have chosen!
Created attachment 126585 [details] [review] Patch fixed - Polish language on British keyboard Sorry, there was an error in the previous patch. Fixed.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/101.
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.