Computer operating systems generally have built-in shortcut keys for screenshots, and many software industries have the function of taking screenshots. So how to take screenshots in the Linux operating system?
How to take a screenshot on a Linux system: (Recommended learning: linux operation and maintenance)
The screenshot key on the keyboard can still be used, but it only captures the entire screen. What should you do when you want to take a screenshot of a certain area?
You can use the command to take a screenshot. The screenshot command in ubuntu is gnome-screenshot.
You can enter gnome-screenshot -h in the terminal to view the usage of this command:
gnome-screenshot [option. . . ] Image help options for grabbing the screen:
-h, –help Display help options
–help-all Display all help options
–help-gtk Show GTK options
Application options:
-w, –window grabs the window instead of the entire screen
-a, –area grabs Take an area of the screen, not the entire screen -b, -include-border Include window border
-B in the screenshot, -remove-border remove the window border of the screenshot -d, -delay= seconds in Snapshot after specifying delay [in seconds]
-e, –border-effect=Special effects added to the border (shadow, border or no special effects)-i, –interactive interactive setting options
–display=Display the X to be used Display
In addition to the command line, you can also install screenshot software to take screenshots. The more useful screenshot software under Linux include shutter, scrot, etc.
The above is the detailed content of How to take screenshots in linux. For more information, please follow other related articles on the PHP Chinese website!