KRuler is a desktop tool that draws a ruler over the screen so you can measure distances in pixels. You set the zero mark on a starting point and read off the pixel distance to wherever the cursor sits. It suits designers, developers and anyone checking layout or sizing on screen.
The source code is public and the program is released under the GPL-2.0 or later license. It is listed as a Linux application on Flathub and is made by the KDE community, with the project page and code hosted on KDE's own servers. There is no sign of a paid version, so it is free to use.
Alternatives to KRuler
Products that do a similar job in Utilities.
Free Ruler
on-screen horizontal and vertical rulers for measuring things on your Mac
Pake
Packages websites as small desktop apps from the command line
Calculator
Desktop calculator for scientific, financial and programmer maths
PicGo
Uploads images to many hosting services and returns links for notes
Gear Lever
Organises AppImage files, desktop entries and side-by-side app versions
Protontricks
Wrapper for Winetricks to fix and configure Steam Play Proton games
Fedora Media Writer
Writes bootable Fedora live USB drives and downloads the images too
Impression
Writes disk images to USB drives and SD cards