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%)