Use scrot to take screenshots under Fedora9

Source: Internet
Author: User
I don't know why my Fedora9 does not have the previous screenshot tool that can set the latency in the capture mode. There is only one gnomeScreenShot, which captures the full screen by PrtScr and the current window by Alt + PrtScr. But I can't do anything complicated. Therefore, only one scrot can be installed. scrot is a command line tool that is small, flexible, and powerful. Scrot is commonly used to capture the entire desktop: scrotdesktop.png.

I don't know why my Fedora 9 does not have the previous ScreenShot tool that can set the latency in the capture mode. There is only one gnome ScreenShot. Press PrtScr to capture the full screen and press Alt + PrtScr to capture the current window. But I can't do anything complicated. Therefore, only one scrot can be installed. scrot is a command line tool that is small, flexible, and powerful. Common scrot usage:

Capture the entire desktop: scrot shorttop.png. This command captures the entire desktop and saves it as a shorttop.png file. You can find this image file in the current directory.

Capture window: scrot-bs large rows PNG. Option B allows scrot to capture the outer border when capturing the window, and option s allows the user to select the window to capture.

Capture area: scrot-s rectangle.png. After executing this command, the rectangular area dragged by the mouse will be captured by scrot.

Latency Capture: scrot-cd 10 menu.png. The d option in this command is used to capture images in a delayed manner. The next 10 represents a delay of 10 seconds. The previous option c shows a countdown. This technique fully demonstrates its magic when capturing menus or command prompts.

Generate a thumbnail: scrot-t 50% thumb.png. This command generates a thumbnail of the image while capturing the image. Option t will enable this function, and the 50% after it is the zoom percentage of the source image.

Change Quality: scrot-q 70 quality.jpg. The q option in this command is used to change the quality of the captured image. The value range is between 1 and 100. The default value is 75. The larger the value, the higher the image quality. At the same time, the lower the image compression ratio and the larger the occupied space.

Operation screenshot: scrot action.png-e 'mv $ f ~ /Images/', this command moves the captured image ~ /Images/directory. Obviously, the image operation function is enabled by option e, where $ f Represents the path/file name of the source image.

Basically, the above usage can solve a huge number of graph capturing tasks. If you have any special requirements, you can try it yourself.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.