<?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>iPUNKID &#187; KDE</title>
	<atom:link href="http://blog.punkid.org/tag/kde/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.punkid.org</link>
	<description>To ∞ and Beyond</description>
	<lastBuildDate>Sun, 29 Jan 2012 13:02:09 +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>Ultimate Guide to Manage Your iPod under Linux : Revised</title>
		<link>http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/</link>
		<comments>http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 13:55:32 +0000</pubDate>
		<dc:creator>iPUNKID</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Amarok]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[Google App]]></category>
		<category><![CDATA[Gwenview]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[mencoder]]></category>

		<guid isPermaLink="false">http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/</guid>
		<description><![CDATA[I bought myself an iPod Nano (Product)red by the end of last year, it was cool. But the biggest problem i confront is how do i manage my iPod music library and sorts of things under Linux, since I&#8217;m a linux daily-user, i merely switch back to my Windows XP system. What&#8217;s more, i really [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://photo15.yupoo.com/20080106/015154_465989328_tutyhkya.jpg" alt="Ultimate Guide to Manage Your iPod under Linux" width="500" height="124" border="0" /></p>
<p>I bought myself an iPod Nano (Product)<sup>red</sup> by the end of last year, it was cool. But the biggest problem i confront is how do i manage my iPod music library and sorts of things under Linux, since I&#8217;m a linux daily-user, i merely switch back to my Windows XP system. What&#8217;s more, i really DISLIKE using the iTunes under Windows, it&#8217;s just not so handy to me, as well it costs too much memory. So, with Google&#8217;s help, eventually i found some good solutions to make my iPod work under Linux. And here comes the guide, i&#8217;ll break it down into several sections, enjoy it!</p>
<p><strong>Note</strong>: I&#8217;m using <a href="http://www.gentoo.org" title="Gentoo">Gentoo</a> linux, and <a href="http://www.kde.org" title="KDE">KDE</a> <abbr title="Desktop Environment">DE</abbr>, but i presume things will be much <em>even</em> easier if you&#8217;re using the Everyone-Loves-It <a href="http://www.ubuntu.com/" title="ubuntu">(k)ubuntu</a> linux distro (I&#8217;ll make some notes below each paragraph, letting you ubuntu users know what to do)<br />
<span id="more-187"></span></p>
<h3>Preparation</h3>
<p>Before you get any further, first you need to install libgpod, that&#8217;s the core component to make iPod work under Linux. In Gentoo linux, you can simply run <code>emerge libgpod</code>, but please ensure that you&#8217;ve already added the <code>gtk</code> USE if you want to make the coverflow work, which i&#8217;ll explain later. So run <code>USE="gtk" emerge libgpod</code> is a good choice.</p>
<p><strong>Note</strong>: What if you&#8217;re using (k)ubuntu? Dont worry about the Gentoo <code>USE</code> things, just run <code>apt-install libgpod</code> or some sort of that command (Sorry, I dont have ubuntu installed so i really have no idea the exact package name for libgpod)</p>
<p>To make my iPod automounted, i enabled hald and dbus service, and the KDE itself will handle the rest. Put the <code>hal dbus</code> into your <code>make.conf</code>&#8216;s USE, and emerge the hal and dbus.</p>
<pre lang="bash">
# echo "sys-apps/hal acpi disk-partition" &gt;&gt; /etc/portage/package.use
# emerge hal dbus
</pre>
<p>Then run <code>emerge -auvDN world</code> to make everything work with dbus and hal. Or you prefer using <code>eix --installed-without-use hal</code> and <code>eix --installed-without-use dbus</code> to manually check the packages which need re-emerge. After that, lets start &#8216;em.</p>
<pre lang="bash">
# /etc/init.d/dbus start
# /etc/init.d/hald start

if you prefer starting them when booting your system, just
# rc-update add dbus default
# rc-update add hald default
</pre>
<p><strong>Note</strong>: The Ubuntu users can totally ignore what i mention above about the hal and dbus, since Ubuntu has already done these all for you, i said <em>things will be much even easier</em> :)</p>
<h3>Music Library Management</h3>
<p>This is the most important part, the software we need is <a href="http://amarok.kde.org" title="Amarok">Amarok</a>, a multimedia killer app, which is also the <em>best</em> music player AFAIK. To make it work with iPod, lets first do the USE things :)</p>
<pre lang="bash">
# echo "media-sound/amarok ipod" &gt;&gt; /etc/portage/package.use
# emerge amarok
</pre>
<h4>1. Identify Your iPod</h4>
<p>Once you get the hal work, the iPod device should be auto mounted (the default path is <code>/media/ipod</code> by udev rules), at least under KDE. Launch your amarok, and switch to the &#8216;Device&#8217; tab, and identify your iPod model under &#8216;Set iPod Model&#8217;.</p>
<p><img src="http://photo15.yupoo.com/20080106/130356_32319682_vizgsmsc.jpg" alt="amarok-ipod-identifier" width="500" height="171" border="0" /></p>
<h4>2. Transfer Music</h4>
<p>Now you can easily &#8216;drag n&#8217; drop&#8217; your mp3s into the &#8216;Device&#8217; tab container, or you can right click the files/albums/playlists to choose &#8216;Transfer to Media Device&#8217;</p>
<p><img src="http://photo15.yupoo.com/20080106/130358_2146271816_upvatfal.jpg" alt="amarok-ipod-transfer1" width="399" height="268" border="0" /></p>
<p><img src="http://photo14.yupoo.com/20080106/130357_1438571723_mjdqcvzc.jpg" alt="amarok-ipod-transfer" width="309" height="238" border="0" /></p>
<p>The next step is simply click &#8216;transfer&#8217;, copy the mp3s into your iPod.</p>
<p><strong>Note</strong>: It&#8217;s supposed to have your music appeared in your iPod if you installed &gt;=libgpod-0.6.0. But what if your iPod (The Classic or Nano 3G, or iTouch) doesnt show any items you&#8217;ve transfered? Then we need to get our hands a little of dirty :)</p>
<p>Run <code>lsusb -v | grep -i Serial</code> with root privilege, and copy the 16-character-long hash string (something like <code>00A27001301221F</code>) into the clipboard. Then open the <code>/media/ipod/iPod_control/Device/SysInfo</code> file with your favorite text editor, append this line into it:</p>
<pre lang="bash">
FirewireGuid: 0xffffffffffffffff
</pre>
<p>Replace the <code>ffffffffffffffff</code> with that 16-character-long hash string you just got.</p>
<h4>3. Cover Flow Effect</h4>
<p>Coverflow effect is really fascinating, you can easily fetch the album art cover from Amazon via Amarok.</p>
<p><img src="http://photo15.yupoo.com/20080106/130356_1113337934_uamvjxru.jpg" alt="amarok-ipod-fetch-cover" width="400" height="240" border="0" /></p>
<p>To make sure your iPod recognize the coverart setting in Amarok, simply click the &#8216;Update Artwork&#8217; under &#8216;Device&#8217; tab, that&#8217;s all, i say THAT&#8217;S ALL :D</p>
<p><img src="http://photo15.yupoo.com/20080106/130355_967800838_mnpdztnq.jpg" alt="amarok-ipod-cover" width="501" height="114" border="0" /></p>
<p><strong>Tip</strong>: If you have some <abbr title="Various Artists">V.A</abbr> albums, you may find it quite disturbing when you flip the cover flow, seeing the same album image several times under different artist names. And they&#8217;re all pointed to the same album! To group &#8216;em under <em>Various Artists</em>, just go to the Amarok&#8217;s &#8216;collection&#8217; tab, right click the album and choose &#8216;Show under Various Artists&#8217;, then re-upload the album to your iPod. Or you can choose &#8216;Do not Show under Various Artists&#8217; if you think the artist name does matter.</p>
<h3>Video Management</h3>
<p>With Amarok, you can also simply drag n&#8217; drop the video files (mov, mp4) into your iPod, you dont need to worry about which directory they&#8217;re supposed to be placed.</p>
<p>So what i&#8217;d demonstrate here is how to convert the AVI movie file into your iPod MP4 file, and how to get the youtube video into your iPod.</p>
<h4>1. Deal with AVI Movie File</h4>
<p>What i want to deal with the avi movie file is to get a scaled clip video with only a few minutes which&#8217;s suitable for iPod playing, as well i&#8217;d also like to embed the subtitle into the clip due to my poor English understanding :D With Mplayer&#8217;s mencoder, everything turns out so easy.</p>
<pre lang="bash">
Make sure you at least have these USEs enabled for mplayer. We need <Code>encode</code> use to build mencoder support, and those vedio and audio libraries for encoding.

