LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ocr-grab

X11 region screenshot tool with instant Tesseract OCR to clipboard (Flameshot-like)

TLDR

Launch the selector and OCR the chosen region to clipboard
$ ocr-grab
copy
Build from source
$ make
copy

SYNOPSIS

ocr-grab

DESCRIPTION

OCR Grab is a lightweight C/GTK3 + Tesseract utility for X11. It lets you interactively select a screen region (with adjustment mode) and immediately runs OCR on the selection, copying the extracted text to the clipboard (with xclip fallback for minimal WMs).It is designed as a fast, keyboard-driven complement or replacement for Flameshot-style workflows when the goal is to capture text rather than an image. There are no CLI flags beyond launching the interactive selector.

USAGE

1. Bind `ocr-grab` to a hotkey (e.g. Mod+Print in i3).2. Drag to select a region.3. Adjust with mouse if needed (edges, corners, or move).4. Press Enter to OCR and copy, or Escape to cancel.A popup shows the result; "Copy & Close" puts it on both primary and selection clipboards.

DEPENDENCIES

Build requires development headers for gtk+-3.0, tesseract, leptonica, zbar, and x11, plus a C compiler and make. Runtime language data (e.g. `tesseract-ocr-eng`) and optionally `xclip` for bare WMs.

CAVEATS

- X11 only (no native Wayland support mentioned).- Requires tesseract language data (e.g. tesseract-ocr-eng).- GPL-3.0 licensed.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid