PowerToys Text Extractor equivalent for GNOME. Select an area of the screen and copy its text with OCR (Tesseract), in any language Tesseract supports. Requires Tesseract OCR to be installed. Clipboard access: it only writes the extracted text.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-A-005 manual_review
extensions should not access the clipboard directly
Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.
extension.js:167
St.Clipboard.get_default()
| Version | Status |
|---|---|
| 1.1.3 (6) | Unreviewed |
| 1.1.2 (5) | Active |
| 1.1.0 (4) | Active |
| 1.1.0 (3) | Rejected |
| 1.0.0 (2) | Rejected |
| 1.0.0 (1) | Rejected |
Approved but to avoid sudo usage in spawn command in future updates, please don't export the function (line 50 `ocr.js`) and make it explicit that is not used in spawn commands. You can rename `installCommand()` to `notifyInstallCommand()` and show notification instead of returning string. That way, we know the returned command isn't used in a spawn command. That brings the `Main` into the `ocr.js` though.