Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

screencapture(1) [mojave man page]

SCREENCAPTURE(1)					    BSD General Commands Manual 					  SCREENCAPTURE(1)

NAME
screencapture -- capture images from the screen and save them to a file or the clipboard SYNOPSIS
screencapture [-SWCTMPcimswxto] file DESCRIPTION
The screencapture utility is not very well documented to date. A list of options follows. -c Force screen capture to go to the clipboard. -b Capture Touch Bar, only works in non-interactive modes. -C Capture the cursor as well as the screen. Only allowed in non-interactive modes. -d Display errors to the user graphically. -i Capture screen interactively, by selection or window. The control key will cause the screen shot to go to the clipboard. The space key will toggle between mouse selection and window selection modes. The escape key will cancel the interactive screen shot. -m Only capture the main monitor, undefined if -i is set. -D <display> Screen capture or record from the display specified. 1 is main, 2 secondary, etc -o In window capture mode, do not capture the shadow of the window. -p Screen capture will use the default settings for capture. The files argument will be ignored. -M Open the taken picture in a new Mail message. -P Open the taken picture in a Preview window or QuickTime Player if video. -I Open the taken picture in Mesages. -B <bundleid> Open in the app matching bundleid. -s Only allow mouse selection mode. -S In window capture mode, capture the screen instead of the window. -J <style> Sets the starting style of interfactive capture "selection","window","video". -t <format> Image format to create, default is png (other options include pdf, jpg, tiff and other formats). -T <seconds> Take the picture after a delay of <seconds>, default is 5. -w Only allow window selection mode. -W Start interaction in window selection mode. -x Do not play sounds. -a Do not capture attached windows. -r Do not add screen dpi meta data to captured file. -l <windowid> Captures the window with windowid. -R <rectangle> Capture rectangle using format x,y,width,height. -v Capture video recording of the screen. -V <seconds> Capture video recording of the screen for the specified seconds. -A <id> Captures audio during a video recording using default input. Optionally pass id of the audio source. -k Show clicks in video recordings. -U Show interactive toolbar in interactive mode. -u Present UI after screencapture is complete. Files passed to commandline will be ignored. files where to save the screen capture, 1 file per screen BUGS
Better documentation is needed for this utility. SECURITY CONSIDERATIONS
To capture screen content while logged in via ssh, you must launch screencapture in the same mach bootstrap hierarchy as loginwindow: PID=pid of loginwindow sudo launchctl bsexec $PID screencapture [options] HISTORY
A screencapture utility first appeared in Mac OS X v10.2. Mac OS June 16, 2004 Mac OS

Check Out this Related Man Page

gnome-screenshot(1)						   User Commands					       gnome-screenshot(1)

NAME
gnome-screenshot, gnome-panel-screenshot - GNOME screenshot utility SYNOPSIS
gnome-screenshot | gnome-panel-screenshot [--border-effect=effect] [--delay=int] [--include-border] [--interactive] [--window] [gnome-std- options] DESCRIPTION
gnome-screenshot allows users to capture the screen image of a window or the complete screen. gnome-panel-screenshot is a symlink to gnome-screenshot. If the --window option is used, you must move the mouse pointer to the window to be captured. The --delay option is always used with the --window option, to allow sufficient delay to set up the required screenshot. Once you have captured the window region, you are presented with a dialog showing a preview of the snapshot and the choice to save the image. OPTIONS
The following options are supported: --border-effect=effect Effect to add to the border. --delay=int Pause for int seconds before capturing the window or screen --include-border Include the window border with the screenshot. --interactive Interactively set options. --window Capture a screenshot of the window in which the mouse pointer is located. gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information. EXAMPLES
Example 1: Capturing the full screen example% gnome-screenshot EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-screenshot Executable for GNOME screenshot utility /usr/bin/gnome-panel-screenshot Symbolic link to gnome-screenshot. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-utils | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. gnome-panel(1), attributes(5), gnome-std-options(5) NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2006, 2007. SunOS 5.11 09 Nov 2007 gnome-screenshot(1)
Man Page