Bug 116019

Summary: wrong keyboard mapping for swiss-german keyboard after installation
Product: [openSUSE] SUSE LINUX 10.0 Reporter: m. bracher <mbra>
Component: SaX2Assignee: Marcus Schaefer <ms>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: marksparham, ms, sndirsch, stephan.dietrich
Version: Beta 4   
Target Milestone: ---   
Hardware: x86   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Keyboard.map.patch

Description m. bracher 2005-09-08 22:52:20 UTC
Installing beta4, choosing keyboard "german (swiss)".
After installation:
Console (textmode): Keyboardmapping OK
X11: Keyboardmapping not ok, e.g. [Ctrl][Alt][F1] does not switch to console,
the pipe-sign (|) with [AltGr][1] does not work.

With yast2 -> Hardware -> Keyboard Layout you can fix the problem: 
Choose Layout=Switzerland and Variant=de, then it seems to work.

Difference in xorg.conf:
diff xorg.conf.after_install xorg.conf.after_yast
88c88
<   Option       "XkbLayout" "de_CH"
---
>   Option       "XkbLayout" "ch"
90a91
>   Option       "XkbVariant" "de"

de_CH works with Suse9.3, but not with 10.0. I don't know if it it is a bug of
X11 or a planned change. When it is a change, the installer must be adapted to
know about this change.

Let me know if you need configuration- or log-files.
Comment 1 Stefan Dirsch 2005-09-11 21:54:19 UTC
Looking at /usr/share/sax/sysp/maps/Keyboard.map I expect the same problem to  
see with fr_CA/fr_CH. 
  
BTW, I wonder what the entries in /etc/X11/xkb/keymap/xfree86 are good for.  
These look like compatibility entries and include cz_qwerty, de_CH. fr_CA and  
fr_CH.  
Comment 2 Stefan Dirsch 2005-09-12 15:01:35 UTC
Ok. Marcus, please replace layouts de_CH, fr_CA and fr_CH with layouts ch/ca
and variants de/fr, i.e.

layout 9.3        layout 10.0     variant 10.0
-----------------------------------------------
de_CH             ch              de
fr_CA             ca              fr
fr_CH             ch              fr

in /usr/share/sax/sysp/maps/Keyboard.map.
Comment 3 Stefan Dirsch 2005-09-12 16:58:07 UTC
variants:
de --> de_nodeadkeys

Comment 4 Marcus Schaefer 2005-09-12 17:00:35 UTC
fixed but I'm not sure if it will be checked in to 10.0 
 
patch follows 
 
Comment 5 Marcus Schaefer 2005-09-12 17:01:10 UTC
Created attachment 49655 [details]
Keyboard.map.patch
Comment 6 Marcus Schaefer 2005-09-12 17:02:18 UTC
fixed 
Comment 7 Stefan Dirsch 2005-09-12 17:09:07 UTC
Thanks. Patch looks perfect.
Comment 8 Jiří Suchomel 2005-09-27 11:48:07 UTC
*** Bug 118389 has been marked as a duplicate of this bug. ***
Comment 9 Marcus Schaefer 2005-11-10 11:44:53 UTC
*** Bug 132306 has been marked as a duplicate of this bug. ***