A GNOME Extension to grab text on the screen using OCR.
Text Grabber is a simple Gnome Extension based on the Tesseract OCR (Optical Character Recognition) application, enabling the possibility to grab any text on the screen and paste the result as plain text to the clipboard.
Quite often, there is text on the screen that we cannot directly select. This could because this text is integrated inside an image, a video or even a web page (sometimes, the text is in a link or in another place where it is difficult to select). I created Text Grabber to solve this issue.
- Can appear or not appear in the top panel.
- Assign an optional keyboard shortcut for fast access.
- Define the language(s) to use for Tesseract.
- The GUI offered in English, French and Spanish.
- Gnome 46, 47, 48 or 49
- Tesseract with at least one language data model installed
- Download the ZIP archive.
- Decompress the folder
textgrabber@pierrethibault.devinside archive in ~/.local/share/gnome-shell/extensions/. The archive is available in the releases section of the GitHub page. - Wayland: Logout and login back. X11: Restart the window environment (usually, Alt-F2, r, return) or logout and login back.
- Open the Gnome Extensions app.
- Activate Text Grabber in the extension list.
By default, the icon will appear on the Gnome Top Panel. Just click the icon, click on the screen and hold the mouse button to create a marquee around the text to grab. If everything works fine, the text is now available in the clipboard. Otherwise, you can also assign a keyboard shortcut if you prefer. The rest is self-explanatory.
Pierre Thibault 2025-06-28
Open an issue on the GitHub page. Help for translation in other languages is welcome. I'll keep the contributor list updated based on the contributions made.
- Inspired by: TextSniper
- The code for managing the keyboard shortcut is from Caffeine