# USE="aac win32codecs xvid encode mp3 quicktime srt" emerge mplayer
</pre>
<p>Here is the command we&#8217;re gonna run: (based on <a href="http://bones7456.blog.ubuntu.org.cn/2008/08/12/toipod/" title="bones7456's nautilus toiPod script">bones7456&#8242;s nautilus toiPod script</a>)</p>
<pre lang="bash">
$ mencoder -ss 00:36:36 -endpos 00:01:35 \
   -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc \
   -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=600:acodec=libfaac:abitrate=128 \
   -af lavcresample=24000 -vf dsize=320:240:0,scale=0:0,expand=320:240,harddup -ofps 25 -srate 22050 \
   -sub "subtitle.srt" \
   input.avi \
   -o output.mp4
</pre>
<p>Yeah, i know these commands seem too complex, let me break &#8216;em down into detailed explanation.</p>
<ol>
<li>The <code>-ss</code> means the starting timeline, with<code>-ss</code> the <code>-endpos</code> means shifting forward time. In conjuction, this line <code>-ss 00:36:36 -endpos 00:01:35</code> means we&#8217;re gonna start record the clip from 00:36:36 to 00:38:11 (36:36 + 01:35 = 38:11)</li>
<li>The second, third and the fourth lines make sure the encoding meets the iPod spec requirement. If you have a larger screen like iTouch, iPod, change the <code>320:240</code> to <code>480:320</code>.</li>
<li>And we use <code>-sub "subtitle.srt"</code> to embed to subtitle into the clip</li>
<li>The last line of the first command specifies the output filename</li>
</ol>
<p>If you find the command too complex to recall, you can save the following script to <code>/usr/bin/toIpod</code>, and make sure it has the execute priviilege (<code>chmod a+x /usr/bin/toIpod</code>)</p>
<pre lang="bash">
#!/bin/bash
#Copyright (c) 2008 bones7456 (bones7456&lt;A&gt;gmail&lt;D&gt;com)
#Modified by puNk!d
#License: GPL
#version 20080911

