Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
My shift key does not work. Stopped working last night. If you're wondering how I got the caps in here I have to hit the capslock button every time. However, ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10

    Shift key

    My shift key does not work. Stopped working last night. If you're wondering how I got the caps in here I have to hit the capslock button every time. However, I cannot use anything that pertains to the shift key, it started last night. every time i hit the shift key the cursor disappears and no characters appear when i hit the keyboard.....any help would be greatly appreciated......

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Which distro do you use, are you using standard kbd or have you accidently remapped some of them with an alternate keyboard configuration? What desktop system are you using? Fluxbox, for example, allows you to map keys in the "key" file at the base of your .fluxbox directory. Have you tried "xev" and tested what the machine sees when you tap shift_l or shift_r?

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    i tried the xev and this is what i got.....not sure what it means......i'm new to linux, i have ubuntu........

    FocusOut event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyGrab, detail NotifyAncestor

    FocusIn event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyUngrab, detail NotifyAncestor

    KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys: 4294967205 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

  4. #4
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    FocusOut event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyUngrab, detail NotifyAncestor
    That's you moving your mouse
    KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys: 4294967205 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    That's you mashing the shift key.
    KeymapNotify event,
    See I get "key press" and "key release" events, KeyMapNotify, that suggests xmodmap is involved (the shift key has been remapped).Take a look at the man page for xmodmap. In slackware I could
    Code:
    xmodmap -clear shift
    and reset the modifiers on shift but I'm not sure about what distro you are running so I can't confirm that's how you would do it.

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    here's what i get when i type xmodmap

    -laptop:~$ xmodmap
    xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

    shift Shift_L (0x32), Shift_R (0x3e)
    lock Caps_Lock (0x42)
    control Control_L (0x25), Control_R (0x69)
    mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
    mod2 Num_Lock (0x4d)
    mod3
    mod4 Super_L (0xce), Hyper_L (0xcf)
    mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)


    and again with the xev

    FocusOut event, serial 34, synthetic NO, window 0x4400001,
    mode NotifyGrab, detail NotifyAncestor

    FocusIn event, serial 34, synthetic NO, window 0x4400001,
    mode NotifyUngrab, detail NotifyAncestor

    KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys: 4294967206 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    the zeros don't come from my mouse as far as i can tell......

    when i move my mouse i get this

    ConfigureNotify event, serial 34, synthetic YES, window 0x4400001,
    event 0x4400001, window 0x4400001, (233,49), width 178, height 178,
    border_width 2, above 0x1242c93, override NO

    ClientMessage event, serial 34, synthetic YES, window 0x4400001,
    message_type 0x10f (WM_PROTOCOLS), format 32, message 0x10d (WM_DELETE_WINDOW)

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    ~$ xmodmap -clear shift
    xmodmap: commandline:1: bad keysym name 'shift' in keysym list
    xmodmap: commandline:1: bad remove modifier keysym list (empty)
    xmodmap: 2 errors encountered, aborting.

  7. #7
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    .Take a look at the man page for xmodmap.
    The 's' in Shift is capitolized.

  8. #8
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    ~$ xmodmap
    xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

    shift Shift_L (0x32), Shift_R (0x3e)
    lock Caps_Lock (0x42)
    control Control_L (0x25), Control_R (0x69)
    mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
    mod2 Num_Lock (0x4d)
    mod3
    mod4 Super_L (0xce), Hyper_L (0xcf)
    mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)

  9. #9
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    ~$ xmodmap -clear Shift
    xmodmap: commandline:1: bad keysym name 'Shift' in keysym list
    xmodmap: commandline:1: bad remove modifier keysym list (empty)
    xmodmap: 2 errors encountered, aborting.

  10. #10
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    i am truely very confused here

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...