Translate Any Text You Select On Your Linux Desktop With A Keyboard Shortcut And Notifications
I recently stumbled upon an interesting tiny old script which can translate any text you select. After highlighting the text, be it in a web browser, Libreoffice or PDF document and so on, upon using a keyboard shortcut, its translation is displayed in a desktop notification.
Command line:
Subscribe:
like facebook:
G+:
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
Abdul Munir
May 19, 2020I found the full answer in the article
http://www.webupd8.org/2016/03/translate-any-text-you-select-on-your.html
Denis Física
May 19, 2020It does not work with the Foxit PDF reader. I tried to solve the problem with the 'xdotool' program but it did not work either. I had to change from 'xsel -o' to 'xsel -b' and copy the text before to work with Foxit. I'm using Ubuntu 18.04.
morozione
May 19, 2020Yo dude, can't copy your long script. Can you publish the script at comments? Thanks)