LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 662|回复: 0

GUI截屏幕用法,试过很好用

[复制链接]
发表于 2005-4-22 22:57:20 | 显示全部楼层 |阅读模式
There are several ways to capture a screen shot on the X Window System. One way is to use the command import. Using import you could capture just a portion of the screen in X:


import results.jpg
      


then point and click the portions/cross hairs on the window to capture.


Meanwhile, to capture the entire X screen:


import -window root picture.jpg
      



To give you time to get ready, we could add a timer/pause:


import -pause 5 -window root picture.jpg
      

After 5 seconds you will be able to start selecting the captured portion.


To put sounds when the timer is done:


import -pause 5 -window root picture.jpg; play done.wav
      



You could also bring up an application instead of playing sounds to indicate that the timer/pause is done and the image was already captured:


import -pause 5 -window root picture.jpg; konsole
      


Another way to capture image is using GIMP. See the steps below to do so:

Run GIMP (e.g. gimp)
Go to the FILE menu -> choose Acquire
Click Screen Shot. From the Screen Shot window, you could select in the Grab section if its going to be Single Window or Whole Screen. You could also set timer in "Seconds Delay" to give you time to prepare any applications necessary
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表