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

Getting the alt (option) key to work as Altgr



Hello,

I've set up a norwegian keyboard (heavily based on the swedish ;) that
work perfectly on the console. But I can't get the option or command key
to do anything under X, which means that i can't get a bar (norwegian
alt+7) amongst others.

What I'm trying to do is to get option to to work as AltGr does on a PC
and to get command to work as alt (so I can switch consoles). I've done
this a long time agon on LinuxPPC, but I've forgotten what I did.

I've tried two different courses, both with the same result.

1) Set 
   Option "XkbDisable"
in XF86Config

2) Set 
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "macintosh"
        Option          "XkbLayout"     "none"
        Option          "RightAlt"      "ModeShift"
I believe I did something like this on LinuxPPC.

Xev gives this for option:
KeyPress event, serial 28, synthetic NO, window 0x2800001,
    root 0x32, subw 0x0, time 2002283297, (-489,-62), root:(603,683),
    state 0x0, keycode 64 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 characters:  ""

And this for command:
KeyPress event, serial 28, synthetic NO, window 0x2800001,
    root 0x32, subw 0x0, time 2002348730, (-442,-206), root:(650,539),
    state 0x0, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 characters:  ""


I'm running unstable updates as of yesterday, using the new input layer.

-- 
    Håvard

mailto:havardw@stud.ntnu.no||http://www.stud.ntnu.no/~havardw||73 52 55
76
 All it takes to start an avalanche is a single snowflake||Or a
snowboarder
        Oh! Un Fraggle! Regarde, maman! J'ai attrapé un Fraggle!



Reply to: