-
stark
- MILF
- Posts: 521
- Joined: Sat Sep 27, 2014 6:38 pm
- Location: Arpanet
-
Contact:
Unread post
by stark » Wed Dec 03, 2014 11:31 am
Source: Highlight and Google Translate Any Text in Linux - Lifehacker
1. Install '
dunst' or whatever notifier you prefer and make sure you have '
xsel' installed.
2. Get the Script :
Code: Select all
curl http://sprunge.us/aGMY > ~/bin/goot
3. Make it executable: '
chmod +x ~/bin/goot'
3. Bind it to a key combo.
4. Highlight any text and press your defined keybind.
Profit!
The script will auto-detect the language you are selecting (see
sl=auto)
By default, the script translates in English, to change the translated output to a language of your choice modify '
tl=eng' in the script (example-
'tl=it' for Italian).
List of Supported Languages and respective language codes.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
Dr_Chroot
- Alfalfa
- Posts: 1100
- Joined: Mon Jun 09, 2014 9:49 pm
- Location: among the sagebrush
-
Contact:
Unread post
by Dr_Chroot » Wed Dec 03, 2014 10:25 pm
0_0 Fantastic! Thanks stark :) I have had many uses for this utility over the years... if only I had it then.
Fight internet censorship.
EFF | Tor Project | Bitcoin
"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden
-
stark
- MILF
- Posts: 521
- Joined: Sat Sep 27, 2014 6:38 pm
- Location: Arpanet
-
Contact:
Unread post
by stark » Fri Dec 05, 2014 12:37 pm
Better Late Than Never ;)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
machinebacon
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
-
Contact:
Unread post
by machinebacon » Thu Apr 02, 2015 12:14 pm
I must say, this is damned good, thanks starkey!
..gnutella..
-
simgin
- Meme Fodder
- Posts: 1167
- Joined: Sun Jan 06, 2013 12:07 am
- Location: Bradford-on-Avon, UK
Unread post
by simgin » Thu Apr 02, 2015 3:01 pm
Absolutely brilliant Starkey o.O
simon
Someone told me that I am delusional, I almost fell off my unicorn.
-
nova
- applies for custom title
- Posts: 49
- Joined: Tue Dec 09, 2014 6:55 pm
- Location: Planet 892-IV
Unread post
by nova » Fri Apr 03, 2015 2:57 am
Спасибо Старк!
difficile est saturam non scribere. nam quis iniquae
tam patiens urbis, tam ferreus, ut teneat se...