Skip to content

Instantly share code, notes, and snippets.

@javiercantero
Created December 2, 2013 17:39
Show Gist options
  • Save javiercantero/7753292 to your computer and use it in GitHub Desktop.
Save javiercantero/7753292 to your computer and use it in GitHub Desktop.
Tracing X input events to try to debug keyboard problems with FreeOrion, from within OpenBox (no DE, pure X). The sequence of pulsations for the first input text box was "abcdefghijklmnopqrstuvwxyz", and for the second "1234567890". The first input text box shows the entire "abcdefghijklmnopqrstuvwxyz" sequence and the second also shows the enti…
... (more stuff) ...
004:>:0015: Event ButtonPress(4) button=left button(0x01) time=0x00e68faa root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=179 root-y=653 event-x=178 event-y=635 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonRelease(5) button=left button(0x01) time=0x00e69022 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=179 root-y=653 event-x=178 event-y=635 state=Button1 same-screen=true(0x01)
003:>:0007: Event KeyPress(2) keycode=0x26 time=0x00e69625 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:<:0008: 28: XKEYBOARD-Request(135,8): GetMap opcode=0x87 opcode2=0x08 unparsed_data=...;
003:>:0008:5068: Reply to GetMap: data1=0x01 data2=0x03 unparsed_data=...;
003:<:0009: 20: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed_data=...;
003:<:000a: 16: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed_data=...;
003:>:000a: Event KeyRelease(3) keycode=0x26 time=0x00e696c4 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x38 time=0x00e698b6 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x38 time=0x00e69917 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x36 time=0x00e69c21 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x36 time=0x00e69c82 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x28 time=0x00e69dd7 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x28 time=0x00e69e76 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1a time=0x00e69fcc root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1a time=0x00e6a04c root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x29 time=0x00e6a25d root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x29 time=0x00e6a2fc root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x2a time=0x00e6a413 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x2a time=0x00e6a4b2 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x2b time=0x00e6a5ca root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x2b time=0x00e6a669 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1f time=0x00e6a7fd root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1f time=0x00e6a85e root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x2c time=0x00e6a9d3 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x2c time=0x00e6aa34 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x2d time=0x00e6ac25 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x2d time=0x00e6aca5 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x2e time=0x00e6ae1a root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x2e time=0x00e6ae7b root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x3a time=0x00e6b3f4 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x3a time=0x00e6b474 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x39 time=0x00e6b52e root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x39 time=0x00e6b570 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x20 time=0x00e6b704 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x20 time=0x00e6b765 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x21 time=0x00e6b89b root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x21 time=0x00e6b8fc root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x18 time=0x00e6bce0 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x18 time=0x00e6bd60 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1b time=0x00e6bf14 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1b time=0x00e6bf93 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x27 time=0x00e6c185 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x27 time=0x00e6c1e6 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1c time=0x00e6c3d7 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1c time=0x00e6c457 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1e time=0x00e6c9f0 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1e time=0x00e6ca51 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x37 time=0x00e6cbc6 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x37 time=0x00e6cc2d root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x19 time=0x00e6d149 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x19 time=0x00e6d1c9 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x35 time=0x00e6d37c root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x35 time=0x00e6d3fc root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x1d time=0x00e6d533 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x1d time=0x00e6d594 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x34 time=0x00e6da33 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x34 time=0x00e6dad2 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=716 root-y=465 event-x=715 event-y=447 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonPress(4) button=left button(0x01) time=0x00e6e2aa root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1079 root-y=516 event-x=1078 event-y=498 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonRelease(5) button=left button(0x01) time=0x00e6e31a root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1079 root-y=516 event-x=1078 event-y=498 state=Button1 same-screen=true(0x01)
004:>:0015: Event ButtonPress(4) button=left button(0x01) time=0x00e6e8d2 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1819 root-y=45 event-x=1818 event-y=27 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonRelease(5) button=left button(0x01) time=0x00e6e92a root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1819 root-y=45 event-x=1818 event-y=27 state=Button1 same-screen=true(0x01)
004:>:0015: Event ButtonPress(4) button=left button(0x01) time=0x00e6ee6a root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=572 root-y=331 event-x=571 event-y=313 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonRelease(5) button=left button(0x01) time=0x00e6eeba root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=572 root-y=331 event-x=571 event-y=313 state=Button1 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0a time=0x00e6f349 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0a time=0x00e6f3c9 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0b time=0x00e6f4a3 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0b time=0x00e6f541 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0c time=0x00e6f61b root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0c time=0x00e6f69b root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0d time=0x00e6f755 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0d time=0x00e6f7d5 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0e time=0x00e6f8ae root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0e time=0x00e6f94d root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x0f time=0x00e6fa26 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x0f time=0x00e6faa6 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x10 time=0x00e6fd91 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x10 time=0x00e6fdd3 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x11 time=0x00e6fecb root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x11 time=0x00e6ff2c root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x12 time=0x00e70043 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x12 time=0x00e700a4 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyPress(2) keycode=0x13 time=0x00e703ec root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
003:>:000a: Event KeyRelease(3) keycode=0x13 time=0x00e7042e root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=574 root-y=330 event-x=573 event-y=312 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonPress(4) button=left button(0x01) time=0x00e70a8a root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1906 root-y=39 event-x=1905 event-y=21 state=0 same-screen=true(0x01)
004:>:0015: Event ButtonRelease(5) button=left button(0x01) time=0x00e70b02 root=0x0000028e event=0x01800002 child=None(0x00000000) root-x=1906 root-y=39 event-x=1905 event-y=21 state=Button1 same-screen=true(0x01)
... (more stuff) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment