[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finnish X11 keymap on iMac?



> > And are you
> > dpk-reconfigure-ing xserver-xfree86 every time you change?
>
> Both console and X are configured to use PC / standard / finnish-latin1,
> since I have no use for Apple's own mapping.
...
> All USB keyboards I currently have are meant to be Mac keyboards (whatever
> usbmgr reported upon connection is included in parentheses):

By Mac keyboard, you seem to mean USB keyboard. The keys of the third-party 
keyboards are in the standard PC position, right?

> 1) original narrow iMac keyboard (Alps Electric?M2452 M2452 on usb1:14.0).
> 2) Macalley (ALCOR macally on usb1:6.0)
> 3) noname (ALCOR STRONG MAN KBD HUB on usb1:11.0)
>
> On the Apple (Alps) keyboard, <> and §½ are correct ...

That's wierd that you have the system configured as PC / standard / 
finnish-latin1, but the keymaps are correct for the Apple key layout. But, if 
the only problem with this keyboard is the meta-key problem you explained 
earlier, the simple xmodmap change below should fix it (without disabling 
deadkeys, of course).

> Meanwhile, both the noname and Macalley, being based upon that same Alcor
> chipset, behave similarly, with two keys being inverted and with some meta
> keys being at the wrong place.

So this is the same wierd behavior as before: the keyboards have keys in the 
PC position, and the configuration is for PC, but these keys are mapping to 
the Apple position. I wonder if this is a lower level thing.

What is your keyboard InputDevice in /etc/X11/XF86Config-4?

I'd be interested to know what the linux scancodes and X keycodes are for 
these keys on i386 Linux. Are you able to try these on a PC? If so, try these 
commands on both:

# from the console, then press the <>| and §½¶ keys
$ showkey -s
$ showkey -k

# Also, in X, press these keys with the keyboard in the xev window
$ xev

> > > > Before, you had said the following:
> > > > > On a Finnish/Swedish early iMac with the narrow USB keyboard, xev
> > > > > says:
> > > > >
> > > > >       Control_L,Alt_L,Super_L,space,Multikey.
> > > > >
> > > > > What it should be (as far as Mac OS keymaps and console-tools go):
> > > > >
> > > > >       Control_L,Mode_switch,Alt_L,space,(?).
> > > >
> > > > I haven't seen a Finnish keyboard, but I assume that the keys are
> > > > physically marked with "ctrl", "alt & option", "Apple-logo/command",
> > > > "space bar", "Multikey". Is this true?
> > >
> > > They are: ctrl, alt/option, apple, spacebar, apple.

I realize something else from another keyboard discussion. Mac OS uses Alt to 
allow some characters to be typed, but Windows and X ususally use AltGr. 
Unfortunately, you don't have a right Alt key on the Apple keyboard. As you 
already said, that makes it impossible to have the exact same keymap on your 
i386 and ppc boxes. Would it make sense to remap the left Apple-logo key to 
Mode_Switch instead of Multikey?

> Indeed.  Anyhow, just to clarify, what I'm trying to achieve is to get the
> exact same (PC) keyboard layout on all my Debian hardware.  For obvious
> reasons, this cannot work using the narrow iMac keyboard, since some
> keycaps are missing, but both Alcor chipset-based keyboards have, for all
> intents and purpose, the exact same layout as any PC keyboard, the only
> difference being the power key.

Again, it's strange that you have X configured as PC, but it's giving you the 
Apple layout.

Frank



Reply to: