Ricardo G. Herdt wrote:
Hi James!

'xmodmap -pme' will list the modifier keys and the associated keysym
names. With 'xev' you can get more info about each key as you press
it, like keycode, keysym etc. Alt is Mod1, you have to check there how
the Command key is called.

Cool, thanks. I had an initial crack at it (the netbook example in my email before).

remove control = Control_L Control_R
remove mod1 = Alt_L Alt_R Meta_L
remove mod4 = Super_L
keysym Control_L = Super_L
keysym Control_R = Menu
keysym Super_L = Alt_L
keysym Menu = Alt_R
keysym Alt_L = Control_L
keysym Alt_R = Control_R
add mod1 = Alt_L Alt_R Meta_L
add control = Control_L Control_R
add mod4 = Super_L
!! how would I 'add' Menu? I guess Super is a modifier key but Menu isn't... hmm...

Is this right? It's quite likely I misunderstood.

Thanks again!
James

--
James Harkins /// dewdrop world
[email protected]
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

Outer window is 0x2800001, inner window is 0x2800002

PropertyNotify event, serial 8, synthetic NO, window 0x2800001,
    atom 0x27 (WM_NAME), time 13742604, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2800001,
    atom 0x22 (WM_COMMAND), time 13742604, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2800001,
    atom 0x28 (WM_NORMAL_HINTS), time 13742604, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2800001,
    parent 0x2800001, window 0x2800002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x2800001,
    atom 0x121 (WM_PROTOCOLS), time 13742604, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x2800001,
    event 0x2800001, window 0x2800002, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x12f (_NET_WM_STATE), time 13742608, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x191 (_WIN_STATE), time 13742608, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x193 (_WIN_WORKSPACE), time 13742608, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x129 (_NET_WM_DESKTOP), time 13742608, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic NO, window 0x2800001,
    event 0x2800001, window 0x2800001, (0,0), width 178, height 178,
    border_width 0, above 0x180002d, override NO

ReparentNotify event, serial 18, synthetic NO, window 0x2800001,
    event 0x2800001, window 0x2800001, parent 0x1216a59,
    (4,22), override NO

ConfigureNotify event, serial 18, synthetic NO, window 0x2800001,
    event 0x2800001, window 0x2800001, (4,22), width 178, height 178,
    border_width 0, above 0x1216a68, override NO

ConfigureNotify event, serial 18, synthetic YES, window 0x2800001,
    event 0x2800001, window 0x2800001, (423,206), width 178, height 178,
    border_width 0, above 0x1216a59, override NO

MapNotify event, serial 18, synthetic NO, window 0x2800001,
    event 0x2800001, window 0x2800001, override NO

VisibilityNotify event, serial 18, synthetic NO, window 0x2800001,
    state VisibilityUnobscured

Expose event, serial 18, synthetic NO, window 0x2800001,
    (0,0), width 178, height 10, count 3

Expose event, serial 18, synthetic NO, window 0x2800001,
    (0,10), width 10, height 58, count 2

Expose event, serial 18, synthetic NO, window 0x2800001,
    (68,10), width 110, height 58, count 1

Expose event, serial 18, synthetic NO, window 0x2800001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x143 (WM_STATE), time 13742621, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x17c (_NET_WM_ALLOWED_ACTIONS), time 13742622, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x12f (_NET_WM_STATE), time 13742622, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x191 (_WIN_STATE), time 13742622, state PropertyNewValue

FocusIn event, serial 18, synthetic NO, window 0x2800001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys:  4294967235 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   

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x126 (_NET_FRAME_EXTENTS), time 13742622, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x12f (_NET_WM_STATE), time 13742622, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x191 (_WIN_STATE), time 13742622, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x12f (_NET_WM_STATE), time 13742627, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x2800001,
    atom 0x191 (_WIN_STATE), time 13742628, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x2800001,
    atom 0x17f (_NET_WM_ICON_GEOMETRY), time 13742682, state PropertyNewValue

KeyPress event, serial 31, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13748215, (346,6), root:(769,212),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13748321, (346,6), root:(769,212),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13749367, (346,6), root:(769,212),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13749482, (346,6), root:(769,212),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13750423, (346,6), root:(769,212),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13750524, (346,6), root:(769,212),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13751449, (346,6), root:(769,212),
    state 0x0, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13751540, (346,6), root:(769,212),
    state 0x8, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13752440, (346,6), root:(769,212),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13752531, (346,6), root:(769,212),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13753481, (346,6), root:(769,212),
    state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13753582, (346,6), root:(769,212),
    state 0x4, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2800001,
    root 0xf9, subw 0x0, time 13757093, (346,6), root:(769,212),
    state 0x0, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

ClientMessage event, serial 34, synthetic YES, window 0x2800001,
    message_type 0x121 (WM_PROTOCOLS), format 32, message 0x11f 
(WM_DELETE_WINDOW)
xmodmap:  up to 4 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 (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c),  Mode_switch (0xcb)


---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne

Reply via email to