Re: AltGr on Japanese keyboard

2007-09-20 Thread Kelly Clowers
On 9/20/07, Jan Willem Stumpel <[EMAIL PROTECTED]> wrote:
> The "jp" keyboard layout (/usr/share/X11/xkb/symbols/jp) does not
> seem to specify any 3rd (or 4th) level symbols. I do not know what
> you want to do with your AltGr key, but if it is to get things
> like AltGr-5 = Euro symbol, or AltGr-minus = dead macron key, you
> could try
>
> setxkbmap="us(alt-intl)+jp"
>
> or perhaps in your case
>
> setxkbmap="us(alt-intl)+jp(OADG109A)"
>
> I do not have a Japanese keyboard so I cannot test it completely.
> Please tell if this works or not.


I didn't use setxkbmap, but I applied the same idea to xorg.conf,
and it works:

Section "InputDevice"
Identifier  "Elecom Japanese Keyboard "
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "jp106"
Option  "XkbLayout" "jp,us"
Option  "XkbVariant""OADG109A,intl" # correct yen symbol
Option  "XkbOptions"
"lv3:ralt_switch,compose:lwin,grp:shift_toggle"
EndSection

The only thing is that in us intl mode, the keys map in a weird
combination of jp106/JP and pc105/US.

the ^ ~ key produces = + (as the key in that position would with pc105/US)
but the ¥ | key still produces ¥ | (I guess because there is no equivalent
on a pc105/US keyboard).

Anyway, this should be good enough, since I don't need the AltGr
symbols very often.

Thanks for the tip.


Cheers,
Kelly


Re: AltGr on Japanese keyboard

2007-09-20 Thread Jan Willem Stumpel
Oops, sorry, this should be without "=", e.g.

setxkbmap "us(alt-intl)+jp"

or perhaps in your case

setxkbmap "us(alt-intl)+jp(OADG109A)"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AltGr on Japanese keyboard

2007-09-20 Thread Jan Willem Stumpel
The "jp" keyboard layout (/usr/share/X11/xkb/symbols/jp) does not
seem to specify any 3rd (or 4th) level symbols. I do not know what
you want to do with your AltGr key, but if it is to get things
like AltGr-5 = Euro symbol, or AltGr-minus = dead macron key, you
could try

setxkbmap="us(alt-intl)+jp"

or perhaps in your case

setxkbmap="us(alt-intl)+jp(OADG109A)"

I do not have a Japanese keyboard so I cannot test it completely.
Please tell if this works or not.

Regards, Jan
http://www.jw-stumpel.nl/stestu.html#T6



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AltGr on Japanese keyboard

2007-09-18 Thread Kelly Clowers
I recently got a Japanese keyboard. With a little googling
I got it working (and set up scim, but that's another matter).

However, I am unable to get AltGr aka ISO_Level3_Shift
working. LWin as compose works, and xev shows that
ralt produces "ISO_Level3_Shift", but when I type ralt+
[other key], I only get [other key].

Here is part of my xorg.conf:

Section "InputDevice"
Identifier  "Elecom Japanese Keyboard "
Driver  "kbd"
Option "CoreKeyboard"
Option "XkbRules"  "xorg"
Option "XkbModel"  "jp106"
Option "XkbLayout" "jp"
Option "XkbVariant""OADG109A" # correct yen symbol
Option "XkbOptions""lv3:ralt_switch,compose:lwin"
EndSection

I am running sid and just updated to xorg 7.3 (I didn't try
7.2 with this setup).

Anyone have any suggestions?


Thanks,
Kelly


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]