Highlight screenshots with Go and the Fyne framework
Programming Snapshot – Highlighting Screenshots

© Lead Image © Victor Soares, 123RF.com
Before sharing screenshots, you may want to highlight points of interest. Mike Schilli whips up a Go app with the Fyne framework that acts like a highlighter pen.
When you send somebody a newspaper clipping, it often makes sense to highlight the passage of interest so that the recipients immediately understand the topic and whether it is worth reading the message in full. Way back in the age of paper, the sender would grab a bright yellow, fluorescent highlighter pen, pop off the cap, and use the felt tip, which smelled of isopropyl alcohol, to highlight a section of the text. You'll see this handiwork today if you buy books online off the secondhand market.
If you have a screenshot of an article instead of a newspaper clipping, you can imitate a highlighter pen to get your point across. I'll show you how, using a Go app with the Fyne framework. A DIY Go program with a GUI can bring the article screenshot up in a window on your screen. Then, using graphical elements in Go from the Fyne framework, you simply click on a starting point, hold down the mouse button, and draw a frame that expands like a rubber band covering the section of text you want to highlight (Figure 1). Once the program has saved the modified file, you can easily post or mail your screenshot with the highlighted text.

[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Kali Linux 2025.3 Released with New Hacking Tools
If you're a Kali Linux fan, you'll be glad to know that the third release of this famous pen-testing distribution is now available with updates for key components.
-
Zorin OS 18 Beta Available for Testing
The latest release from the team behind Zorin OS is ready for public testing, and it includes plenty of improvements to make it more powerful, user-friendly, and productive.
-
Fedora Linux 43 Beta Now Available for Testing
Fedora Linux 43 Beta ships with Gnome 49 and KDE Plasma 6.4 (and other goodies).
-
USB4 Maintainer Leaves Intel
Michael Jamet, one of the primary maintainers of USB4 and Thunderbolt drivers, has left Intel, leaving a gaping hole for the Linux community to deal with.
-
Budgie 10.9.3 Now Available
The latest version of this elegant and configurable Linux desktop aligns with changes in Gnome 49.
-
KDE Linux Alpha Available for Daring Users
It's official, KDE Linux has arrived, but it's not quite ready for prime time.
-
AMD Initiates Graphics Driver Updates for Linux Kernel 6.18
This new AMD update focuses on power management, display handling, and hardware support for Radeon GPUs.
-
AerynOS Alpha Release Available
With a choice of several desktop environments, AerynOS 2025.08 is almost ready to be your next operating system.
-
AUR Repository Still Under DDoS Attack
Arch User Repository continues to be under a DDoS attack that has been going on for more than two weeks.
-
RingReaper Malware Poses Danger to Linux Systems
A new kind of malware exploits modern Linux kernels for I/O operations.