<?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>joolix.com &#187; 添加新标签</title>
	<atom:link href="http://joolix.com/tag/%e6%b7%bb%e5%8a%a0%e6%96%b0%e6%a0%87%e7%ad%be/feed/" rel="self" type="application/rss+xml" />
	<link>http://joolix.com</link>
	<description>Joolix, linux everywhere!</description>
	<lastBuildDate>Thu, 22 Jul 2010 03:33:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>kde4下利用Plasma插件STDIN显示歌词</title>
		<link>http://joolix.com/2009/02/display-lyrics-using-lrcdis-via-plasma-plugin-stdin/</link>
		<comments>http://joolix.com/2009/02/display-lyrics-using-lrcdis-via-plasma-plugin-stdin/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 14:39:29 +0000</pubDate>
		<dc:creator>xiooli</dc:creator>
				<category><![CDATA[Lrcdis]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Linux & Friends]]></category>
		<category><![CDATA[vedio]]></category>
		<category><![CDATA[添加新标签]]></category>

		<guid isPermaLink="false">http://joolix.com/?p=104</guid>
		<description><![CDATA[在kde4.2下用gnome-osd很麻烦，而conky在kde4的非桌面中心环境下不能开启，搞得我自己的lrcdis脚本只有cli一种模式可用，很郁闷。不过还好找到一个plasma插件STDIN，这个玩意可以定时执行一个命令/脚本，然后将其结果输出到插件上，呵呵，那不就是我要的吗？于是在lrcdis中添加了一种输出到管道文件（fifo文件）的模式，只要将STDIN的命令设置为每秒去读一下那个管道不就可以在上面显示歌词了吗，呵呵，我真是天才阿，嘿嘿。
下载地址：
1，STDIN：http://www.kde-look.org/content/show.php/STDIN+Plasmoid?content=92309
<span class="readmore"><a href="http://joolix.com/2009/02/display-lyrics-using-lrcdis-via-plasma-plugin-stdin/" title="kde4下利用Plasma插件STDIN显示歌词" target="_blank">阅读全文——共474字</a></span>]]></description>
			<content:encoded><![CDATA[<p>在kde4.2下用gnome-osd很麻烦，而conky在kde4的非桌面中心环境下不能开启，搞得我自己的lrcdis脚本只有cli一种模式可用，很郁闷。不过还好找到一个plasma插件STDIN，这个玩意可以定时执行一个命令/脚本，然后将其结果输出到插件上，呵呵，那不就是我要的吗？于是在lrcdis中添加了一种输出到管道文件（fifo文件）的模式，只要将STDIN的命令设置为每秒去读一下那个管道不就可以在上面显示歌词了吗，呵呵，我真是天才阿，嘿嘿。<br />
<span style="color: #ff0000;">下载地址：</span></p>
<p><span style="color: #ff0000;">1，STDIN：<a href="http://www.kde-look.org/content/show.php/STDIN+Plasmoid?content=92309" target="_blank">http://www.kde-look.org/content/show.php/STDIN+Plasmoid?content=92309</a></span></p>
<p><span style="color: #ff0000;">2，lrcdis：<a href="http://code.google.com/p/lrcdis/source/browse/#svn/trunk">http://code.google.com/p/lrcdis/source/browse/#svn/trunk</a></span></p>
<p><span style="color: #ff0000;">或用svn来checkout：</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> checkout http:<span style="color: #000000; font-weight: bold;">//</span>lrcdis.googlecode.com<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span> lrcdis-read-only</pre></div></div>

<p></span></p>
<p>ps：效果不错哦，下面来一段演示视频：<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/i9wO3lI-XE0&#038;hl=zh_CN&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/i9wO3lI-XE0&#038;hl=zh_CN&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://joolix.com/2009/02/display-lyrics-using-lrcdis-via-plasma-plugin-stdin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrot截图脚本</title>
		<link>http://joolix.com/2009/01/scrot-screenshot-script/</link>
		<comments>http://joolix.com/2009/01/scrot-screenshot-script/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:12:54 +0000</pubDate>
		<dc:creator>xiooli</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[添加新标签]]></category>

		<guid isPermaLink="false">http://joolix.com/?p=70</guid>
		<description><![CDATA[scort很不错，功能强劲，但是由于其是cli软件，于是被很多人无视了，其实只有简单的几句脚本，然后做成一个启动器放面板上面就会很方便的。
下面是我平常使用的scrot脚本，作了个启动器在panel上面，使用时只需点击一下启动器，然后用鼠标点击窗口就会截图该窗口，点击桌面就全屏截图，画矩形就截矩形部分，截出来的文件保存在自己设置的目录里面,保存的文件名是以scrot-xx.png的形式，xx是数字，当保存目录下有其他的 scrot-xx.png的时候xx会自动加一。

1
<span class="readmore"><a href="http://joolix.com/2009/01/scrot-screenshot-script/" title="Scrot截图脚本" target="_blank">阅读全文——共517字</a></span>]]></description>
			<content:encoded><![CDATA[<p>scort很不错，功能强劲，但是由于其是cli软件，于是被很多人无视了，其实只有简单的几句脚本，然后做成一个启动器放面板上面就会很方便的。</p>
<p>下面是我平常使用的scrot脚本，作了个启动器在panel上面，使用时只需点击一下启动器，然后用鼠标点击窗口就会截图该窗口，点击桌面就全屏截图，画矩形就截矩形部分，截出来的文件保存在自己设置的目录里面,保存的文件名是以scrot-xx.png的形式，xx是数字，当保存目录下有其他的 scrot-xx.png的时候xx会自动加一。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#Name scrot.sh</span>
<span style="color: #666666; font-style: italic;">#Author xiooli &lt;xioooli[at]yahoo.com.cn,http://joolix.com&gt;</span>
<span style="color: #666666; font-style: italic;">#Licence GPL</span>
&nbsp;
<span style="color: #007800;">savedir</span>=~<span style="color: #000000; font-weight: bold;">/</span>桌面<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #007800;">prefix</span>=<span style="color: #ff0000;">&quot;scrot-&quot;</span>
<span style="color: #007800;">num</span>=<span style="color: #ff0000;">&quot;`ls &quot;</span><span style="color: #007800;">$savedir</span><span style="color: #ff0000;">&quot;|grep &quot;</span><span style="color: #007800;">$prefix</span><span style="color: #ff0000;">&quot;|tail -n1|sed &quot;</span>s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;$prefix&quot;</span><span style="color: #000000; font-weight: bold;">//</span>g;s<span style="color: #000000; font-weight: bold;">/</span>\..<span style="color: #000000; font-weight: bold;">*</span>$<span style="color: #000000; font-weight: bold;">//</span>g;s<span style="color: #000000; font-weight: bold;">/</span>^0<span style="color: #000000; font-weight: bold;">//</span><span style="color: #ff0000;">&quot;`&quot;</span>
<span style="color: #007800;">num</span>=<span style="color: #800000;">${num:--1}</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>num++<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">num</span>=<span style="color: #ff0000;">&quot;`printf &quot;</span><span style="color: #000000; font-weight: bold;">%</span>.2d<span style="color: #ff0000;">&quot; ${num}`&quot;</span>
<span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #ff0000;">&quot;scrot &quot;</span><span style="color: #800000;">${prefix}</span><span style="color: #800000;">${num}</span>.png<span style="color: #ff0000;">&quot; -bs -e 'mv <span style="color: #000099; font-weight: bold;">\$</span>f &quot;</span><span style="color: #007800;">$savedir</span><span style="color: #ff0000;">&quot;'&quot;</span></pre></td></tr></table></div>

<p>来个示范截图：</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/AtQEkh1wci76Ka2Pc6UecQ?feat=embedwebsite"><img src="http://lh5.ggpht.com/_C1WSa6kKfQg/SW8ZdfXAlLI/AAAAAAAAEcA/G7CYvln9uv0/s800/scrot-00.png" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">发件人 <a href="http://picasaweb.google.com/xioooli/WpImages?feat=embedwebsite">xiooli</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/1UWdm_C-9bv0ElUIc4OHdg?feat=embedwebsite"><img src="http://lh3.ggpht.com/_C1WSa6kKfQg/SW8Zr78kjEI/AAAAAAAAEcI/ilwqoNzF6LU/s800/scrot-01.png" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">发件人 <a href="http://picasaweb.google.com/xioooli/WpImages?feat=embedwebsite">xiooli</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://joolix.com/2009/01/scrot-screenshot-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
