File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ or the clipboard to a PIL image memory.
1515 returned as an "RGBA" on macOS, or an "RGB" image otherwise.
1616 If the bounding box is omitted, the entire screen is copied.
1717
18- .. versionadded :: 1.1.3 (Windows), 3.0.0 (macOS), 7.1.0 (Linux (X11))
18+ On Linux, if ``xdisplay `` is ``None `` then ``gnome-screenshot `` will be used if it
19+ is installed. To capture the default X11 display instead, pass ``xdisplay="" ``.
20+
21+ .. versionadded :: 1.1.3 (Windows), 3.0.0 (macOS), 7.1.0 (Linux)
1922
2023 :param bbox: What region to copy. Default is the entire screen.
2124 Note that on Windows OS, the top-left point may be negative if ``all_screens=True `` is used.
Original file line number Diff line number Diff line change 7676Other Changes
7777=============
7878
79- TODO
80- ^^^^
79+ Using gnome-screenshot on Linux
80+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8181
82- TODO
82+ In :py:meth: `~PIL.ImageGrab.grab ` on Linux, if ``xdisplay `` is ``None `` then
83+ ``gnome-screenshot `` will be used to capture the display if it is installed. To capture
84+ the default X11 display instead, pass ``xdisplay="" ``.
You can’t perform that action at this time.
0 commit comments