naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.13k stars 78 forks source link

Improve man page for better apropos results #255

Closed anarcat closed 2 years ago

anarcat commented 2 years ago

The man page could be improved to have better apropos(1) results. IOW, to make the program appear with search terms that come to mind first, as "make image" is true but too abstract. See attached patch.

Background: I was looking for avaliable screenshot tools, I knew I had more installed and had no idea why at least one was missing. I ended finding it again because I remembered about slop (which IMHO could also get the man page name section improved), "apropos select" worked. The use will be a bash oneliner like "zbarimg -q <( maim -f png ) | xsel" to decode barcodes that are on screen and load them into the selection.

This is forwarded from a Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981706