This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: AltGr and cygwin (French keyboard)
- From: "bitlov" <bitlov at ibelgique dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 14 Aug 2002 12:31:51 +0200
- Subject: Re: AltGr and cygwin (French keyboard)
- References: <3D5923B0.5030409@free.fr>
- Reply-to: cygwin-xfree at cygwin dot com
Your xmodmap file is incomplete.
You should add this :
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = Control_R
keycode 110 = Pause
keycode 111 = Print
keycode 112 = KP_Divide
keycode 113 = Mode_switch
keycode 114 = Break
! right windows-logo key
! in "windows" keyboards the postion of the key is annoying, is where AltGr
! usually resides, so go definie it as AltGr
keycode 116 = Mode_switch
! right windows-menu key, redefined as Compose key
keycode 117 = Multi_key
For my part, I have troubles with my numlock key. Could you try if yours is
functionning ?
-bitlov
----- Original Message -----
From: "Benoit Ledoux" <Benoit.Ledoux@free.fr>
To: <cygwin-xfree@cygwin.com>
Sent: Tuesday, August 13, 2002 5:20 PM
Subject: AltGr and cygwin (French keyboard)
> Hello,
>
> I using the Xwin X server of cygwin and try to setup it to work with my
> french keyboard. Unfortunatly I am not able to make the AltGr key work
> correctly (needed for ~#{[|`\^@]}).
>
> I am using xmodmap to re-map my keyboard. You will find bellow the
> .Xmodmap file I am using. The only work arround I found is to use the
> right-click menu key as the AltGr key.
>
> I guess Xwin doesn't like the fake Control_L event that is generated by
> windows when pressing the AltGr key.
>
> Any help would be appreciated.
> Benoit
>
> xev after pressing AltGr:
> KeyPress event, serial 22, synthetic NO, window 0xa00001,
> root 0x36, subw 0x0, time 32834343, (-101,384), root:(468,406),
> state 0x14, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
> XLookupString gives 0 characters: ""
>
> KeyRelease event, serial 22, synthetic NO, window 0xa00001,
> root 0x36, subw 0x0, time 32834393, (-101,384), root:(468,406),
> state 0x2014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
> XLookupString gives 0 characters: ""
>
> KeyRelease event, serial 22, synthetic NO, window 0xa00001,
> root 0x36, subw 0x0, time 32834403, (-101,384), root:(468,406),
> state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen
YES,
> XLookupString gives 0 characters: ""
>
> xev after pressing AltGr+ "|"
> KeyPress event, serial 22, synthetic NO, window 0xa00001,
> root 0x36, subw 0x0, time 32931593, (-389,206), root:(180,228),
> state 0x2014, keycode 15 (keysym 0x7c, bar), same_screen YES,
> XLookupString gives 1 characters: "{"
>
> French .Xmodmap file:
> ! French keyboard Xmodmap for Cygwin/XFree86
> ! FVI CETP
>
> clear Shift
> clear Lock
> clear Control
> clear Mod1
> clear Mod2
> clear Mod3
> clear Mod4
> clear Mod5
>
> keycode 9 = Escape Escape
> keycode 10 = ampersand 1
> keycode 11 = eacute 2 dead_tilde
> keycode 12 = quotedbl 3 numbersign
> keycode 13 = apostrophe 4 braceleft
> keycode 14 = parenleft 5 bracketleft
> keycode 15 = minus 6 bar bar bar bar bar
> keycode 16 = egrave 7 dead_grave
> keycode 17 = underscore 8 backslash
> keycode 18 = ccedilla 9 asciicircum
> keycode 19 = agrave 0 at
> keycode 20 = parenright degree bracketright
> keycode 21 = equal plus braceright
> keycode 22 = BackSpace
> keycode 23 = Tab Tab
> keycode 24 = a
> keycode 25 = z
> keycode 26 = e
> keycode 27 = r
> keycode 28 = t
> keycode 29 = y
> keycode 30 = u
> keycode 31 = i
> keycode 32 = o
> keycode 33 = p
> keycode 34 = dead_circumflex dead_diaeresis
> keycode 35 = dollar sterling currency
> keycode 36 = Return
> keycode 37 = Control_L
> keycode 38 = q
> keycode 39 = s
> keycode 40 = d
> keycode 41 = f
> keycode 42 = g
> keycode 43 = h
> keycode 44 = j
> keycode 45 = k
> keycode 46 = l
> keycode 47 = m M
> keycode 48 = ugrave percent
> keycode 49 = twosuperior
> keycode 50 = Shift_L
> keycode 51 = asterisk mu
> keycode 52 = w
> keycode 53 = x
> keycode 54 = c
> keycode 55 = v
> keycode 56 = b
> keycode 57 = n
> keycode 58 = comma question
> keycode 59 = semicolon period
> keycode 60 = colon slash
> keycode 61 = exclam section
> keycode 62 = Shift_R
> keycode 63 = KP_Multiply
> keycode 64 = Alt_L Meta_L
> keycode 65 = space space
> keycode 66 = Caps_Lock
> keycode 67 = F1 F11
> keycode 68 = F2 F12
> keycode 69 = F3 F13
> keycode 70 = F4 F14
> keycode 71 = F5 F15
> keycode 72 = F6 F16
> keycode 73 = F7 F17
> keycode 74 = F8 F18
> keycode 75 = F9 F19
> keycode 76 = F10 F20
> keycode 77 = Num_Lock
> keycode 78 = Scroll_Lock
> keycode 79 = KP_7
> keycode 80 = KP_8
> keycode 81 = KP_9
> keycode 82 = KP_Subtract
> keycode 83 = KP_4
> keycode 84 = KP_5
> keycode 85 = KP_6
> keycode 86 = KP_Add
> keycode 87 = KP_1
> keycode 88 = KP_2
> keycode 89 = KP_3
> keycode 90 = KP_0
> keycode 92 = Sys_Req
> keycode 94 = less greater
> keycode 95 = F11 F11
> keycode 96 = F12 F12
> !Windows right-click menu key
> keycode 101 = Mode_switch
> keycode 107 = Delete
> keycode 108 = KP_Enter
> keycode 109 = Control_R
> keycode 112 = KP_Divide
> keycode 113 = Mode_switch Multi_key
> keycode 114 = Break
> keycode 110 = Find
> keycode 98 = Up
> keycode 99 = Prior
> keycode 100 = Left
> keycode 102 = Right
> keycode 104 = Down
> keycode 105 = Next
> keycode 106 = Insert
>
>
> add shift = Shift_L Shift_R
> add lock = Caps_Lock
> add control = Control_L Control_R
> add mod1 = Alt_L
> add mod2 = Mode_switch
> add mod3 = Num_Lock
> !add mod4 = Alt_R
> add mod5 = Scroll_Lock
>
>