Bug 1899

Summary: [XKB] many, many XKB updates
Product: xorg Reporter: Daniel Stone <daniel>
Component: Input/KeyboardAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: akos.ladanyi, janos.mohacsi, mantas, nerijus, rajcic
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
#1 -- fix AB10 minus/underscore on Croatian layout
none
#2: fix apostrophe on de(nodeadkeys)
none
#3: Scroll Lock for group toggle
none
#4: fix Lithuanian definition
none
#5: fix UK Macintosh stuff
none
#6: use Caps Lock key as Compose
none
#7: fix keypad separator for Polish keyboards
none
#8: new layouts for XKB from xkbdesc (modular)
none
#9: fix rules/xfree86 inconsistencies
none
#10: use ralt_switch, not ralt_switch_multikey, so you can hit level 4
none
#11: add support for Ctrl+Alt sequences to Sun keyboards
none
#12: keycodes file for RISCPC none

Description Daniel Stone 2004-11-22 10:57:03 UTC
Lacking an XKB component ...

From xkbdesc, the following changes:
rules/xfree86:
  + Remove ca, hu, mn and vn layouts from $oldlayouts.
  + Remove special case that causes PC keyboard models with the us_intl
    layout to load the us layout and add the us_intl layout to it.

symbols/group:
  + Add "rctrl_switch" needed by the ca layout.

symbols/keypad:
  + Add "comma" needed by the hu layout.

symbols/pc/Imakefile:
  + Add ca, ch, hu, jp, mn and vn.

symbols/pc/us:
  + Add two new variants: 'intl' and 'alt-intl'.  The latter is a strict
    replacement for us_intl, which will become obsolete soon.  Providing
    all alternatives will help users to migrate to the new files.


... and from Debian:
Fix the latin(type3) PC keyboard map to override the AB10 key definition
inherited from the basic layout, mapping the key to "minus, underscore"
rather than "slash, question".  This enables the al (Albanian), hr
(Croatian), pl2 (Polish QWERTZ), si (Slovenian), and yu (Yugoslavian)
layouts to inherit this key mapping (though al overrides it).  See Debian
#236604.

German keyboards using the "nodeadkeys" variant should produce an
apostrophe, not an acute accent, when <AE12> is pressed.  This change is
also consistent with the existing xc/programs/xkbcomp/symbols/de file.
See Debian bug #241127.

Provide XKB configuration option for Scroll Lock to be used as a group
toggle key.

Fix problem with numbers and symbols being un-typable in the Lithuanian keymap.
Fix a few problems with the U.K. Macintosh keyboard layout:
  * Map <TLDE> key to "section, plusminus".
  * Map <LSGT> key to "quoteleft, asciitilde".
  * Map AltGr+<AE02> to "EuroSign".
  * Include group(switch) symbols so that the already-defined mapping
    of AltGr+<AE03) to "numbersign" can be used.

Also see Debian #201737.

Implement option to place Compose key ("Multi_key") on <CAPS> key.  See
Debian #251310.

(and a patch to fix the separator on Polish keyboards)

Fix inconsistencies in rules/xfree86* files.

