i have developed chinese input program, , using tkinter , pyxhook. (i won't make ibus extension it's painful , start)
for text input part, have been struggling because can't find decent way input character python program can call xdotool type {char} time.
calling xdotool's performance barely acceptable, lose characters (5% chance have re-type character).
since firefox-developer's update, python program eats characters time (95%) when typing on firefox. whenever have type in chinese, can type on text editor , copy-paste firefox.
ok, question is, there anyway python program type chinese in x window decently, rather calling xdotool time? (perhaps xlib?)
how pass characters? how input encoded? xdotool accepts inputs 𣑸(u+23478) in following format:
xdotool key u23478 i surprised if xdotool "loose" input. expect strange behaviour on xdotool key 𣑸 though.
Comments
Post a Comment