<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LinuxByte &#187; ScreenShot</title>
	<atom:link href="http://www.linuxbyte.org/tag/screenshot/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxbyte.org</link>
	<description>一个Linux Blog</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:13:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fedora 9 下用scrot进行屏幕截图</title>
		<link>http://www.linuxbyte.org/fedora-9-screenshot-tool-scrot.html</link>
		<comments>http://www.linuxbyte.org/fedora-9-screenshot-tool-scrot.html#comments</comments>
		<pubDate>Sun, 01 Jun 2008 03:50:27 +0000</pubDate>
		<dc:creator>xiao H</dc:creator>
				<category><![CDATA[日常桌面]]></category>
		<category><![CDATA[ScreenShot]]></category>
		<category><![CDATA[scrot]]></category>
		<category><![CDATA[截图]]></category>

		<guid isPermaLink="false">http://www.linuxbyte.org/?p=155</guid>
		<description><![CDATA[不知道为什么我的fedora 9 下没有以前那个可以选择抓图模式设定延时的抓图工具了，只有一个gnome ScreenShot,按PrtScr 抓全屏，按Alt＋PrtScr 抓当前窗口。可我想弄复杂一点的就不行了。所以只能装... ]]></description>
			<content:encoded><![CDATA[<p>不知道为什么我的fedora 9 下没有以前那个可以选择抓图模式设定延时的抓图工具了，只有一个gnome ScreenShot,按PrtScr 抓全屏，按Alt＋PrtScr 抓当前窗口。可我想弄复杂一点的就不行了。所以只能装了一个 scrot，scrot 是个命令行截图工具，小巧灵活，功能强悍。scrot 的常用用法如下：</p>
<p><span id="more-155"></span></p>
<ol>
<li>抓取整个桌面：<code>scrot desktop.png</code>，该命令将当前的整个桌面抓取下来，并保存为 desktop.png 文件。可以在当前的目录中找到此图像文件。</li>
<li>抓取窗口：<code>scrot -bs window.png</code>，选项 b 使 scrot 在抓取窗口时一同将外边框抓取下来，而 s 选项则让用户选择所要抓取的是何窗口。</li>
<li>抓取区域：<code>scrot -s rectangle.png</code>，在执行此命令后，使用鼠标拖曳的矩形区域将被 scrot 抓取下来。</li>
<li>延时抓取：<code>scrot -cd 10 menu.png</code>，此命令中的 d 选项用于延时抓取图像，其后的 10 代表延时 10 秒；前面的选项 c 显示倒计时。在抓取菜单或是命令提示时，该技巧将充分展示其魔力。</li>
<li>生成缩图：<code>scrot -t 50% thumb.png</code>，这个命令在抓取图像的同时生成该图像的缩略图。选项 t 将打开此功能，其后的 50% 为原图的缩放百分比。</li>
<li>更改品质：<code>scrot -q 70 quality.jpg</code>，此命令中的 q 选项用于更改所抓图像的品质，其数值介于 1-100 之间，默认为 75。数值越大，意味着图像品质越高；同时，图像的压缩率也就越低，占用空间越大。</li>
<li>操作抓图：<code>scrot action.png -e 'mv $f ~/images/'</code>，该命令将抓取的图像移动到 ~/images/ 目录。显然，操作图像的功能由 e 选项开启，其中的 $f 代表原图的路径／文件名。</li>
</ol>
<p>基本上上面这些用法能解决绝大多少抓图任务了，如果你还有什么特殊要求可以自己 man 一下。</p>
<h2  class="related_post_title">其他大家爱看的文字</h2><ul class="related_post"><li><a href="http://www.linuxbyte.org/mysql-backup-restore.html" title="MySQL数据库备份和还原的常用命令">MySQL数据库备份和还原的常用命令</a></li><li><a href="http://www.linuxbyte.org/tui-jian-liang-ge-neng-zai-linux-xia-kan-de-ying-shi-wang-zhan.html" title="推荐几个能在linux 下看的影视网站">推荐几个能在linux 下看的影视网站</a></li><li><a href="http://www.linuxbyte.org/firefox-7-jiang-yu-nian-nei-fa-bu.html" title="FireFox 7 将于年内发布">FireFox 7 将于年内发布</a></li><li><a href="http://www.linuxbyte.org/wang-ba-linux-wang-guan-she-zhi-ji-lu-bu-chong.html" title="网吧Linux 网关设置记录补充">网吧Linux 网关设置记录补充</a></li><li><a href="http://www.linuxbyte.org/gnome-2_23_3.html" title="GNOME 2.23.3 稳定版">GNOME 2.23.3 稳定版</a></li><li><a href="http://www.linuxbyte.org/yi-ge-bu-cuo-de-firfox-bei-fen-cha-jian-febe.html" title="一个不错的firfox备份插件 &#8211;FEBE">一个不错的firfox备份插件 &#8211;FEBE</a></li><li><a href="http://www.linuxbyte.org/ubuntu-10-04-an-zhuang-virtualbox-xiao-ji.html" title="ubuntu 10.04 安装 VirtualBox 小记">ubuntu 10.04 安装 VirtualBox 小记</a></li><li><a href="http://www.linuxbyte.org/magiclinux-2-5-8-yi-jing-wan-cheng-ji-hua-zheng-zai-shou-wei-diao-shi-dang-zhong.html" title="MagicLinux 2.5.8 已经完成计划正在收尾调试当中">MagicLinux 2.5.8 已经完成计划正在收尾调试当中</a></li><li><a href="http://www.linuxbyte.org/linux-iptables-nat-squid-pdnsd.html" title="网吧Linux 网关设置记录">网吧Linux 网关设置记录</a></li><li><a href="http://www.linuxbyte.org/fedora9-3d-desktop.html" title="Fedora9 开启3d 桌面">Fedora9 开启3d 桌面</a></li></ul><hr />
<p><small>© xiao H for <a href="http://www.linuxbyte.org">LinuxByte</a>, 2008<br />
Source: <a href="http://www.linuxbyte.org/fedora-9-screenshot-tool-scrot.html">Fedora 9 下用scrot进行屏幕截图</a><br />
Post tags: <a href="http://www.linuxbyte.org/tag/screenshot" rel="tag">ScreenShot</a>, <a href="http://www.linuxbyte.org/tag/scrot" rel="tag">scrot</a>, <a href="http://www.linuxbyte.org/tag/%e6%88%aa%e5%9b%be" rel="tag">截图</a><br/>
</small></p>
	<p style="margin:3px 0 0 0;">标签：<a href="http://www.linuxbyte.org/tag/screenshot" title="ScreenShot" rel="tag">ScreenShot</a>, <a href="http://www.linuxbyte.org/tag/scrot" title="scrot" rel="tag">scrot</a>, <a href="http://www.linuxbyte.org/tag/%e6%88%aa%e5%9b%be" title="截图" rel="tag">截图</a></p>

<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxbyte.org/fedora-9-screenshot-tool-scrot.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

