Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: maim screenshooting
Date: Sun, 30 Jul 2017 18:33:37
Message-Id: oll8p1$g1l$1@blaine.gmane.org
In Reply to: [gentoo-user] maim screenshooting by tuxic@posteo.de
1 On 30/07/17 21:04, tuxic@××××××.de wrote:
2 > Hi,
3 >
4 > I am shootin around the screen...experimenting...
5 >
6 > From here:
7 > https://github.com/naelstrof/maim
8 >
9 > I found this:
10 >
11 > "This is a basic, but useful command that simply screenshots the current active window.
12 > $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg
13 > "
14 >
15 > Giving this via commandline it always shoots the terminal window (I
16 > see no way to edit a commandline without activateing the terminal
17 > window).
18
19 Have you tried introducing a delay to give you time to switch to the
20 window you want to screenshot? Like:
21
22 $ sleep 2; maim -i $(xdotool getactivewindow) ~/mypicture.jpg
23
24 This will give you 2 seconds to switch to another window.