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

Re: XFree86/Keyboard can't use at-sign



Hi,

On Mon, 11 Mar 2002, Daniel Kleine-Albers wrote:

> I have a little problem with my keyboard on the powerbook g4 titanium. I 
> use a german keyboard layout, everything is working fine - even the 
> umlauts - but i can't write an @ (at-sign) with it. If i press alt+l 
> only a l appears. How can i change this?
> (It works just fine on the console, but not within XFree86/KDE)
> 
> The following is the relevant keyboard section from my 
> /etc/X11/XF86Config-4
> 
> 	Option		"XkbRules"	"xfree86"
> 	Option		"XkbModel"	"macintosh"
> 	Option		"XkbLayout"	"de"
> 
> (I use linux keycodes - as proposed on the debian website - since 
> upgrade to the 2.4.17benh-Kernel)

That's fine. "The Right Way"(TM)

> Any hints?

That macintosh "de" keymap uses the "AltGR" (right Alt) key, which doesn't
exist on Apple's laptop keyboards.

You can use xmodmap to make the left ("alt") key do this job, which gives
you a behaviour similar to MacOS:

cat <<EOF |xmodmap -
clear mod1
keycode 64 = Mode_switch
EOF

Alternatively, you could remap the little "Enter" key right of the space
bar to be "AltGR".

Cheers,
	Siggi




Reply to: