Bug 6850 - Annoying change of Polish keyboard layout in X.org 7
Summary: Annoying change of Polish keyboard layout in X.org 7
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 00:37 UTC by Dominik
Modified: 2008-12-17 08:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dominik 2006-05-07 00:37:38 UTC
I upgraded my Gentoo to X.org 7 and found out rather annoying change with Polish
keyboard layout.
Previously when I pressed dot on numerical keyboard I had a dot in terminal
emulator window and a comma in OpenOffice Calc (comma is decimal separator in
Poland). I found that behaviour very clever since it was very easy to write IP
adresses with just one hand and still I could get correct numbers in Calc.

And now... after upgrade I get the Windows-like behaviour. Comma is printed
everywhere! I'm used to the old layout. I tried to edit Xkb files but with no
luck. Polish layout is modification of standard en_US keyboard but it doesn't
modify the numpad dot.
Comment 1 Sergey V. Udaltsov 2006-05-07 10:49:04 UTC
Dominik, 
1. Are you using xkeyboard-config or xkbdata (bundled with Xorg 7)
2. Are you sure it is really X's problem? If this key is bound to KP_Separator -
may be it was just people fixing your favorite terminal to use locale-based
separator (comma for Polish locale)?
Comment 2 Dominik 2006-05-08 14:38:16 UTC
Ad. 1. I used X 6.8.x out of the box and after upgrading to X 7 I never changed
anything in the configs. I checked the installed packages and it appears, I'm
using xkeyboard-config 0.7.

Ad. 2. I tried it with other terminals and it's the same.
Comment 3 Sergey V. Udaltsov 2006-05-08 17:47:22 UTC
> using xkeyboard-config 0.7.
OK

> Ad. 2. I tried it with other terminals and it's the same.
I see.

Now, could you please start 'xev' utility, press that problematic key and copy
the output here?
Comment 4 Dominik 2006-05-09 23:51:41 UTC
(In reply to comment #3)
> Now, could you please start 'xev' utility, press that problematic key and copy
> the output here?

KeyPress event, serial 31, synthetic NO, window 0x2200001,
    root 0xa3, subw 0x0, time 424188716, (-40,501), root:(541,523),
    state 0x10, keycode 91 (keysym 0xffac, KP_Separator), same_screen YES,
    XLookupString gives 1 bytes: (2c) ","
    XmbLookupString gives 1 bytes: (2c) ","
    XFilterEvent returns: False


I discussed the problem with my friend, who said it's good that KP_Separator
produces a comma, because it's Polish norm. I said, yeah, but I need the comma
only in Calc (which already handled it well), and I need the dot when I write IP
adresses and also when I code in C or any other language. Maybe the default
should stay on comma and instead make a new variant with the dot?
Comment 5 Sergey V. Udaltsov 2006-05-10 03:41:28 UTC
OK, so actually you see it is correct - in terms that it produces the separator,
as requested, according to the locale. But well, may be it really would make
sense to provide special XkbOption keypad:comma or smth (but it will be comma
EVERYWHERE - in all apps!). I will think of it. Actually this issue was already
raised some while ago...
Comment 6 Sergey V. Udaltsov 2008-12-17 08:43:33 UTC
The option kpd:commaoss should work just fine for you!


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.