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.
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)?
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.
> 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?
(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?
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...
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.