|
Keyboard hooking in X server
Hello everyone,
I'm about to develop a small utility to capture keyboard input in X server (system-wide). I'm new to Linux programming, is there any tutorial on how to write a hook into keyboard input on Linux?
Thanks in advance.
PS: It's not a malicious keylogger. It serves as a Input Method for Vietnamese.
__________________
Linux User number : 451678
Desktop:
AMD X2 3800+, ASUS M2NPV-VM, GeForce 6150 128MB (onboard), 2GB RAM Corsairs 667, ASUS VW192T LCD 19" Widescreen.
Ubuntu 8.04 (Hardy Heron) x86
------------------------
Laptop:
HP Pavilion DV 5000
Fedora 10 (Cambridge) x86
Linux Machine Number: 359564
|