rules/xfree86:
  + List in $oldlayouts all layouts which are currently not multi-layout
    aware in the Debian xlibs package, including hu_US (thanks, Veres
    Lajos).  (Closes: #247463, #270810)
  + Support the lv3:ralt_switch option, which exists in xfree86.lst but was
    forgotten in this file.
  + Add support for a lv3:ralt_switch_multikey option.
  + Move lv3 definitions after altwin so that the former can override
    the latter.  See Bug#276143.

rules/xfree86.{lst,xml}:
  + Replace the options altwin:meta_super and altwin:meta_hyper with the
    correct names altwin:super_win and altwin:hyper_win.  (Closes: #271259)
  + Synchronize these files.

Replace level3(ralt_switch_multikey) by level3(ralt_switch) in all
layouts so that symbols on the 4th column may be accessed with
Shift+Alt_R or Alt_R+Shift.  (Closes: #270235)

Add support for standard Ctrl+Alt sequences to Sun keyboards.

Add support for RiscPC keycodes.  See Debian #141392.


... phew!  All the Debian bugs (#nnnnnn) can be accessed by going to
http://bugs.debian.org/nnnnnn.  Almost of them are written by Denis Barbier, who
knows more about XKB than I can hope to ever forget.  For best results, apply
all these patches in sequence (from first patch number through last).  Stir
sharply, do not shake.
Comment 1 Daniel Stone 2004-11-22 10:58:13 UTC
Created attachment 1340 [details] [review]
#1 -- fix AB10 minus/underscore on Croatian layout
Comment 2 Daniel Stone 2004-11-22 10:58:40 UTC
Created attachment 1341 [details] [review]
#2: fix apostrophe on de(nodeadkeys)
Comment 3 Daniel Stone 2004-11-22 11:00:02 UTC
Created attachment 1342 [details] [review]
#3: Scroll Lock for group toggle
Comment 4 Daniel Stone 2004-11-22 11:00:43 UTC
Created attachment 1343 [details] [review]
#4: fix Lithuanian definition
Comment 5 Daniel Stone 2004-11-22 11:01:31 UTC
Created attachment 1344 [details] [review]
#5: fix UK Macintosh stuff
Comment 6 Daniel Stone 2004-11-22 11:02:12 UTC
Created attachment 1345 [details] [review]
#6: use Caps Lock key as Compose
Comment 7 Daniel Stone 2004-11-22 11:04:23 UTC
Created attachment 1346 [details] [review]
#7: fix keypad separator for Polish keyboards
Comment 8 Daniel Stone 2004-11-22 11:05:10 UTC
Created attachment 1347 [details] [review]
#8: new layouts for XKB from xkbdesc (modular)
Comment 9 Daniel Stone 2004-11-22 11:06:22 UTC
Created attachment 1348 [details] [review]
#9: fix rules/xfree86 inconsistencies
Comment 10 Daniel Stone 2004-11-22 11:07:26 UTC
Created attachment 1349 [details] [review]
#10: use ralt_switch, not ralt_switch_multikey, so you can hit level 4
Comment 11 Daniel Stone 2004-11-22 11:08:22 UTC
Created attachment 1350 [details] [review]
#11: add support for Ctrl+Alt sequences to Sun keyboards
Comment 12 Daniel Stone 2004-11-22 11:08:52 UTC
Created attachment 1351 [details] [review]
#12: keycodes file for RISCPC
Comment 13 Daniel Stone 2004-11-23 11:00:10 UTC
Comment on attachment 1340 [details] [review]
#1 -- fix AB10 minus/underscore on Croatian layout

make roland less angry
Comment 14 Daniel Stone 2004-11-23 11:03:06 UTC
Comment on attachment 1351 [details] [review]
#12: keycodes file for RISCPC

make roland less angry
Comment 15 Daniel Stone 2004-11-23 11:03:14 UTC
Comment on attachment 1350 [details] [review]
#11: add support for Ctrl+Alt sequences to Sun keyboards

make roland less angry
Comment 16 Daniel Stone 2004-11-23 11:03:22 UTC
Comment on attachment 1349 [details] [review]
#10: use ralt_switch, not ralt_switch_multikey, so you can hit level 4

make roland less angry
Comment 17 Daniel Stone 2004-11-23 11:03:43 UTC
Comment on attachment 1348 [details] [review]
#9: fix rules/xfree86 inconsistencies

make roland less angry
Comment 18 Daniel Stone 2004-11-23 11:03:51 UTC
Comment on attachment 1347 [details] [review]
#8: new layouts for XKB from xkbdesc (modular)

make roland less angry
Comment 19 Daniel Stone 2004-11-23 11:04:10 UTC
Comment on attachment 1346 [details] [review]
#7: fix keypad separator for Polish keyboards

make roland less angry
Comment 20 Daniel Stone 2004-11-23 11:04:18 UTC
Comment on attachment 1345 [details] [review]
#6: use Caps Lock key as Compose

make roland less angry
Comment 21 Daniel Stone 2004-11-23 11:04:27 UTC
Comment on attachment 1344 [details] [review]
#5: fix UK Macintosh stuff

make roland less angry
Comment 22 Daniel Stone 2004-11-23 11:04:35 UTC
Comment on attachment 1343 [details] [review]
#4: fix Lithuanian definition

make roland less angry
Comment 23 Daniel Stone 2004-11-23 11:04:44 UTC
Comment on attachment 1342 [details] [review]
#3: Scroll Lock for group toggle

make roland less angry
Comment 24 Daniel Stone 2004-11-23 11:04:51 UTC
Comment on attachment 1341 [details] [review]
#2: fix apostrophe on de(nodeadkeys)

make roland lessa ngry
Comment 25 Ante Karamatic 2005-02-13 23:01:45 UTC
(In reply to comment #1)
> Created an attachment (id=1340) [edit]
> #081 -- fix AB10 minus/underscore on Croatian layout
> 

Same thing should be done with symbols/pc/hr, not just symbols/pc/latin, couse
setxkbmap hr calls symbols/pc/hr, not symbols/pc/latin.
Comment 26 Pablo Saratxaga 2005-03-08 09:04:50 UTC
*** Bug 1867 has been marked as a duplicate of this bug. ***
Comment 27 Pablo Saratxaga 2005-03-08 09:12:06 UTC
*** Bug 574 has been marked as a duplicate of this bug. ***
Comment 28 Pablo Saratxaga 2005-03-08 09:15:54 UTC
*** Bug 1164 has been marked as a duplicate of this bug. ***
Comment 29 Nerijus Baliƫnas 2005-03-08 10:47:01 UTC
Are these patches not applied yet? Some of them are almost year old...
Comment 30 Daniel Stone 2006-03-05 07:59:14 UTC
these have been fixed in xk-c, bar riscpc

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.