Screenshots » History » Version 2
Wolfgang Wiedmeyer, 03/26/2017 12:28 PM
preparations
1 | 1 | Wolfgang Wiedmeyer | h1. Screenshots |
---|---|---|---|
2 | |||
3 | On Android, it is usually possible to take a screenshot by pressing the Volume Down and Power buttons. A shortcut can also be added to the menu that pops up when long-pressing the Power button. These options only work on Replicant when [[Graphics|llvmpipe is enabled as renderer]]. Furthermore, there doesn't seem to exist an app in F-Droid that makes it possible to take screenshots on Replicant when llvmpipe is not enabled. |
||
4 | |||
5 | Regardless of which graphics renderer is enabled, it is possible to take screenshots when the device is connected to a PC with a USB cable. The following steps explain the procedure. |
||
6 | |||
7 | h2. Preparations |
||
8 | 2 | Wolfgang Wiedmeyer | |
9 | Make sure [[ADB]] is running as root. |
||
10 | |||
11 | Download this script: "screencap.sh":https://git.replicant.us/replicant/user-scripts/raw/replicant-6.0/screencap/screencap.sh |
||
12 | |||
13 | You need to have ffmpeg installed. If ffmpeg is not available on your GNU/Linux system but avconv is (e.g. as part of libav-tools), you will have to change the line |
||
14 | <pre> |
||
15 | FFMEG="ffmpeg" |
||
16 | </pre> |
||
17 | |||
18 | to |
||
19 | <pre> |
||
20 | FFMEG="avconv" |
||
21 | </pre> |
||
22 | |||
23 | at the beginning of the script. |
||
24 | |||
25 | h2. Taking a screenshot |