Re: xkb-data: Help needed for Macintosh keyboards
Hi Denis
On Tue, Aug 29, 2006 at 10:48:15PM +0200, Denis Barbier wrote:
>
> 5. What informations should be reported?
> =====================================
>
> Everything ;)
> Basically I have to make sure that there are no regressions before
> this package can be uploaded into unstable. This means that if a
> layout did work previously, it should also work with this package.
> If a layout was broken, well I guess that there is no harm fixing
> it. As I know nothing about Mac keyboards, I will need all
> informations you can provide:
> * Mac model (ibook, g4, g5, etc)
PowerBook G4, [5,8]
> * Mac keyboard (USB or not, country variant)
internal keyboard, [DE]
I made a picture:
http://www.geocities.com/wolfgangpfeiffer/keyboard.PBook.g4-5.8.JPG
[about 160 KB, and I got an hourly transfer limit of ~4,4 MB .. so you
might want being quick if you want to see it .. :)]
> * xorg.conf options
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "lv3:lwin_switch"
EndSection
Please note the comment at the "XkbVariant" line ..
> * success or failure report?
I'm not sure:
Usually I use my own ~/.xmodmap which is getting loaded when logging
into my user X (KDM/KDE) - it's here:
http://www.geocities.com/wolfgangpfeiffer/xmodmap.g4-5.8.txt
The latter is on the brink of being perfect for me. - Except the fact
I never could manage even with that file to set some mouse keys with
entries (among others) like this in sysctrl.conf - neither on console
nor on X:
dev/mac_hid/mouse_button_emulation = 1
dev/mac_hid/mouse_button2_keycode = 100
dev/mac_hid/mouse_button3_keycode = 126
But the latter might be offtopic ...
So I don't remember exactly how the keyboard worked without
~/.xmodmap. But the fact I wrote it could be taken as an indication
that the ones shipped with the xorg/xkb packages were pretty,
errr ..., let's say *inconvenient* for me .. :)
Besides: it seems an old annoying issue is still being around here:
With your package as, IIRC, with the previous (from about half a year
ago or so) xorg/xkb ones 2 keys are
swapped here:
the key above the TAB key, that is the one with a sign which 'xev'
(with my ~/xmodmap loaded) fully rightly sees as a
" keycode 94 (keysym 0x5e, asciicircum)"
key and the key right of the left Shift key, which again with my
~/.xmodmap loaded is seen by xev correctly as "less" and "greater"
[< and >] keys:
keycode 49 (keysym 0x3c, less)
keycode 49 (keysym 0x3e, greater)
The xkbcomp output when (hopefully) .xmodmap is loaded:
Please note that Geocities does not seem to accept an .xkb extension
when uploading files to my homepage. So I renamed it to a .txt file:
$ xkbcomp :0 -o server-0.with.my.xmodmap.loaded.xkb
$ mv server-0.with.my.xmodmap.loaded.xkb server-0.with.my.xmod
map.loaded.xkb.txt
`server-0.with.my.xmodmap.loaded.xkb' -> `server-0.with.my.xmodmap.loaded.xkb.tx
t'
It's here:
<http://www.geocities.com/wolfgangpfeiffer/server-0.with.my.xmodmap.loaded.xkb.txt>
And here's the one made with the settings as shipped with
xkb-data_0.8-8exp1_all.deb (same renaming procedure as above):
<http://www.geocities.com/wolfgangpfeiffer/server-0.with.xkb-data-settings.loaded.xkb.txt>
The latter file should be the result of this:
$ setxkbmap -model macintosh -layout de -print | xkbcomp - :0
$ xkbcomp :0 -o server-0.with.xkb-data-settings.loaded.xkb
$ mv server-0.with.xkb-data-settings.loaded.xkb server-0.with.
xkb-data-settings.loaded.xkb.txt
`server-0.with.xkb-data-settings.loaded.xkb' -> `server-0.with.xkb-data-settings
.loaded.xkb.txt'
$
> * If possible, which console keymap you normally use
You mean /etc/console/boottime.kmap.gz? I don't remember where I found
it, but I'm rather sure it's not the one as provided by Debian. It's
here:
http://www.geocities.com/wolfgangpfeiffer/boottime.kmap.gz
More? Please let me know ..
Best Regards
Wolfgang
--
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: