You are not logged in.

#1 2014-10-16 03:53:35

naelstrof
Member
Registered: 2011-10-21
Posts: 13

Some great screenshot utilities.

Trying to overcome the problems of scrot having a crappy selection rectangle: I have created slop and maim.

Separately, slop can select regions/windows for video/image capture with commandline utilities (ffmpeg, scrot, import, etc). It has a very customizable selection rectangle that can create a very consistent interface for all kinds of screenshot scripts.
However there's a lot of shortcomings when it comes to existing screenshot utilities. For example scrot can't take pictures of the system cursor, and can't run in the background because it fails to grab the keyboard in certain configurations (and exits despite that not being a fatal error). While import has trouble with compositors when windows are transparent or have shadows.
So in order to fix these problems I made maim too. maim not only overcomes these problems, but also adds a few new features like masking offscreen pixels.

If you're interested at all check out their corresponding github pages for more information:
https://github.com/naelstrof/maim
https://github.com/naelstrof/slop

They're in the AUR too. I poured a lot of time into these and I'd like to share their usefulness to everyone; hope you guys like them.

Offline

#2 2014-10-16 11:59:30

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Some great screenshot utilities.

Very nice, thanks for sharing. smile

Moving from Applications & Desktop Environments to Community Contributions.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2014-10-17 02:53:33

cjm
Member
Registered: 2014-10-17
Posts: 11

Re: Some great screenshot utilities.

Very nice utilities!

Offline

#4 2014-10-18 05:37:11

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Some great screenshot utilities.

great... instantly changed https://github.com/carnager/teiler to use those 2 now.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2014-10-28 04:26:44

angelic_sedition
Member
Registered: 2014-01-20
Posts: 124
Website

Re: Some great screenshot utilities.

Slop is exactly what I've been looking for! Thanks, these are awesome. Going to change all my scripts to use them right away.

Last edited by angelic_sedition (2014-10-28 04:48:26)

Offline

#6 2014-10-28 12:45:26

tzoi516
Member
Registered: 2014-05-02
Posts: 76

Re: Some great screenshot utilities.

Using slop, but can't find the screenshots.

Offline

#7 2014-10-28 12:54:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Some great screenshot utilities.

tzoi516, I haven't tried these yet - but the OP seems to make it clear tat slop doesn't take screenshots.  Slop selects rectangular areas.  The output of slop would be used by an actual screenshot tool (like maim).  Are you using it this way?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2014-10-28 13:30:31

tzoi516
Member
Registered: 2014-05-02
Posts: 76

Re: Some great screenshot utilities.

Gotcha. maim -s

Offline

#9 2014-11-03 15:48:16

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 356
Website

Re: Some great screenshot utilities.

Thanks! These both work great!
My only nitpick is that maim has not manpage (yet?).

Offline

Board footer

Powered by FluxBB