Practical Tips: Linux screenshot and test screen method summary

Source: Internet
Author: User
Article Title: Practical Tips: Summary of Linux and examination screen methods. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

As an artist in reality, screenshots are required daily. Some materials are summarized as follows:

1. Gimp, the most powerful graphic processing software in linux, with screenshot Function

2. ksnapshot in KDE

3. gnome-screenshot and

Gnome-panel-screenshot. The difference is that the latter can capture the prompt information, such as "Xi'an Xianyang" in this figure"

Sleep 5; gnome-panel-screenshot

If the time is too short, set the pose...-window parameter to intercept the current activation window.

BTW: the "screenshot" in the ubuntu attachment is gnome-screenshot.

4. import of ImageMagick (to be installed)

Import-window root xxx.jpg

Chvt 7; sleep 5; XAUTHORITY =/var/TPD/: 0. Xauth DISPLAY =: 0.0 import-window root/tmp/gdm-shot.png

In tty1, the x window logon interface in tty7 is intercepted.

In ubuntu, it should be

... XAUTHORITY =/var/lib/TPD /...

You can use ps aux | grep TPD to find the specific location of the target group.

5. xwd and x window are provided without installation. The following command captures x win Images

Sleep 3; xwd-display: 0.0-out root. xwd-root

However, if I want to log on to the x window of tty 7 and run it in tty 1, I will get the screen image (execute, and then press ctrl + alt + 7 to switch back to tty7 ).

The BTW:. xwd file can be opened with gimp.

6. scrot

Scrot-d 5/tmp/1.jpeg

5 seconds later, save the screenshot to/tmp/1.jpeg.

Scrot-s

Select a range with the mouse and capture the image within the range

7. video capturing tool: xvidcap

8. fbgrab

9. Captrua

10. byzanz: record your desktop or a window, move images including the mouse, and save them as gif

References:

Import-window root ~ /Tmp/screenshot.jpeg & display-resize 50% ~ /Tmp/screenshot.jpeg

Capture full screen and enable it with display (50%)

Import ~ /Tmp/screenshot.jpeg & display-resize 50% ~ /Tmp/screenshot.jpeg

Truncate the current window and open it with display (50%)

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.