Key の名前を調べる

terminal で xev を実行してから,key を押す.つぎのようなメッセージが得られる.

KeyPress event, serial 36, synthetic NO, window 0x2a00001,
    root 0x104, subw 0x0, time 6123831, (-93,343), root:(703,381),
    state 0x0, keycode 100 (keysym 0xff23, Henkan_Mode), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

ちなみに,これは変換キー(スペースの右にあるやつ)を押したとき.