たかはし です。 リプライの仕方がわからなくて、スレッドがぐちゃぐちゃになってしまいました。 すみません。 $ xevの結果ですが [takahashi@localhost ~]$ xev Outer window is 0x4000001, inner window is 0x4000002 PropertyNotify event, serial 8, synthetic NO, window 0x4000001, atom 0x27 (WM_NAME), time 67417409, state PropertyNewValue PropertyNotify event, serial 9, synthetic NO, window 0x4000001, atom 0x22 (WM_COMMAND), time 67417409, state PropertyNewValue PropertyNotify event, serial 10, synthetic NO, window 0x4000001, atom 0x28 (WM_NORMAL_HINTS), time 67417409, state PropertyNewValue CreateNotify event, serial 11, synthetic NO, window 0x4000001, parent 0x4000001, window 0x4000002, (10,10), width 50, height 50 border_width 4, override NO PropertyNotify event, serial 14, synthetic NO, window 0x4000001, atom 0x156 (WM_PROTOCOLS), time 67417409, state PropertyNewValue MapNotify event, serial 15, synthetic NO, window 0x4000001, event 0x4000001, window 0x4000002, override NO ConfigureNotify event, serial 23, synthetic NO, window 0x4000001, event 0x4000001, window 0x4000001, (0,0), width 178, height 178, border_width 0, above 0x1600129, override NO PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x1b8 (_NET_WM_ALLOWED_ACTIONS), time 67417411, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x1b8 (_NET_WM_ALLOWED_ACTIONS), time 67417411, state PropertyNewValue ReparentNotify event, serial 23, synthetic NO, window 0x4000001, event 0x4000001, window 0x4000001, parent 0x12acc9a, (0,0), override NO PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x15e (_NET_WM_DESKTOP), time 67417411, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x15e (_NET_WM_DESKTOP), time 67417411, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x15b (_NET_FRAME_EXTENTS), time 67417412, state PropertyNewValue ConfigureNotify event, serial 23, synthetic NO, window 0x4000001, event 0x4000001, window 0x4000001, (4,25), width 178, height 178, border_width 0, above 0x0, override NO PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x147 (WM_STATE), time 67417412, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x164 (_NET_WM_STATE), time 67417412, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x148 (XKLAVIER_STATE), time 67417414, state PropertyNewValue ConfigureNotify event, serial 23, synthetic YES, window 0x4000001, event 0x4000001, window 0x4000001, (2,75), width 178, height 178, border_width 2, above 0x0, override NO MapNotify event, serial 23, synthetic NO, window 0x4000001, event 0x4000001, window 0x4000001, override NO VisibilityNotify event, serial 23, synthetic NO, window 0x4000001, state VisibilityUnobscured Expose event, serial 23, synthetic NO, window 0x4000001, (0,0), width 178, height 10, count 3 Expose event, serial 23, synthetic NO, window 0x4000001, (0,10), width 10, height 58, count 2 Expose event, serial 23, synthetic NO, window 0x4000001, (68,10), width 110, height 58, count 1 Expose event, serial 23, synthetic NO, window 0x4000001, (0,68), width 178, height 110, count 0 PropertyNotify event, serial 23, synthetic NO, window 0x4000001, atom 0x164 (_NET_WM_STATE), time 67417419, state PropertyNewValue FocusIn event, serial 23, synthetic NO, window 0x4000001, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 23, synthetic NO, window 0x0, keys: 4294967169 0 0 0 16 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 23, synthetic NO, window 0x4000001, atom 0x164 (_NET_WM_STATE), time 67417419, state PropertyNewValue PropertyNotify event, serial 29, synthetic NO, window 0x4000001, atom 0x1af (_NET_WM_ICON_GEOMETRY), time 67417460, state PropertyNewValue KeyRelease event, serial 30, synthetic NO, window 0x4000001, root 0xad, subw 0x0, time 67417479, (1221,246), root:(1225,323), state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES, " XLookupString gives 1 bytes: (0d) " XFilterEvent returns: False FocusOut event, serial 33, synthetic NO, window 0x4000001, mode NotifyNormal, detail NotifyNonlinear そしてsキーを打つと KeyPress event, serial 33, synthetic NO, window 0x4000001, root 0xad, subw 0x0, time 67888652, (165,-13), root:(169,64), state 0x0, keycode 39 (keysym 0x73, s), same_screen YES, XLookupString gives 1 bytes: (73) "s" XmbLookupString gives 1 bytes: (73) "s" XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x4000001, root 0xad, subw 0x0, time 67888852, (165,-13), root:(169,64), state 0x0, keycode 39 (keysym 0x73, s), same_screen YES, XLookupString gives 1 bytes: (73) "s" XFilterEvent returns: False dキーを打ってみました KeyPress event, serial 33, synthetic NO, window 0x4000001, root 0xad, subw 0x0, time 68034248, (161,-16), root:(165,61), state 0x0, keycode 40 (keysym 0x64, d), same_screen YES, XLookupString gives 1 bytes: (64) "d" XmbLookupString gives 1 bytes: (64) "d" XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x4000001, root 0xad, subw 0x0, time 68034496, (161,-16), root:(165,61), state 0x0, keycode 40 (keysym 0x64, d), same_screen YES, XLookupString gives 1 bytes: (64) "d" XFilterEvent returns: False ClientMessage event, serial 33, synthetic YES, window 0x4000001, message_type 0x156 (WM_PROTOCOLS), format 32, message 0x154 (WM_DELETE_WINDOW) マウスを動かすと中身が変わるので、これでうまく報告になっているかわかりませんが。 おもしろいことに、EventTesterウインドウのフォーカスを外すと端末でdが入力されるんです。 > 加藤(大阪)です。 > > ちょっと経験したことのない現象なんで、詳しいことは全くわかりませんが、と > りあえず"d"を押した時 OS側が何を受け取っているかを(どんなイベントとして > 認識しているかを)調べるという意味で、 > > $ xev > > を実行し、"d"、"D" や他のキーを押して比較してみてはどうでしょうか? > > xev の出力は他のキーやマウスを操作した時に表示されるものを見ればある程度 > 意味が解ると思いますが、"d"を押した時それらと違ってれば何かわかるかも知 > れません。 > > -- > m_kato <mkato@xxxxxxxxxxxxx> > http://www2.odn.ne.jp/add10/ > _______________________________________________ > vine-users mailing list > vine-users@xxxxxxxxxxxxxxxxxxxx > http://listserv.linux.or.jp/mailman/listinfo/vine-users > -- 高橋英雄 <takahashi@xxxxxxxxxxx> _______________________________________________ vine-users mailing list vine-users@xxxxxxxxxxxxxxxxxxxx http://listserv.linux.or.jp/mailman/listinfo/vine-users