Bug 21606 - New polish layout based on UK keyboard
Summary: New polish layout based on UK keyboard
Status: RESOLVED MOVED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: alekow
QA Contact:
URL: http://larryn.blogspot.com/2008/10/uk...
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-05-06 15:28 UTC by Wawrzyniec Niewodniczański
Modified: 2018-12-28 00:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch adding Polish language layout on UK keyboard (3.04 KB, patch)
2016-05-31 00:11 UTC, alekow
Details | Splinter Review
new patch - Polish language on British keyboard (2.64 KB, patch)
2016-09-17 02:39 UTC, alekow
Details | Splinter Review
Patch fixed - Polish language on British keyboard (2.64 KB, patch)
2016-09-17 02:43 UTC, alekow
Details | Splinter Review

Description Wawrzyniec Niewodniczański 2009-05-06 15:28:22 UTC
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)"
};
Comment 1 Sergey V. Udaltsov 2009-05-06 15:35:18 UTC
Is anyone but you using it?
Comment 2 Wawrzyniec Niewodniczański 2009-06-28 06:26:56 UTC
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.
 
Comment 3 Sergey V. Udaltsov 2009-06-28 08:45:49 UTC
In relation to making the proper and complete patch, see http://freedesktop.org/wiki/Software/XKeyboardConfig/Rules
Comment 4 alekow 2016-05-31 00:11:46 UTC
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).
Comment 5 Sergey V. Udaltsov 2016-09-15 21:35:15 UTC
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
Comment 6 alekow 2016-09-17 02:39:43 UTC
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!
Comment 7 alekow 2016-09-17 02:43:41 UTC
Created attachment 126585 [details] [review]
Patch fixed - Polish language on British keyboard

Sorry, there was an error in the previous patch. Fixed.
Comment 8 GitLab Migration User 2018-12-28 00:43:29 UTC
-- 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.