Bug 76654 - french bepo, bad decimal separator
Summary: french bepo, bad decimal separator
Status: RESOLVED MOVED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-26 19:42 UTC by Jean-Paul Guillonneau
Modified: 2018-12-28 00:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jean-Paul Guillonneau 2014-03-26 19:42:01 UTC
French uses a comma as decimal separator, but in my spreadsheet gnumeric, the
decimal separator is a period with my numeric keypad and keyboard Bepo.
I add this line in the bepo section of "/usr/share/X11/xkb/symbols/fr" (after
line number 533) :
"key <KPDL>  { [       KP_Delete,      KP_Decimal,           KP_Delete,
KP_Decimal ] };"
Now, my decimal separator is a comma as expected.

Note : the adress "http://www.clavier-dvorak.org/wiki/" line 443 is no longer
relevant.
Comment 1 Jean-Paul Guillonneau 2014-04-06 06:43:36 UTC
Precisions.
Configuration :
Debian testing
Package: xkb-data
Version: 2.10.1-1
Comment 2 Sergey V. Udaltsov 2014-05-17 01:23:00 UTC
I see currently
key <KPDL> { [ KP_Delete, period, comma, 0x100202F ] };

What's wroung about it? You can access either period or comma.
Comment 3 Jean-Paul Guillonneau 2014-05-18 07:06:25 UTC
Nothing wrong, but a description is missing.
At the end of the french usual keyboard description, these lines are added (line 401-403): "// French uses a comma as decimal separator, but keyboards are labeled with a period
    // Will take effect when KP_Decimal is mapped to the locale decimal separator
    key <KPDL>  { [       KP_Delete,      KP_Decimal,           KP_Delete,           KP_Decimal ] };" in the /usr/share/X11/xkb/symbols/fr version 2.11-1.
I have to copy these lines at the end of the french bepo keyboard description (after line 535).
After that, in gnumeric and libreoffice, numbers are written in the french manner (12.35 ⇒ 12,35 for example) when I use my keypad.
Comment 4 Sergey V. Udaltsov 2014-06-21 23:37:21 UTC
Jean-Paul, would it be correct to use the simpler way:

include "kpdl(comma)"

?
Comment 5 Jean-Paul Guillonneau 2014-06-24 07:34:37 UTC
After a trial : "include "kpdl(comma)"" change the period into a comma in all applications. The line I added in the group "French (Bepo, ergonomic, Dvorak way)"— just a copy of a line of the group "French (legacy,alternative) — change the period when I need it.
Comment 6 Sergey V. Udaltsov 2014-08-17 23:11:05 UTC
> change the period into a comma in all applications
That is what I like about it. Should the key work the SAME WAY in all applications? I do not like unconsistent behaviour, really
Comment 7 GitLab Migration User 2018-12-28 00:38:47 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/71.


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.