Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hosed keymappings



I am doing something (not sure yet what) that is hosing my keymappings.  After whatever it is, my keyboard loses its shift, meta keys, etc.  I cannot type capital letters, ampersands, control characters, etc.  In particular, for example, shift-7 just prints a "7" instead of an "&". 

So I looked at xmodmap, with -pke, and it says that keycode 64 = Shift_L, which seems reasonable.  xev seems to confirm that it knows a shift key is being pressed: 

KeyPress event, serial 24, synthetic NO, window 0x1200001,
    root 0x57, subw 0x0, time 421682279, (14,-9), root:(1328,637),
    state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0x1200001,
    root 0x57, subw 0x0, time 421682865, (14,-9), root:(1328,637),
    state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:

So what is wrong here?  
How do I restore my settings?  If I quit X11 and restart, that works, but obviously that is not acceptable.  I had a vague plan to somehow maybe use xmodmap to save my current keymappings, then reload them when they go awry, but I don't really see anything wrong to restore.  Is that possible?  How would I do that?
Thanks.

-- 

Richard Cook   

Lawrence Livermore National Laboratory

Bldg-453 Rm-4037, Mail Stop L-557        

7000 East Avenue,  Livermore, CA, 94550, USA

(925) 423-9605    

(925) 423-6961

---

Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.

(opinions expressed herein are mine and not those of LLNL)



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.