- Install
GoldenDict
sudo apt-get install goldendict
Install
translate-shell
https://github.com/soimort/translate-shell#option-1-direct-downloadadd
Google Source
asProgram
- open
GoldenDict
, choseEdit
, then clickDictionaries
,Programs
,Add
- add following
trans -e google -s en -t zh -show-original y -show-original-phonetics n -show-translation y -no-ansi -show-translation-phonetics n -show-prompt-message n -show-languages n -show-original-dictionary n -show-dictionary n -show-alternatives n "%GDWORD%"
- Enable
Scan Popup
ClickEdit
,Preferences
,Scan Popup
you may want to show popup only when you press
shift
key
- Enjoy it!
Force quit and restart
https://gist.github.com/yingshaoxo/3a3fa44bcbe59e764d828817b0f3d2fa