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

Re: Finnish X11 keymap on iMac?



On Saturday 16 August 2003 10:00, Martin-Éric Racine wrote:
> On Sat, 16 Aug 2003, Frank Murphy wrote:
> > So, the <>| is between Z and left shift and the §½¶ is left of the 1 on
> > all three keyboards, but on the third-party keyboards, pressing §½¶
> > generates the symbol from the <>| key (and vice-versa)?
>
> Precisely.

Wow. That is bizarre.

> > > > 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
> > >
> > > See attached files.
> >
> > OK, I need you to annotate these files. Write in the codes that you get
> > depending on which key you press. Otherwise, it's just guesswork for us.
>
> It's as much guesswork for me.  I press them in the order:  normal, shift,
> altgr.  first lesser/greater/pipe, then paragraph/half/degree.

Well, you knew the order in which you pressed the keys, I didn't. Try it 
again, but this time, only press the <>| (no Shift or Alt) and record the 
output (should be a pressed/released pair). Then do the same for §½¶. Then 
send the results here labeled with what keys you pressed.

> > > > # Also, in X, press these keys with the keyboard in the xev window
> > > > $ xev
> > >
> > > Haven't found any way to paste the output. :(
>
> That's not what I meant.  the xev output is not scrollable and since xev
> takes all crap running thru X, not just keypresses, then i cannot select
> the desired output.

What X terminal emulator are you using? Is the desired output running off the 
screen? I don't understand the problem.

> > > The console-data mac-usb-fi keymap uses the Left_alt as Mode_switch and
> > > makes the left Apple key into a Left_alt, which works very well.
> >
> > Perhaps it works well for you, but it is very confusing for someone who
> > sits at a new keyboard and looks at the keys to find out what they should
> > do.
>
> It works well, from the perspective that it provides nearly the same
> physical kjeycaps location as a PC, that is the key just left of spacebar
> is used to change console, in conjunction with ctrl.  it makes a LOT of
> sense.

It does make a lot of sense if the desired behavior is to mimic the physical 
key location of a PC keyboard. But it is at the expense of matching the 
printed keys.

I think that it would be a good option to have the behavior you expect, 
though.

> > OK, so to switch the left Alt key to act like a PC's AltGr key (and let
> > you type the third letters on the keys), plus use the left Apple logo key
> > as an Alt key, put the following in your .Xmodmap and run `xmodmap
> > ~/.Xmodmap`:
> >
> > keycode 64 = Mode_switch
> > keycode 115 = Alt_L

Did you try this xmodmap? What was the result?

Frank



Reply to: