A Chinese IME that works by exploiting Google Translate using Electron. This application aims to solve my friend's Chinese input problem when using Linux desktop. Therefore, this application is for Linux desktops only.
MacOS-style laptop touchpad input support is recently added.
xdotool
, python3
, gconf
and latest node
and yarn
installed.
evtest
and xorg-xinput
are also required.$ git clone https://github.com/Saren-Arterius/google-chinese-handwriting-ime.git && cd google-chinese-handwriting-ime
$ yarn
# pip3 install pyperclip
or equivalent package from your distro.# usermod -a -G input $(whoami)
config.js
with your text editor$ evtest
, select your touchpad. Now touch your touchpad and move your finger to right bottom, observe the maximum ABS_X
and ABS_Y
value between the flashing messages.
touchpad_support.touchpad_coords.max.x
and touchpad_support.touchpad_coords.max.y
to the values you observed.ABS_X
and ABS_Y
and apply to touchpad_support.touchpad_coords.min.x
touchpad_support.touchpad_coords.min.y
for the left top corner.$ xinput list
and $ evtest
to find corresponding device IDs for your touchpad. Optionally you may add a new entry into device_blacklist
to avoid interference.$ cd google-chinese-handwriting-ime
$ yarn start
xdotool type
reliability and performance
use_clipboard
could work better for GNOME and more reliable, but it may not work on some applications
This application is licensed under Creative Commons Zero v1.0 Universal which is basically a "do whatever you want" license. Google Translate itself is covered by Google Terms of Service and Provacy Policies.