This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AltGr is CTRL on Norwegian/German keyboard


Another interesting detail: inside the KDM login (I access a Linux server 
using XDMP) the problematic key works fine. So where is the difference here?

On Montag, 22. September 2003 16:34, Heiko Nardmann wrote:
> On Dienstag, 16. September 2003 21:23, Steinar Bang wrote:
> > >>>>> Harold L Hunt II <huntharo@msu.edu>:
> > >
> > > You don't have any of the Windows PowerToys installed, do you?
> >
> > Not intentially.
> >
> > Can they be installed during a service pack upgrade?  Can they be
> > remotely installed by "helpful" IT support people?  Is there a way to
> > find out if I have them installed?
> >
> > And do PowerToys exist for Win2k? (a search for powertoy on
> > www.google.com just popped up "Powertoys for XP)
>
> I have the same problems here with a German keyboard. The pressing of the
> key with (less,greater,bar) does not result in any character.
>
> This worked until I decided to upgrade from Windows NT to Windows XP.
>
> What else beside the data given below can I easily do to help debugging
> this problem?
>
> Here is what xev prints:
>
> KeyPress event, serial 27, synthetic NO, window 0x3800001,
>     root 0x3a, subw 0x0, time 3822466, (194,186), root:(198,233),
>     state 0x0, keycode 94 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> KeyRelease event, serial 27, synthetic NO, window 0x3800001,
>     root 0x3a, subw 0x0, time 3822566, (194,186), root:(198,233),
>     state 0x0, keycode 94 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> Now the output of Spy++:
>
> Two times pressing AltGr:
>
> <00001> 0012019C P WM_KEYDOWN nVirtKey:VK_CONTROL cRepeat:1 ScanCode:1D
> fExtended:0 fAltDown:0 fRepeat:0 fUp:0
> <00002> 0012019C P WM_KEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:1 fAltDown:1 fRepeat:0 fUp:0
> <00003> 0012019C P WM_SYSKEYUP nVirtKey:VK_CONTROL cRepeat:1 ScanCode:1D
> fExtended:0 fAltDown:1 fRepeat:1 fUp:1
> <00004> 0012019C P WM_KEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:1 fAltDown:0 fRepeat:1 fUp:1
>
> <00005> 0012019C P WM_KEYDOWN nVirtKey:VK_CONTROL cRepeat:1 ScanCode:1D
> fExtended:0 fAltDown:0 fRepeat:0 fUp:0
> <00006> 0012019C P WM_KEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:1 fAltDown:1 fRepeat:0 fUp:0
> <00007> 0012019C P WM_SYSKEYUP nVirtKey:VK_CONTROL cRepeat:1 ScanCode:1D
> fExtended:0 fAltDown:1 fRepeat:1 fUp:1
> <00008> 0012019C P WM_KEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:1 fAltDown:0 fRepeat:1 fUp:1
>
> Two times pressing key (less,greater,bar) next to left Shift bar:
>
> <00009> 0012019C P WM_KEYDOWN nVirtKey:VK_OEM_102 cRepeat:1 ScanCode:56
> fExtended:0 fAltDown:0 fRepeat:0 fUp:0
> <00010> 0012019C P WM_KEYUP nVirtKey:VK_OEM_102 cRepeat:1 ScanCode:56
> fExtended:0 fAltDown:0 fRepeat:1 fUp:1
>
> <00011> 0012019C P WM_KEYDOWN nVirtKey:VK_OEM_102 cRepeat:1 ScanCode:56
> fExtended:0 fAltDown:0 fRepeat:0 fUp:0
> <00012> 0012019C P WM_KEYUP nVirtKey:VK_OEM_102 cRepeat:1 ScanCode:56
> fExtended:0 fAltDown:0 fRepeat:1 fUp:1
>
> Switching back from Cygwin to Windows using Alt-Tab:
>
> <00013> 0012019C P WM_SYSKEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:0 fAltDown:1 fRepeat:0 fUp:0
> <00014> 0012019C P WM_SYSKEYUP nVirtKey:VK_TAB cRepeat:1 ScanCode:0F
> fExtended:0 fAltDown:1 fRepeat:0 fUp:1
> <00015> 0012019C P WM_SYSKEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:38
> fExtended:0 fAltDown:0 fRepeat:1 fUp:1
>
>
>
> Here is my /etc/XF86Config:
>
>
>
>
> ########################################
>
> Section "Files"
>     RgbPath	"/usr/X11R6/lib/X11/rgb"
>
>     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
> EndSection
>
> Section "InputDevice"
>     Identifier	"Keyboard1"
>     Driver	"Keyboard"
>     Option "AutoRepeat" "500 30"
>     Option "XkbRules"	"xfree86"
>     Option "XkbModel"	"pc105"
>     Option "XkbLayout"	"de"
>     Option "XkbVariant"  "nodeadkeys"
> EndSection
>
> Section "Device"
>     Identifier  "dummy"
>     Driver      "dummy"
> EndSection
>
> Section "Monitor"
>     Identifier  "dummy"
> EndSection
>
> Section "Screen"
>     Identifier  "dummy"
>     Device      "dummy"
>     Monitor     "dummy"
> EndSection
>
> Section "ServerLayout"
>     Identifier      "dummy"
>     Screen          "dummy"
>     InputDevice     "Keyboard1" "CoreKeyboard"
> EndSection
>
> ########################################

-- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]