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

Re: slash (/) key dead, regardless of keyboard layout, missing XmbLookupString line on xev



[solved]

I've fixed this problem--the answer may still be of interest to the community:

Apparently in KDE, a keyboard shortcut, affects key events CROSS-keyboard-
layouts.

There was a global shortcut configured for the '=' and for '-' which are the 
corresponding keys on my German keyboard layout
for the keys that were missing (/) and (')') on my US-Alt.-International 
layout.

Also then, it was not the blundered keystrokes I'd made in the root terminal 
either :-}

Nice regards-



-

"Nichts ist so wie es scheint."

On Thursday 19 September 2013 17:43:51 gw [j] iza [b] superstar wrote:
> Here is the output from xev if this helps anyone have any ideas
> 
> I don't beleive I had any keyboard shortcuts installed on that slash key
> either, but I noticed I'm missing the right parenth. also so I'm taking a
> look now for possible conflicts
> 
> I also corrected that, now the slash is working on the German layout. 
> Here's xev and my original question is below
> 
> Thanks for any help!
> 
> -
> 
> 
> me@mydomain:~$ xev
> ...
> # Here I press what should be the [back]slash key
> 
> FocusOut event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyGrab, detail NotifyAncestor
> 
> FocusIn event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyUngrab, detail NotifyAncestor
> 
> KeymapNotify event, serial 41, synthetic NO, window 0x0,
>     keys:  1   0   0   0   0   0   0   32  0   0   0   0   0   0   0   0
>            0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10281892, (1162,15), root:(1164,38),
>     state 0x2000, keycode 61 (keysym 0x2f, slash), same_screen YES,
>     XKeysymToKeycode returns keycode: 16
>     XLookupString gives 1 bytes: (2f) "/"
>     XFilterEvent returns: False
> 
> KeyPress event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10283430, (1162,15), root:(1164,38),
>     state 0x2000, keycode 36 (keysym 0xff0d, Return), same_screen YES,
> "   XLookupString gives 1 bytes: (0d) "
> "   XmbLookupString gives 1 bytes: (0d) "
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10283554, (1162,15), root:(1164,38),
>     state 0x2000, keycode 36 (keysym 0xff0d, Return), same_screen YES,
> "   XLookupString gives 1 bytes: (0d) "
>     XFilterEvent returns: False
> 
>     #Now, as a reference, I press the [Enter] Key
> 
> FocusOut event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyGrab, detail NotifyAncestor
> 
> FocusIn event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyUngrab, detail NotifyAncestor
> 
> KeymapNotify event, serial 41, synthetic NO, window 0x0,
>     keys:  2   0   0   0   32  32  0   0   1   0   0   0   0   0   0   0
>            0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10289954, (1162,15), root:(1164,38),
>     state 0xc, keycode 45 (keysym 0x6b, k), same_screen YES,
>     XLookupString gives 1 bytes: (0b) "
>                                        "
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10290057, (1162,15), root:(1164,38),
>     state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10290066, (1162,15), root:(1164,38),
>     state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XFilterEvent returns: False
> 
> KeyPress event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10291398, (1162,15), root:(1164,38),
>     state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
> 
> # Here I press the same key on the German layout (it should be a minus
> sign?
> 
> FocusOut event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyGrab, detail NotifyAncestor
> 
> FocusIn event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyUngrab, detail NotifyAncestor
> 
> KeymapNotify event, serial 41, synthetic NO, window 0x0,
>     keys:  2   0   0   0   32  32  0   0   1   0   0   0   0   0   0   0
>            0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10296145, (1162,15), root:(1164,38),
>     state 0x200c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XFilterEvent returns: False
> 
>     #Here I press the [shift]+7 which should be a slash on the German
> keyboard
> 
> FocusOut event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyGrab, detail NotifyAncestor
> 
> FocusIn event, serial 41, synthetic NO, window 0x5200001,
>     mode NotifyUngrab, detail NotifyAncestor
> 
> KeymapNotify event, serial 41, synthetic NO, window 0x0,
>     keys:  2   0   0   0   0   0   0   32  0   0   0   0   0   0   0   0
>            0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10298031, (1162,15), root:(1164,38),
>     state 0x2000, keycode 61 (keysym 0x2f, slash), same_screen YES,
>     XKeysymToKeycode returns keycode: 16
>     XLookupString gives 1 bytes: (2f) "/"
>     XFilterEvent returns: False
> 
> KeyPress event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10298460, (1162,15), root:(1164,38),
>     state 0x2000, keycode 36 (keysym 0xff0d, Return), same_screen YES,
> "   XLookupString gives 1 bytes: (0d) "
> "   XmbLookupString gives 1 bytes: (0d) "
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 41, synthetic NO, window 0x5200001,
>     root 0xb7, subw 0x0, time 10298563, (1162,15), root:(1164,38),
>     state 0x2000, keycode 36 (keysym 0xff0d, Return), same_screen YES,
> "   XLookupString gives 1 bytes: (0d) "
>     XFilterEvent returns: False
> 
> 
> 
> ClientMessage event, serial 41, synthetic YES, window 0x5200001,
>     message_type 0x113 (WM_PROTOCOLS), format 32, message 0x114
> (WM_DELETE_WINDOW)
> 
> 
> -
> 
> [Question from earlier this week]
> 
> > I was working in the console on tty1,
> > I might have not even been root, so let's assume a user could also cause
> > this problem
> > 
> > I was trying to simply type ~"cd /" to auickly access the root folder,
> > and I either mis-keyed and executed " cd {something else}" perhaps
> > including a space, period (.), minus (-) or (_) ampersand (&) or any
> > other random typo.
> > 
> > ...result of {whatever i typed} was a successful command; I landed at a
> > new ~ prompt... and from them on the / key was completey unmapped in the
> > tty and also in X11 (kde of course!)
> > 
> > What is really crazy is that I use German and US-alt/intl. layouts, and
> > it now gives no ouput in either one. (The slash is in completely
> > different places in each layout).
> > 
> > I pressed the up-arrow to see what I had done, and it said " cd &", I
> > think--It's my mistake that I should have made a better note at that
> > point.
> > 
> > When I do ~xev,
> > the slash key outputs to xev, like it should, but it is missing the line
> > "...XmbLookupString  ..."
> > so in other words, output=1 on the other two responses, but then the
> > XmbLookupString line is completely missing.
> > 
> > Also Nothing strange is in '/etc/default/keyboard' as far as I know
> > 
> > I'd appreciate any help:
> > 
> > Thanks jb


Reply to: