<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: 玩转libnotify</title> <atom:link href="http://apt-blog.net/playing_libnotify/feed" rel="self" type="application/rss+xml" /><link>http://apt-blog.net/playing_libnotify</link> <description>潜逃中。</description> <lastBuildDate>Sun, 05 Feb 2012 12:10:46 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: 新手</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-403</link> <dc:creator>新手</dc:creator> <pubDate>Sun, 24 May 2009 07:56:20 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-403</guid> <description>我试试，非常感谢。</description> <content:encoded><![CDATA[<p>我试试，非常感谢。</p> ]]></content:encoded> </item> <item><title>By: PT</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-402</link> <dc:creator>PT</dc:creator> <pubDate>Sat, 23 May 2009 10:38:42 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-402</guid> <description>不行的话把那些deb都用软件拉下来dpkg安装</description> <content:encoded><![CDATA[<p>不行的话把那些deb都用软件拉下来dpkg安装</p> ]]></content:encoded> </item> <item><title>By: PT</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-401</link> <dc:creator>PT</dc:creator> <pubDate>Sat, 23 May 2009 10:37:26 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-401</guid> <description>部分ppa源在国内有cn那个服务器有镜像的，你添加这个源应该就可以很快地安装ibus了：
deb http://archive.ubuntu.org.cn/ppa/ibus-dev/ppa/ jaunty main
只能按上面填写，没其他发行版的，也没amd64的，不过应该够你用吧？</description> <content:encoded><![CDATA[<p>部分ppa源在国内有cn那个服务器有镜像的，你添加这个源应该就可以很快地安装ibus了：</p><p>deb <a
href="http://archive.ubuntu.org.cn/ppa/ibus-dev/ppa/" rel="nofollow">http://archive.ubuntu.org.cn/ppa/ibus-dev/ppa/</a> jaunty main</p><p>只能按上面填写，没其他发行版的，也没amd64的，不过应该够你用吧？</p> ]]></content:encoded> </item> <item><title>By: 新手</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-400</link> <dc:creator>新手</dc:creator> <pubDate>Sat, 23 May 2009 10:26:11 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-400</guid> <description>这次想请教一个和文章内容关系不大的问题。
我看到博主用的是IBUS输入法，我在校园网里面用IBUS的那个PPA的源实在是太慢了（显示还剩6个多小时……）。
但是自己才学LINUX不久，自己也不会打包IBUS（搜过一些办法，但是我自己在9.04里面弄不出来，估计自己水平太烂了）在GOOGLE CODE的tar文件。
想请问一下有没有什么办法，或者哪里能直接下载到DEB包就更好了。</description> <content:encoded><![CDATA[<p>这次想请教一个和文章内容关系不大的问题。<br
/> 我看到博主用的是IBUS输入法，我在校园网里面用IBUS的那个PPA的源实在是太慢了（显示还剩6个多小时……）。<br
/> 但是自己才学LINUX不久，自己也不会打包IBUS（搜过一些办法，但是我自己在9.04里面弄不出来，估计自己水平太烂了）在GOOGLE CODE的tar文件。<br
/> 想请问一下有没有什么办法，或者哪里能直接下载到DEB包就更好了。</p> ]]></content:encoded> </item> <item><title>By: 大兵－之夜</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-399</link> <dc:creator>大兵－之夜</dc:creator> <pubDate>Sat, 23 May 2009 06:20:18 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-399</guid> <description>飘～～～</description> <content:encoded><![CDATA[<p>飘～～～</p> ]]></content:encoded> </item> <item><title>By: PT</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-398</link> <dc:creator>PT</dc:creator> <pubDate>Sat, 23 May 2009 06:17:46 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-398</guid> <description>呵呵，谢谢shellex的提醒～～
感觉用notify来做歌词显示可能有点不大合适……</description> <content:encoded><![CDATA[<p>呵呵，谢谢shellex的提醒～～</p><p>感觉用notify来做歌词显示可能有点不大合适……</p> ]]></content:encoded> </item> <item><title>By: shellex</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-396</link> <dc:creator>shellex</dc:creator> <pubDate>Sat, 23 May 2009 03:30:35 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-396</guid> <description>嗯。显示歌词可以使用Update。这个确实比timeout方便。
但是action就不行了。
Guidelines也说了不支持action</description> <content:encoded><![CDATA[<p>嗯。显示歌词可以使用Update。这个确实比timeout方便。<br
/> 但是action就不行了。<br
/> Guidelines也说了不支持action</p> ]]></content:encoded> </item> <item><title>By: shellex</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-395</link> <dc:creator>shellex</dc:creator> <pubDate>Sat, 23 May 2009 03:18:06 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-395</guid> <description>恩，可惜这个notify反而没有了以前的某些功能：
添加按钮事件响应，直接变成弹出对话框
添加timeout，没有任何作用。本来可以 用它来显示歌词的，现在不能了
哦
也许是我不会用
&lt;pre lang=&quot;python&quot;&gt;
import pynotify
pynotify.init(&quot;TEst&quot;)
n=pynotify.Notification(&quot;Title&quot;,&quot;body&quot;)
n.add_action(&quot;bb&quot;,&quot;aa&quot;, lambda x: x+1)
n.set_timeout(1000)
n.show()
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>恩，可惜这个notify反而没有了以前的某些功能：<br
/> 添加按钮事件响应，直接变成弹出对话框<br
/> 添加timeout，没有任何作用。本来可以 用它来显示歌词的，现在不能了<br
/> 哦<br
/> 也许是我不会用</p><div
class="wp_syntax"><div
class="code"><pre class="python" style="font-family:monospace;"> <span style="color: #ff7700;font-weight:bold;">import</span> pynotify
 pynotify.<span style="color: black;">init</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;TEst&quot;</span><span style="color: black;">&#41;</span>
 n=pynotify.<span style="color: black;">Notification</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Title&quot;</span>,<span style="color: #483d8b;">&quot;body&quot;</span><span style="color: black;">&#41;</span>
 n.<span style="color: black;">add_action</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;bb&quot;</span>,<span style="color: #483d8b;">&quot;aa&quot;</span>, <span style="color: #ff7700;font-weight:bold;">lambda</span> x: x+<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
 n.<span style="color: black;">set_timeout</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1000</span><span style="color: black;">&#41;</span>
 n.<span style="color: black;">show</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div> ]]></content:encoded> </item> <item><title>By: maomaol</title><link>http://apt-blog.net/playing_libnotify/comment-page-1#comment-392</link> <dc:creator>maomaol</dc:creator> <pubDate>Fri, 22 May 2009 15:41:16 +0000</pubDate> <guid
isPermaLink="false">http://apt-blog.net/archives/386.html#comment-392</guid> <description>感谢PT牛的推荐～～～</description> <content:encoded><![CDATA[<p>感谢PT牛的推荐～～～</p> ]]></content:encoded> </item> </channel> </rss>
