1 |
On 2017-07-30, tuxic@××××××.de <tuxic@××××××.de> wrote: |
2 |
|
3 |
> I found this: |
4 |
> |
5 |
> "This is a basic, but useful command that simply screenshots the current active window. |
6 |
> $ maim -i $(xdotool getactivewindow) ~/mypicture.jpg |
7 |
> " |
8 |
|
9 |
[...] |
10 |
|
11 |
> For what such a command is good for? |
12 |
|
13 |
It's only an example. If you don't want a screenshot of the active |
14 |
window, then specify a different one. You could also delay that |
15 |
command like this: |
16 |
|
17 |
$ sleep 10; maim -i $(xdotool getactivewindow) ~/mypicture.jpg |
18 |
|
19 |
Then you've got 10 seconds to activate whatever the widow you do want |
20 |
a screenshot of. |
21 |
|
22 |
-- |
23 |
Grant Edwards grant.b.edwards Yow! Hold the MAYO & pass |
24 |
at the COSMIC AWARENESS ... |
25 |
gmail.com |