Google Desktop Translator is a Java application that runs on Ubuntu if Java was installed. On Ubuntu, install it using the following command: sudo apt-get install xclip Notify-send -icon=info "$text" "$translate"įor this to work, make sure xclip is installed on your system. Next, copy the script code below: #!/usr/bin/env bash install them using the following command: sudo apt-get install libnotify-bin wget xsel To be able to use the script, firstly install libnotify-bin (so the script can send desktop notifications), wget (to retrieve the translation from Google) and xsel (which is used to get the currently highlighted text). Setting up and configuring the 'translate highlighted text' script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |