Often, when we use the Windows operating system, sometimes we need to use some screenshots, then we can use several ways to complete. First: the screenshot tool that comes with the Windows system; second: third-party software tools; third: screenshots of the shortcut keys of WeChat and QQ software to assist in the screenshots we need to complete.
So, in addition to the screenshot tool of the Windows system, today I will share with you several practical techniques for capturing pictures through commands in the Linux environment. You can try it~
1. Use command mode
Grab the entire screen of the current Linux operating system page;
[root@jacktian ~]# gnome-screenshot
After executing the gnome-screenshot command, we can change the name of the captured image and customize the image storage location accordingly;
Use the -w parameter to only grab the current terminal method;
[root@jacktian ~]# gnome-screenshot -w
Use the -a parameter to customize the corresponding area;
[root@jacktian ~]# gnome-screenshot -a
Use the -B parameter to remove the status bar of the terminal window name;
[root@jacktian ~]# gnome-screenshot -w -B
Use the -d parameter to delay the screenshot time, [n] represents the number of seconds of the custom delay time;
The basic syntax is as follows:
[root@jacktian ~]# gnome-screenshot -d [n]
For example: delay 20 seconds to capture the syntax of the full screen;
[root@jacktian ~]# gnome-screenshot -d 20
Use the -e parameter to add an outer border and shadow to the intercepted terminal window
Add outer border: add border after parameter -e
[root@jacktian ~]# gnome-screenshot -w -e border
Add shadow: add shadow after parameter -e
[root@jacktian ~]# gnome-screenshot -w -e shadow
In addition to the above command mode demonstration, there are also the following grammars. The specific demonstration results will not be demonstrated one by one. You can try to play and see if the pictures captured after the following grammars are executed are different. .
[root@jacktian ~]# gnome-screenshot -w -e border shadow
[root@jacktian ~]# gnome-screenshot -w -B -e border shadow
[root@jacktian ~]# gnome-screenshot -w -B -e border
[root@jacktian ~]# gnome-screenshot -w -B -e shadow
[root@jacktian ~]# gnome-screenshot -a -e border
[root@jacktian ~]# gnome-screenshot -a -e shadow
2. Set shortcuts for screenshots
Chinese: System-->Preferences-->Keyboard Shortcuts-->Add
English:System-->Preferences-->Keyboard Shortcunts-->ADD
Chinese: Add-->Enter the name and command of the custom shortcut key-->Apply
English:Add-->Custom Shortcut Name and Command-->Apply
Chinese: After the addition is complete-->New shortcut key-->Custom input shortcut key;
English:Disabled is shown on the new shortcut key;
For example: Ctrl + Alt + A, the shortcut key is set.
After setting this way, you don't need to use the shortcut keys of Windows operating system QQ to take screenshots. Save switching time.
End of this article.
PS: Click on the bottom of the article to read the original text to view more selected Linux-related articles;