Skip to content

Instantly share code, notes, and snippets.

@fluxspir
Created February 11, 2016 00:43
Show Gist options
  • Save fluxspir/5f18170ad4f4e976e22c to your computer and use it in GitHub Desktop.
Save fluxspir/5f18170ad4f4e976e22c to your computer and use it in GitHub Desktop.
le barcode est :
7894650003787
il manque juste le 7 à la fin dans ce que je scanne.
Observe le xev
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XmbLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 17 (keysym 0x38, 8), same_screen YES,
XLookupString gives 1 bytes: (38) "8"
XmbLookupString gives 1 bytes: (38) "8"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 18 (keysym 0x39, 9), same_screen YES,
XLookupString gives 1 bytes: (39) "9"
XmbLookupString gives 1 bytes: (39) "9"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 13 (keysym 0x34, 4), same_screen YES,
XLookupString gives 1 bytes: (34) "4"
XmbLookupString gives 1 bytes: (34) "4"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 15 (keysym 0x36, 6), same_screen YES,
XLookupString gives 1 bytes: (36) "6"
XmbLookupString gives 1 bytes: (36) "6"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769946, (288,400), root:(543,484),
state 0x0, keycode 14 (keysym 0x35, 5), same_screen YES,
XLookupString gives 1 bytes: (35) "5"
XmbLookupString gives 1 bytes: (35) "5"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 17 (keysym 0x38, 8), same_screen YES,
XLookupString gives 1 bytes: (38) "8"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 18 (keysym 0x39, 9), same_screen YES,
XLookupString gives 1 bytes: (39) "9"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 13 (keysym 0x34, 4), same_screen YES,
XLookupString gives 1 bytes: (34) "4"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 15 (keysym 0x36, 6), same_screen YES,
XLookupString gives 1 bytes: (36) "6"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769954, (288,400), root:(543,484),
state 0x0, keycode 14 (keysym 0x35, 5), same_screen YES,
XLookupString gives 1 bytes: (35) "5"
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769962, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XmbLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769970, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769978, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XmbLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769986, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769994, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XmbLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769994, (288,400), root:(543,484),
state 0x0, keycode 12 (keysym 0x33, 3), same_screen YES,
XLookupString gives 1 bytes: (33) "3"
XmbLookupString gives 1 bytes: (33) "3"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769994, (288,400), root:(543,484),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XmbLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769994, (288,400), root:(543,484),
state 0x0, keycode 17 (keysym 0x38, 8), same_screen YES,
XLookupString gives 1 bytes: (38) "8"
XmbLookupString gives 1 bytes: (38) "8"
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667769994, (288,400), root:(543,484),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667770002, (288,400), root:(543,484),
state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
XLookupString gives 1 bytes: (30) "0"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667770002, (288,400), root:(543,484),
state 0x0, keycode 12 (keysym 0x33, 3), same_screen YES,
XLookupString gives 1 bytes: (33) "3"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667770002, (288,400), root:(543,484),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667770002, (288,400), root:(543,484),
state 0x0, keycode 17 (keysym 0x38, 8), same_screen YES,
XLookupString gives 1 bytes: (38) "8"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0xc4, subw 0x0, time 667770002, (288,400), root:(543,484),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment