Re: xkb-data with support for Mac keyboards into unstable
On Sat, Sep 23, 2006 at 04:42:27PM +0200, Bin Zhang wrote:
> Hi,
>
> On 9/23/06, Denis Barbier <barbier@linuxfr.org> wrote:
> >Hi,
> >
> >I just uploaded xkb-data 0.8-13 into unstable, it
> >is available at http://people.debian.org/~barbier/tmp/
>
> Thanks. It works fine on my ibook G4 1.2Ghz 12" french keyboard.
>
> Some remarks about french ibook keyboard:
>
> 1) xorg.conf
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "macintosh"
> #Option "XkbModel" "ibook"
> Option "XkbLayout" "fr"
> #Option "XkbOptions" "lv3:lwin_switch"
> EndSection
> ===> No accesses to the special characters (~ [ ] { } | ...).
The following for a PowerBook G4 (5,8).
Picture of the keyboard where all this happens:
http://www.geocities.com/wolfgangpfeiffer/keyboard.PBook.g4-5.8.JPG
$ cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 833.333000MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 16.57
timebase : 8320000
platform : PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 00000019
L2 cache : 512K unified
pmac-generation : NewWorld
I didn't install the package. Instead I used again the option of
downloading the package, unpacking it and, without installing it, then
configure the keyboard with a simple CLI one-liner:
$ dpkg -x /home/shorty/downloads/xkb-data_0.8-13_all.deb .
$ cd usr/share/X11/xkb/
With
setxkbmap -option -rules xorg -model macintosh -layout de -variant nodeadkeys -print | xkbcomp - :0
I have a 2nd <ENTER> key .. (kp-enter) .. I don't find any ~ [ ] { } | @ keys ...
The <> (right side of the <SHIFT> key) and ^° (left of the '1' key)
keys are still swapped ...
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> #Option "XkbModel" "macintosh"
> Option "XkbModel" "ibook"
> Option "XkbLayout" "fr"
> #Option "XkbOptions" "lv3:lwin_switch"
> EndSection
> ===> Access to the special characters by the KP_Enter key.
setxkbmap -option -rules xorg -model powerbook -layout de -variant nodeadkeys -print | xkbcomp - :0
This one is fine: The 2nd <ENTER> is gone now and becomes a
ISO_Level3_Shift (xev says that), left of the arrow 'LEFT' key. I find
the ~ @ \ } { | ] [ chars ...
Nice ... but the <> (right side of the <SHIFT> key) and ^° (left of the
'1' key) keys are still swapped ...
This latter set-up could become my favorite one. Somehow .. provided the
"swapped-keys" issue could be changed ... :)
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "macintosh"
> #Option "XkbModel" "ibook"
> Option "XkbLayout" "fr"
> Option "XkbOptions" "lv3:lwin_switch"
> EndSection
> ===> Access to the special characters by the Apple key.
setxkbmap -option -rules xorg -model macintosh -layout de -variant nodeadkeys -option lv3:lwin_switch -print | xkbcomp - :0
I can find @ | ] [ } { ~ via some (xev says )ISO_Level3_Shift, which
actually is the "Apple" key here, left of the <SPACE> key
And I have a 2nd <ENTER> (Mac-like?) KP_Enter left of the arrow 'LEFT' key
The <> (right side of the <SHIFT> key) and ^° (left of the '1' key)
keys are still swapped ...
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> #Option "XkbModel" "macintosh"
> Option "XkbModel" "ibook"
> Option "XkbLayout" "fr"
> Option "XkbOptions" "lv3:lwin_switch"
> EndSection
> ===> Access to the special characters by the Apple key or KP_Enter key.
setxkbmap -option -rules xorg -model powerbook -layout de -variant nodeadkeys -option lv3:lwin_switch -print | xkbcomp - :0
KP_ENTER gone, @~}{|][ available via "Apple" and former KP_ENTER,
which are both now (xev:) ISO_Level3_Shift),
The <> (right side of the <SHIFT> key) and ^° (left of the
'1' key) keys are still swapped ...
HTH
Best Regards,
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
Reply to: