Ubuntu tool first, we use apt-getinstall to install one. scrot is mainly used in the command line. it uses the imlib2 library to capture and save the image sudoapt-getinstallscrot // capture the desktop, set the current entire desktop...
First of all, we use apt-get install to install a ubuntu tool. scrot is mainly used in the command line, it uses the imlib2 library to capture and save the image sudo apt-get install scrot // capture the desktop and capture the entire desktop, save it as the toptop.png file scrot shorttop.png // I don't know where it is, so I found it. it turns out to be in the current directory find/-name shorttop.png, novogene ~ Shotwell shorttop.png I use dual-screen display. it's good! Good! Much better than QQ. www.2cto.com // capture the window,-B capture the window and its outer border,-s allows the user to select the window scrot-bs capture limit PNG // capture the selected area, hold down the left mouse button and drag, obtain sudo scrot-s rect.png // The capture delay.-d indicates the delay, 10 indicates the seconds, and-c indicates the start of the countdown, unfortunately, you cannot use scrot-cd 10 menu.png with-s to generate a thumbnail, the following figure shows the 50% thumbnail scrot-t 50% thumb.png of the source image. // The change quality-q option is used to change the quality of the captured image, ranging from 1 to 100. the default value is 75. The larger the value, the higher the image quality. On the contrary, the lower the Image compression ratio and the larger the occupied space. Scrot-q 70 quality.png // Set the save path. $ f indicates the original save path/file name scrot action.png-e 'MV $ f ~ /Images/'the above example specifies the name of the captured image to be saved. In fact, if no name is specified, scrot automatically uses the combination of the current date, time, and width and height to generate the file name after capturing the image. ----------------- Www.2cto.com create a new item in the main menu using the mouse area under UBUNTU, type terminal application, enter sudo scrot-s 001.png-e 'MV $ f/home/wobu/desktop 'in the command, where/home/wobu/desktop is the path you can specify, on the desktop, click OK. Then select the generated shortcut in the menu, and enter the sudo password to move the cursor over it, saving the trouble of entering the terminal command.
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.