SAVEDIR="/home/media/video"

INFILE="$1"
PWD=`pwd`
CMD="mencoder -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc "
CMD+="-lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=600:acodec=libfaac:abitrate=128 "
CMD+="-af lavcresample=24000 -vf dsize=320:240:0,scale=0:0,expand=320:240,harddup -ofps 25 -srate 22050 "
if [[ -f "${INFILE%.*}.srt" ]];then
	CMD+=" -sub ""\"$PWD/${INFILE%.*}.srt\""
elif [[ -f "${INFILE%.*}.ssa" ]];then
	CMD+=" -sub ""\"$PWD/${INFILE%.*}.ssa\""
elif [[ -f "${INFILE%.*}.ass" ]];then
	CMD+=" -sub ""\"$PWD/${INFILE%.*}.ass\""
fi

CMD+=" -o ""\"$SAVEDIR/${INFILE%.*}_ipod.mp4\""" ""\"$PWD/$INFILE\""
eval "$CMD 2&gt;&amp;1"
</pre>
<p>Now you can run <code>toIpod videofile</code> to convert the video into mp4 file which is stored in <code>/home/media/video</code>, and it will automatically embed the subtitles if the sub file has the same name as the video file.</p>
<p><strong>Note: </strong> The credit of this script goes to <a href="http://bones7456.blog.ubuntu.org.cn/" title="bones7456's blog">bones7456</a>, I only did some small modification to deduct the gnome dependency (zenity tool).</p>
<h4>2. Save Youtube Video into Your iPod</h4>
<p>Here comes another scenario, I&#8217;d like to save the youtube video <a href="http://www.youtube.com/watch?v=4XpnKHJAok8" title="Tech Talk: Linus Torvalds on git">Tech Talk: Linus Torvalds on git</a> into my iPod so i can watch it before sleep. We can achieve this with <a href="http://www.arrakis.es/~rggi3/youtube-dl/" title="youtube-dl">youtube-dl</a> and <a href="http://ffmpeg.mplayerhq.hu/" title="FFmpeg">FFmpeg</a>. If you dont have &#8216;em yet, just emerge &#8216;em! </p>
<pre lang="bash"># emerge youtube-dl ffmpeg </pre>
<p>Make sure your ffmpeg compiled with at least <code>aac</code>, <code>encode</code>, <code>win32codecs</code> USEs. </p>
<p>Then we can obtain the youtube flv video file by: </p>
<pre lang="bash">$ youtube-dl "http://www.youtube.com/watch?v=4XpnKHJAok8" -o output.flv </pre>
<p>And use ffmpeg to convert it into mp4 file. </p>
<pre lang="bash">$ ffmpeg -i output.flv -acodec libfaac -ac 2 output.mp4 </pre>
<p>Transfer the output.mp4 with Amarok, its done!</p>
<p><strong>Note: </strong> As <a href="http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/#comment-1292" title="Go to comment-1292">Michel</a> pointed out, if you&#8217;re sick of the endless CLI, try <a href="http://fixounet.free.fr/avidemux/" title="Avidemux">Avidemux</a>,  a GUI tool does make life easier in some cases :D</p>
<h3>Scrobble iPod Play History to Your Last.fm</h3>
<p><img src="http://photo14.yupoo.com/20080106/210414_27255980_jmfhjuqd.jpg" alt="badge_red" width="150" height="60" border="0" /></p>
<p>Amarok has last.fm built-in support, so whenever we play the music, the songs will be scrobbled to our last.fm account automatically. And the exciting thing is, Amarok can also handle iPod play history!</p>
<p><img src="http://photo15.yupoo.com/20080106/130355_1481640377_iosqkwgb.jpg" alt="amarok-ipod-config" width="335" height="385" border="0" /></p>
<p>Just check the &#8216;Synchronize with Amarok statistics&#8217; under &#8216;Configure Media Device&#8217; dialog window. Then plug in your iPod, you can see the submit queue from Amarok status bar if there&#8217;re some tracks unscrobbled.</p>
<h3>Transfer Photos into Your iPod</h3>
<p>I use <a href="http://gwenview.sourceforge.net/" title="Gwenview">Gwenview</a> as my first-choice photo management software on KDE, some of KDE users prefer <a href="http://www.digikam.org/" title="Digikam">Digikam</a>. Whatever, it doesnt matter. Cuz they both support <a href="http://extragear.kde.org/apps/kipi/" title="Kipi Plugins">Kipi Plugins</a> which we need to deal with iPod photo transfer.</p>
<p>Install Gwenview and Kipi-plugins with iPod support: (For ubuntu users, just get the gwenview and kipi!)</p>
<pre lang="bash">
# USE="ipod" emerge libkipi kipi-plugins
# USE="kipi" emerge gwenview
</pre>
<p><img src="http://photo15.yupoo.com/20080106/130359_1481423218_xnygudzz.jpg" alt="gwenview-ipod-photo" width="499" height="227" border="0" /></p>
<p>Then we can see the &#8216;Export to iPod&#8217; option under &#8216;Plugins&#8217; -&gt; &#8216;Tools&#8217; menu in Gwenview.</p>
<p><strong>Note: </strong> After some investigation and test, I found unfortunately there was no software perfectly delivered the photo transfer function. As kipi-plugin, libpod fails to show up the original picture on iPod whilst gpixpod produces a blank n&#8217; black thumbnail. Read the discussion from <a href="http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/#comment-1271" title="Go to comment 1271">here</a>.</p>
<p><strong>Note 2: </strong> As <a href="http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/#comment-1356" title="Go to comment 1356">Thomas</a> pointed out, there&#8217;s a patch for libgpod to fix the thumbnails problem. Follow the patch here: <a href="http://www.nabble.com/Re%3A-gtkpod-with-ipod-nano-3g-p14516933.html" title="gtkpod with ipod nano 3g">gtkpod with ipod nano 3g</a></p>
<h3>Extras</h3>
<p>Here comes the extra things part on iPod, we got Calendars, Contacts and Notes extras on iPod, but we dont feel like to deal &#8216;em with iTunes. How come we need to do the simple note with a 50mb+ memory cost multimedia software :(</p>
<h4>1. Notes</h4>
<p>It&#8217;s quite easy actually, just put the text files into the <code>/media/ipod/Notes</code> directory, that&#8217;s ALL. </p>
<h4>2. Calendar</h4>
<p>iPod uses Mac&#8217;s iCal calendar file, but we dont have Mac, and neither we have iTunes. But we can use some third-party software like <a href="http://www.gnome.org/projects/evolution/" title="Ximian Evolution">Ximian Evolution</a> or <a href="http://www.mozilla.org/projects/calendar/sunbird/" title="Mozilla Sunbird">Mozilla Sunbird</a> under Linux, nonetheless, personally i&#8217;d like to use some web apps to deal with the iCal file. <a href="http://calendar.google.com/" title="Google Calendar">Google Calendar</a> is definitely my 1st choice.</p>
<p><img src="http://photo15.yupoo.com/20080106/130358_161497164_jwfahtbn.jpg" alt="gcalender-ipod-setting" width="400" height="170" border="0" /></p>
<p>Choose one of your calendars, and click the &#8216;Calendar Settings&#8217;, in the bottom of the setting page, we see the iCal banner in &#8216;Private Address&#8217;, just save it to the <code>/media/ipod/Calendars</code> directory.</p>
<p><img src="http://photo15.yupoo.com/20080106/130358_505461660_uucmiutt.jpg" alt="gcalender-ipod-ical" width="499" height="77" border="0" /></p>
<h4>3. Contacts</h4>
<p>iPod supports vCard to implement its Contacts function, and we can use Gmail to generate the vCard file<br />
(C&#8217;mon, you should at least have a Gmail account unless you&#8217;re a Yahoo! die-hard fan :D )</p>
<p>I&#8217;m gonna save my words on howto do add contacts under Gmail, this is not the part of this iPod-related guide. To export the Gmail contact list into vCard file, click the &#8216;Contacts&#8217; link in Gmail page, then choose to export it with vCard format, save it to your <code>/media/ipod/Contacts</code> directory.</p>
<p><img src="http://photo15.yupoo.com/20080106/130359_1529868949_kkovgecz.jpg" alt="gmail-ipod-contact" width="500" height="281" border="0" /></p>
<h3>END</h3>
<p>That&#8217;s all what i can tell you guys, if you have any other tips on iPod under Linux, feel free to share with us.</p>
<p>And, i know there&#8217;s a software named <a href="http://gtkpod.sourceforge.net/" title="gtkpod">gtkpod</a> which can deals with iPod media synchronizing and photo transfer. But i dont feel like to recommend it, IMHO, its just not so handy as Amarok and Gwenview. Anyway, you might prefer using it if you&#8217;re using Gnome :)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.punkid.org/2008/01/06/ultimate-guide-to-manage-your-ipod-under-linux/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>An Eye-Candy Desktop Brings Me Delightful Comp Experience</title>
		<link>http://blog.punkid.org/2007/09/15/an-eye-candy-desktop-brings-me-delightful-comp-experience/</link>
		<comments>http://blog.punkid.org/2007/09/15/an-eye-candy-desktop-brings-me-delightful-comp-experience/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 11:57:51 +0000</pubDate>
		<dc:creator>iPUNKID</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[compiz-fusion]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[screenshot]]></category>

		<guid isPermaLink="false">http://blog.punkid.org/2007/09/15/an-eye-candy-desktop-brings-me-delightful-comp-experience/</guid>
		<description><![CDATA[本日志为完全没任何技术含量纯粹秀桌面以发泄隐藏在桌面主人内心小小暴露欲以及尝试超长憋气不断句的不成文章的无聊文章。 Operating System : Gentoo Linux Desktop Environment : KDE + Compiz-Fusion]]></description>
			<content:encoded><![CDATA[<p>本日志为完全没任何技术含量纯粹秀桌面以发泄隐藏在桌面主人内心小小暴露欲以及尝试超长憋气不断句的不成文章的无聊文章。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff80808114f25d32011508faaf917801" title="来YUPOO看我的照片"><img src="http://photo5.yupoo.com/20070915/194305_1219519687.jpg" alt="snapshot_2007-09-10_1440x900" width="500" height="312" border="0" /></a></p>
<p>Operating System : Gentoo Linux<br />
Desktop Environment : KDE + Compiz-Fusion<br />
<span id="more-128"></span><br />
<a href="http://www.yupoo.com/photos/view?id=ff80808114fa763d011508f6b1783938" title="来YUPOO看我的照片"><img src="http://photo11.yupoo.com/20070915/193844_2080689991.jpg" alt="snapshot_2007-09-15_1440x900" width="500" height="312" border="0" /></a></p>
<p><a href="http://www.yupoo.com/photos/view?id=ff80808114fa6bd8011508feb9656b29" title="来YUPOO看我的照片"><img src="http://photo11.yupoo.com/20070915/194730_1735645341.jpg" alt="snapshot_2007-09-15_1440x900" width="500" height="312" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.punkid.org/2007/09/15/an-eye-candy-desktop-brings-me-delightful-comp-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quanta Plus : A Brief Review of an IDE under Linux</title>
		<link>http://blog.punkid.org/2007/03/05/quanta-plus-a-brief-review-of-an-ide-under-linux/</link>
		<comments>http://blog.punkid.org/2007/03/05/quanta-plus-a-brief-review-of-an-ide-under-linux/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 05:59:02 +0000</pubDate>
		<dc:creator>iPUNKID</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Quanta-Plus]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[web-developement]]></category>

		<guid isPermaLink="false">http://blog.punkid.org/2007/03/05/quanta-plus-a-brief-review-of-an-ide-under-linux/</guid>
		<description><![CDATA[一直都想介绍一下Quanta Plus这款linux下的IDE (基于Qt的程序)。这是我目前使用过的最好用，最上手的网页编辑器了，D.K的所有代码也都是在这个编辑器下写的。我曾经推荐过另一款linux下的IDE: Aptana。那相比Aptana，Quanta Plus有什么优势呢? 1. Quanta Plus的界面相当的简洁，而且如果你一直用的是KDE下的Kate或Kwrite的话，你会发现Quanta Plus和Kwrite,Kate具有很好的consistency，相似的界面设定以及一致的快捷键操作，统一的高亮显示，它基本上可以说是Kwrite的Deluxe版，上手非常方便。 2. Quanta Plus支持标签页显示&#8230;不过在我的Gentoo上标签页有点小问题，就是关闭标签页时会出现1到2秒的无响应。 3. Quanta Plus和Win下的Dreamweaver一样具有智能自动补充功能，以下是我在编写WP theme的functions.php时出现的变量自动补充提示。 4. 同样对于CSS，XHTML，Javascript也都具有相应的自动补充功能，尤其值得称道的是在编辑HTML/XHTML时，如果你更改某一tag，它会自动更正相对应的闭合tag。 我更改&#60;p&#62;标签为&#60;div&#62;，相应的它会自动更正后面的闭合/p标签为&#60;/div&#62;。 5. Quanta Plus非常注重Web Standards。你可以设置默认使用的DTD或者事后更改DTD。 6. Quanta Plus对于CSS编辑模式同样具有不少独到之处。 你可以分别查看CSS文件里的tags/IDs/Classes/Pseudo style。 利用Quanta Plus自带的拾色器，可以帮助你选取你需要的颜色并自动添加为value。例如我在输入了background:后点取拾色器，选中#FF4674这款颜色，然后点OK就会自动补充#FF4674到background:后面。 7. 如果你在handle一个比较大的项目的话，那建议你使用Quanta Plus的Project。 支持ftp,ssh,webdav等多种上传/同步方式。 8. Quanta Plus的预览功能，因为Quanta Plus是基于QT的程序，预览模式下使用的是KHTML引擎，当然你也可以设置调用Firefox/Opera等浏览器进行预览。请不要怀疑KHTML，它可是目前唯一全部通过了CSS3 selectors测试的引擎，其次是Safari和Opera, Mozilla/Firefox的Gecko&#8230;我只看到了Firefox的版本号从1.5到2.0的飞跃，引擎版本倒是没啥大动静。 不过Quanta Plus还不能像TopStyle一样对CSS进行预览&#8230;期待改进 9. 记住以下这些快捷键，它们可以大大提高你的工作效率(Also under Kate,Kwrite)。 Ctrl + I /Ctrl + Shift + I &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://quanta.kdewebdev.org/" title="Quanta Plus's Official Site"><img src="http://photo1.yupoo.com/20070304/223800_1020129796_pmnbtfvr.jpg" alt="Quanta Plus" width="414" height="52" border="0" /></a></p>
<p>一直都想介绍一下<a href="http://quanta.kdewebdev.org/" title="Quanta Plus's Official Site">Quanta Plus</a>这款linux下的IDE (基于Qt的程序)。这是我目前使用过的最好用，最上手的网页编辑器了，D.K的所有代码也都是在这个编辑器下写的。我曾经<a href="http://pp.punkid.org/2006/09/30/gentoo-notes-part-2/" title="Gentoo 使用笔记 Part 2">推荐</a>过另一款linux下的IDE: <a href="http://aptana.org/" title="Aptana">Aptana</a>。那相比Aptana，Quanta Plus有什么优势呢?</p>
<p>1. Quanta Plus的界面相当的简洁，而且如果你一直用的是KDE下的Kate或Kwrite的话，你会发现Quanta  Plus和Kwrite,Kate具有很好的consistency，相似的界面设定以及一致的快捷键操作，统一的高亮显示，它基本上可以说是Kwrite的Deluxe版，上手非常方便。</p>
<p><img src="http://photo1.yupoo.com/20070305/122918_1176977974_cplxjsld.jpg" alt="quanta-preview" width="420" height="292" border="0" /></p>
<p>2. Quanta Plus支持标签页显示&#8230;不过在我的Gentoo上标签页有点小问题，就是关闭标签页时会出现1到2秒的无响应。</p>
<p><img src="http://photo1.yupoo.com/20070305/122919_1212163090_qjntwedm.jpg" alt="quanta-tabs" width="417" height="37" border="0" /><br />
<span id="more-25"></span><br />
3. Quanta Plus和Win下的Dreamweaver一样具有智能自动补充功能，以下是我在编写WP theme的functions.php时出现的变量自动补充提示。</p>
<p><img src="http://photo1.yupoo.com/20070305/122916_2039627871_bzmrrqpq.jpg" alt="quanta-auto-completion" width="420" height="160" border="0" /></p>
<p>4. 同样对于CSS，XHTML，Javascript也都具有相应的自动补充功能，尤其值得称道的是在编辑HTML/XHTML时，如果你更改某一tag，它会自动更正相对应的闭合tag。</p>
<p><img src="http://photo1.yupoo.com/20070305/122916_2074800563_xphlkhpg.jpg" alt="quanta-auto-modify" width="377" height="67" border="0" /></p>
<p>我更改<code>&lt;p&gt;</code>标签为<code>&lt;div&gt;</code>，相应的它会自动更正后面的闭合<code>/p</code>标签为<code>&lt;/div&gt;</code>。</p>
<p>5. Quanta Plus非常注重Web Standards。你可以设置默认使用的<abbr title="Document Type Definition">DTD</abbr>或者事后更改<abbr title="Document Type Definition">DTD</abbr>。</p>
<p><img src="http://photo1.yupoo.com/20070305/122915_1085275486_kbaxhkcn.jpg" alt="quanta-DTD-setting" width="420" height="382" border="0" /></p>
<p><img src="http://photo1.yupoo.com/20070305/122917_974709845_upwpadrp.jpg" alt="quanta-change-DTD" width="420" height="178" border="0" /></p>
<p>6. Quanta Plus对于CSS编辑模式同样具有不少独到之处。</p>
<p><img src="http://photo1.yupoo.com/20070305/122918_1722144274_kbkyrlkc.jpg" alt="quanta-css" width="420" height="328" border="0" /></p>
<p>你可以分别查看CSS文件里的tags/IDs/Classes/Pseudo style。</p>
<p><img src="http://photo1.yupoo.com/20070305/122917_1629180161_ccdpmvdg.jpg" alt="quanta-color-picker" width="420" height="291" border="0" /></p>
<p>利用Quanta Plus自带的拾色器，可以帮助你选取你需要的颜色并自动添加为value。例如我在输入了<code>background:</code>后点取拾色器，选中<var>#FF4674</var>这款颜色，然后点OK就会自动补充<code>#FF4674</code>到<code>background:</code>后面。</p>
<p>7. 如果你在handle一个比较大的项目的话，那建议你使用Quanta Plus的Project。</p>
<p><img src="http://photo1.yupoo.com/20070305/122919_2081903367_ucwusobi.jpg" alt="quanta-project" width="420" height="387" border="0" /></p>
<p>支持ftp,ssh,webdav等多种上传/同步方式。</p>
<p>8. Quanta Plus的预览功能，因为Quanta Plus是基于QT的程序，预览模式下使用的是KHTML引擎，当然你也可以设置调用Firefox/Opera等浏览器进行预览。请不要怀疑KHTML，它可是目前唯一全部通过了<a href="http://www.css3.info/selectors-test/" title="CSS3 Selectors Test">CSS3 selectors测试</a>的引擎，其次是Safari和Opera, Mozilla/Firefox的Gecko&#8230;我只看到了Firefox的版本号从1.5到2.0的飞跃，引擎版本倒是没啥大动静。</p>
<p>不过Quanta Plus还不能像TopStyle一样对CSS进行预览&#8230;期待改进</p>
<p>9. 记住以下这些快捷键，它们可以大大提高你的工作效率(Also under Kate,Kwrite)。</p>
<ul>
<li><kbd>Ctrl + I /Ctrl + Shift + I</kbd> &#8212; 增加/减少缩进</li>
<li><kbd>Ctrl + U/Ctrl + Shift + U</kbd> &#8212; 转换为大写/小写</li>
<li><kbd>Ctrl + D/Ctrl + Shift + D</kbd> &#8212; 注释/删除注释</li>
<li><kbd>Ctrl + J</kbd> &#8212; 合并为一行</li>
<li><kbd>Ctrl + Tab</kbd> &#8212; 切换标签页</li>
<li><kbd>Ctrl + W</kbd> &#8212; 关闭标签页</li>
<li>&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.punkid.org/2007/03/05/quanta-plus-a-brief-review-of-an-ide-under-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

