1. In GoldenDict set the hotkey of pop-up translation to Ctrl + Z (it wll only translate copied to the buffer text)
2. Install AutoKey-Gtk, for example from terminal:
- Code: Select all
$ sudo apt-get install autokey-gtk
3. In AutoKey:
a) File -> New -> Folder
b) In that folder: File -> New -> Script
c) Select this script, set the hotkey for it Ctrl + Z
d) In the script body
- Code: Select all
keyboard.send_keys("<ctrl>+c")
time.sleep(0.000000000000000000000001)
e) Save the script and u'r done. Setup autokey for launch at login