<?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>Ivan Čukić &#187; Default</title>
	<atom:link href="http://ivan.fomentgroup.org/blog/category/default/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivan.fomentgroup.org/blog</link>
	<description>Free Software Developer and Enthusiast</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:36:29 +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>The ordeal</title>
		<link>http://ivan.fomentgroup.org/blog/2011/07/05/the-ordeal/</link>
		<comments>http://ivan.fomentgroup.org/blog/2011/07/05/the-ordeal/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 12:16:41 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2011/07/05/the-ordeal/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=1128</guid>
		<description><![CDATA[This is not really a KDE post, but rather something that happened and took away two days from me. So, you&#8217;re free to skip it Intro Insanely enough, I decided to completely wipe out my current system and after quite some time reinstall Debian. I completely forgot how tiresome is reinstalling everything from scratch &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>This is not really a <a href="http://www.kde.org/" class="kblinker" target="_blank">KDE</a> post, but rather something that happened and took away two days from me. So, you&#8217;re free to skip it <img src='http://ivan.fomentgroup.org/blog/wp-content/plugins/smilies-themer/kopete/smile.png' alt=':)' class='wp-smiley' /> </p>
<h2>Intro</h2>
<p>Insanely enough, I decided to completely wipe out my current system and after quite some time reinstall Debian. I completely forgot how tiresome is reinstalling everything from scratch &#8211; all the packages needed by KDE SC, all the packages needed by me, and everything else. Even more, I&#8217;m used to installing the minimal system, and then installing xorg, &#8230;</p>
<p>So, when the initial installation was over, I decided to make a clean KDE build (like I haven&#8217;t lost enough time already) &#8211; and after a few attempts I managed to install just enough dependencies so that the stuff I want (or work on) works without a glitch.</p>
<h2>eeePC as a graphics card</h2>
<p>At the time I started to get pleased by my newly refreshed and cleaned system, my screen just went blank, and after a reboot, the computer made quite a few beeps before starting to boot the OS while leaving the screen blank.</p>
<p>One of the capacitors on my graphic card went crazy and had blown up. Since I needed to do some work, I couldn&#8217;t allow myself to be without access to the system, and using a much slower (eee)PC with a much smaller screen while my main system lies incapacitated (or incapacitor-ated) was a no-go.</p>
<p>The first solution was to do an &#8216;ssh -X&#8217; from eeePC and connect my big screen to it. And this worked quite well except that VGA connector didn&#8217;t want to allow the full resolution of my screen so the picture was a bit blurry.</p>
<p>The is in a nutshell, the power of Linux and X11.</p>
<h2>ATI</h2>
<p>After I finished the things I needed to do, I hurried to the last open computer-store to get a new card. The last one left in the store was ATI&#8217;s HD6450, so I didn&#8217;t have any doubts which card to get.</p>
<p>I have to say that I was thrilled I&#8217;m getting rid of NVidia driver problems (although I didn&#8217;t really have any <img src='http://ivan.fomentgroup.org/blog/wp-content/plugins/smilies-themer/kopete/smile.png' alt=':)' class='wp-smiley' /> ) and getting into AMD&#8217;s world (after all I haven&#8217;t bought a single Intel&#8217;s CPU since 80286).</p>
<p>But, as per Murphy&#8217;s law, while KWin worked with all fancy effects (via the openGL backend), all openGL programs decided to claim that this driver doesn&#8217;t support openGL &#8211; at all. Even the simplest examples from the &#8216;Computer graphics&#8217; course I teach.</p>
<p>After seeking the solution on the intertubes, and trying each and every one, I almost decided to quit and leave it like that. Fortunately, after a while, I /decided/ it was the problem with the fact I need fglrx-glx package which I can&#8217;t install because it would break quite a few other packages (and thus apt would uninstall them) including some qt4 stuff which required mesa-glx.</p>
<p>Then I decided to do the dirty thing &#8211; to simply overwrite mesa&#8217;s libGL.so* stuff with those from fglrx. Usually, this is not really a safe thing to do, but since openGL is a C library that has to conform to a few well-defined standards, all implementations need to be binary compatible, which in turn means those can easily be interchanged.</p>
<p>This and a few radeon.modeset=0 sprinkled in a couple of places made my system fully functional.</p>
<h2>Outro</h2>
<p>This morning I even decided to tear apart all the components from the case, clean them and resemble the system (cleaning the body as well as the soul &#8211; it&#8217;s a chán/zen thing <img src='http://ivan.fomentgroup.org/blog/wp-content/plugins/smilies-themer/kopete/smile.png' alt=':)' class='wp-smiley' /> )</p>
<p>Now I have something that works and feels as a completely new system.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2011/07/05/the-ordeal/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Contouring the Share-Like-Connect</title>
		<link>http://ivan.fomentgroup.org/blog/2011/06/06/contouring-the-share-like-connect/</link>
		<comments>http://ivan.fomentgroup.org/blog/2011/06/06/contouring-the-share-like-connect/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 09:51:17 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2011/06/06/contouring-the-share-like-connect/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Activities]]></category>
		<category><![CDATA[Nepomuk]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Zeitgeist]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=1104</guid>
		<description><![CDATA[Ok, it is the time for me to blog from Randa and KDE Platform 11 and Nepomuk sprints. So, what I&#8217;ve been up to? I&#8217;ve been finishing the backend stuff and the library for registering the &#8220;desktop events&#8221; aka opening a document, web page and similar. All that is contained in the activity manager, so [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, it is the time for me to blog from Randa and <a href="http://www.kde.org/" class="kblinker" target="_blank">KDE</a> Platform 11 and Nepomuk sprints.</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2011/06/kde-gnome-love.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2011/06/kde-gnome-love-225x300.jpg" alt="KDE and Gnome collaboration" title="KDE and Gnome collaboration" width="225" height="300" class="alignright size-medium wp-image-1105" style="float: right" /></a>So, what I&#8217;ve been up to? I&#8217;ve been finishing the backend stuff and the library for registering the &#8220;desktop events&#8221; aka opening a document, web page and similar. All that is contained in the activity manager, so all the recorded stats will be tied to specific activities.</p>
<h3>Share-Like-Connect</h3>
<p>One of the side effects of the /usage tracking/ is that we now know what document is currently being viewed/edited, so the Aaron&#8217;s S-L-C concept can finally come to life without using the fake dummy data.</p>
<h3><s>Tasks</s> Documents applet</h3>
<p>This doesn&#8217;t exist yet, but when applications start reporting which documents they are showing, we&#8217;ll be able to make a fully document-oriented workspace for those that like that kind of stuff.</p>
<h3>Zeitgeist integration</h3>
<p>We (Nepomuk &#8211; Trueg and myself) and Zeitgeist people (Seif and Trever) had quite a few hours spent deciding the best way for the two systems to collaborate and I think we have done well. Apps that support Zeitgeist will automatically support us as well, and vice-versa. So, whether you are using a Gnome application in KDE, or KDE application in Gnome, it will just work(TM).</p>
<p>As you probably already know, I&#8217;m a sucker for fall-backs, so I still intend to make this work even if you disable one of the services. And it will work, but badly if you disable both of them.</p>
<h3>Contour and <a href="http://plasma.kde.org/" class="kblinker" target="_blank">Plasma</a> Active</h3>
<p>The thing worth mentioning is that I&#8217;m now a part-time member of the Contour team at basysKom, so you can expect these things to be finished faster than it was when I had to give focus to other non KDE-related projects.</p>
<table border="0">
<tr>
<td><a href="http://contour.basyskom.com/"><img src="http://contour.basyskom.com/images/contourLogo.jpg" width="130" /></a></td>
<td><a href="http://www.basyskom.de/"><img src="http://contour.basyskom.com/images/basyskomLogo160.png" width="130" /></a></td>
<td><a href=""><img src="http://aseigo.bddf.ca/dms/32/207_logotext.png" width="130" /></a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2011/06/06/contouring-the-share-like-connect/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Happy, happy!</title>
		<link>http://ivan.fomentgroup.org/blog/2010/12/12/happy-happy/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/12/12/happy-happy/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 18:02:37 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/12/12/happy-happy/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[New Year]]></category>
		<category><![CDATA[Parts Applet]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=1013</guid>
		<description><![CDATA[I know it is a bit early to say this, but I wish you all an ECSTATIC NEW YEAR! Click for full resolution]]></description>
			<content:encoded><![CDATA[<p>I know it is a bit early to say this, but I wish you all an ECSTATIC NEW YEAR!</p>
<p><a href="http://white-dawn.deviantart.com/art/NY2011-189354440">Click for full resolution<br />
<img width="400" src="http://fc08.deviantart.net/fs70/i/2010/346/c/a/ny2011_by_white_dawn-d34qitk.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/12/12/happy-happy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASCII Plasma Theme and others</title>
		<link>http://ivan.fomentgroup.org/blog/2010/11/14/ascii-plasma-theme-and-others/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/11/14/ascii-plasma-theme-and-others/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 19:02:41 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/11/14/ascii-plasma-theme-and-others/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Gitorious]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Plasma]]></category>
		<category><![CDATA[The]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=994</guid>
		<description><![CDATA[Ok, I&#8217;ve realized I really don&#8217;t have the time to finish some of the things I&#8217;ve started before. Too many things on my plate both in KDE world and outside. Plasma themes One of those was the promise of removing the fanciness from Plasma with ASCII art. The others include Glaze and Spoons themes. Outsourcing [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ve realized I really don&#8217;t have the time to finish some of the things I&#8217;ve started before. Too many things on my plate both in <a href="http://www.kde.org/" class="kblinker" target="_blank">KDE</a> world and outside.</p>
<p><b><a href="http://plasma.kde.org/" class="kblinker" target="_blank">Plasma</a> themes</b></p>
<p>One of those was the promise of <a href="http://ivan.fomentgroup.org/blog/2010/03/28/ascii-plasma-theme/">removing the fanciness from Plasma with ASCII art</a>. The others include Glaze and Spoons themes.</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/02/ascii1.png"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/02/ascii1-300x175.png" alt="" title="ascii1" width="300" height="175" class="alignleft size-medium wp-image-760" /></a></p>
<p><b>Outsourcing</b></p>
<p>Because of this unfortunate situation, I&#8217;ve decided to give the theme creation up to the community. I&#8217;ve submitted the themes in question to gitorious at <a href="http://www.gitorious.org/kde-plasma-themes">http://www.gitorious.org/kde-plasma-themes</a>.</p>
<p>So, if you want to help, just clone the repository and start creating art. I would ask you not to fork the themes, but improve these ones &#8211; just make merge requests and I&#8217;ll accept them as soon as possible. Don&#8217;t forget to add yourself to the list of authors.</p>
<p>If you prove to be a serious contributor, you&#8217;ll get direct commit permissions to the whole repo.</p>
<p><b>git.kde.org</b></p>
<p>If you&#8217;re wondering why I didn&#8217;t use git.kde.org but Gitorious, the main reason is that the repo was created long before git.kde.org was even in plans, and I just haven&#8217;t blogged about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/11/14/ascii-plasma-theme-and-others/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>aKademy day 1: do not conform!</title>
		<link>http://ivan.fomentgroup.org/blog/2010/07/04/akademy-day-1-do-not-conform/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/07/04/akademy-day-1-do-not-conform/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 07:40:04 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/07/04/akademy-day-1-do-not-conform/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[aKademy]]></category>
		<category><![CDATA[Munich]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=849</guid>
		<description><![CDATA[I always was a nonconformist, so while everybody was at aKademy in Tampere, I decided to hold my own version of aKademy in Munich. Well, it wasn&#8217;t really my decision, I had more than 6 hours gap between my flights, so I decided to go to the town. Pictures are worth a lot more than [...]]]></description>
			<content:encoded><![CDATA[<p>I always was a nonconformist, so while everybody was at aKademy in Tampere, I decided to hold my own version of aKademy in Munich. Well, it wasn&#8217;t really my decision, I had more than 6 hours gap between my flights, so I decided to go to the town.</p>
<p>Pictures are worth a lot more than words so:</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog0.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog0-224x300.jpg" alt="" title="Munich" width="224" height="300" class="alignleft size-medium wp-image-850" /></a><br />
<a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog1.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog1-224x300.jpg" alt="" title="Munich" width="224" height="300" class="alignleft size-medium wp-image-851" /></a><br />
<a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog2.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog2-224x300.jpg" alt="" title="OLYMPUS DIGITAL CAMERA" width="224" height="300" class="alignleft size-medium wp-image-852" /></a><br />
<a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog3.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/07/blog3-224x300.jpg" alt="" title="Munich" width="224" height="300" class="alignleft size-medium wp-image-853" /></a></p>
<p>As you can see, the city was crowded, and they served weissbier and weisswurst.</p>
<p>I arrived to Tampere at 9PM &#8211; just in time to join the ongoing party in some fancy nightclub <img src='http://ivan.fomentgroup.org/blog/wp-content/plugins/smilies-themer/kopete/smile.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/07/04/akademy-day-1-do-not-conform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Comment voes with WP</title>
		<link>http://ivan.fomentgroup.org/blog/2010/05/15/comment-voes-with-wp/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/05/15/comment-voes-with-wp/#comments</comments>
		<pubDate>Sat, 15 May 2010 12:07:18 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/05/15/comment-voes-with-wp/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=820</guid>
		<description><![CDATA[It looks like comments sometimes decide not to work here (or, to be more accurate, sometimes they decide to work). Please notify me on IRC (or mail) when that happens&#8230; cheerio Edit: AKISMET sucks!!!!]]></description>
			<content:encoded><![CDATA[<p>It looks like comments sometimes decide not to work here (or, to be more accurate, sometimes they decide to work).</p>
<p>Please notify me on IRC (or mail) when that happens&#8230; cheerio</p>
<p><b>Edit: AKISMET sucks!!!!</b><br />
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/05/15/comment-voes-with-wp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Runner drag and drop, serialization</title>
		<link>http://ivan.fomentgroup.org/blog/2010/02/21/runner-drag-and-drop-serialization/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/02/21/runner-drag-and-drop-serialization/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 15:24:42 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/02/21/runner-drag-and-drop-serialization/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[DnD]]></category>
		<category><![CDATA[KRunner]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Plasma]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=754</guid>
		<description><![CDATA[Until now, drag and drop and some other things in krunner based launchers (lancelot, kickoff, and maybe SAL?) are based on a small hack &#8211; manual detection whether the result is in fact a .desktop file of an application provided by the service runner, and if it is, then we can use it. So, the [...]]]></description>
			<content:encoded><![CDATA[<p>Until now, drag and drop and some other things in krunner based launchers (lancelot, kickoff, and maybe SAL?) are based on a small hack &#8211; manual detection whether the result is in fact a .desktop file of an application provided by the service runner, and if it is, then we can use it.</p>
<p>So, the first thing I decided to make is some way of allowing serialization of the search results. I decided that the best way is to allow the results to have mime data assigned to them. Naturally, since most of the time you don&#8217;t need the mime data, it doesn&#8217;t load by default &#8211; it is loaded only when requested and only for the specific search result.</p>
<p>That is all for now from T4&#8230; I&#8217;m sleepy and I can&#8217;t really write more&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/02/21/runner-drag-and-drop-serialization/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ZSH: bookmarks for cd (change directory) with completion</title>
		<link>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-bookmarks-for-cd-change-directory-with-completion/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-bookmarks-for-cd-change-directory-with-completion/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 20:43:45 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/01/29/zsh-bookmarks-for-cd-change-directory-with-completion/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[ZSH]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=691</guid>
		<description><![CDATA[Another zsh-related post. This one is about defining a function that will allow you to define aliases for directories so that you don&#8217;t need to type something like &#8216;cd /this/is/a/very/long/path/in/the/filesystem&#8217;, but only &#8216;cdb some-alias&#8217; (cdb &#8211; Change Directory with Bookmarks) You can copy the script to your .zshrc, or create a zsh module as described [...]]]></description>
			<content:encoded><![CDATA[<p>Another zsh-related post. This one is about defining a function that will allow you to define aliases for directories so that you don&#8217;t need to type something like &#8216;cd /this/is/a/very/long/path/in/the/filesystem&#8217;, but only &#8216;cdb some-alias&#8217; (cdb &#8211; Change Directory with Bookmarks)</p>
<p>You can copy the script to your .zshrc, or create a zsh module as described in my <a href="http://ivan.fomentgroup.org/blog/2010/01/29/zsh-organize-your-zshrc-should-work-for-bash-as-well/">previous post</a></p>
</p>
<p><code>
<pre>
# Module: Change directory with bookmarks
# path: bin/zsh-modules-available/cdbookmarks

function cdb_edit() {
  vim ~/.cdbookmarks
}

function cdb() {
  NewDir=`egrep "^$1&lt;TAB_KEY&gt;" ~/.cdbookmarks \
     | sed 's/^.*&lt;TAB_KEY&gt;//'`;
  echo cd $NewDir
  cd $NewDir
}

function _cdb() {
  reply=(`cat ~/.cdbookmarks | sed 's/&lt;TAB_KEY&gt;.*$//'`);
}

compctl -K _cdb cdb
</pre>
<p></code></p>
<p>That&#8217;s it. To define the bookmarks, create a file named ~/.cdbookmarks and the bookmarks in the following format:<br />
<code><br />
&lt;alias&gt;&lt;TAB_KEY&gt;&lt;path&gt;<br />
</code><br />
(no spaces)
</p>
<p>Cheerio!</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-bookmarks-for-cd-change-directory-with-completion/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>ZSH: Organize your .zshrc (should work for BASH as well)</title>
		<link>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-organize-your-zshrc-should-work-for-bash-as-well/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-organize-your-zshrc-should-work-for-bash-as-well/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:42:21 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/01/29/zsh-organize-your-zshrc-should-work-for-bash-as-well/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[.zshrc]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[ZSH]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=685</guid>
		<description><![CDATA[My .zshrc became is too long to maintain it easily. I&#8217;ve decided to take the idea behind apache configuration in Debian and to split the .zshrc parts into easily maintainable subscripts. I have no idea if ZSH supports this in some vim-like form of .zsh/plugins, so I did it manually. Preparation The first step is [...]]]></description>
			<content:encoded><![CDATA[<p>My .zshrc became is too long to maintain it easily. I&#8217;ve decided to take the idea behind apache configuration in Debian and to split the .zshrc parts into easily maintainable subscripts. I have no idea if ZSH supports this in some vim-like form of .zsh/plugins, so I did it manually.</p>
<p><b>Preparation</b></p>
<p>The first step is to create the following directories<br />
<code><br />
$ mkdir -p ~/bin/zsh-modules-available<br />
$ mkdir -p ~/bin/zsh-modules-enabled<br />
</code><br />
and to make a backup of old .zshrc like this<br />
<code><br />
mv ~/.zshrc ~/.zshrc.backup<br />
</code></p>
<p><p><b>Setup</b></p>
<p>Open the ~/.zshrc file with your favourite editor, and copy the following into it (replacing the old code):<br />
<code><br />
# Lines configured by zsh-newuser-install<br />
source /etc/profile</p>
<p>for file in ~/bin/zsh-modules-enabled/*; do<br />
    source $file<br />
done<br />
</code>
</p>
<p><b>Splitting up</b></p>
<p>Now, open .zshrc.backup file we created earlier and split it into modules which you&#8217;ll save into ~/bin/zsh-modules-available. You can split it up any way you want. For example, one of the modules could be the following:<br />
<code><br />
# Module: Aliases<br />
# path: bin/zsh-modules-available/aliases<br />
alias :q=exit<br />
alias la='ls -A --color'<br />
alias rm='rm -i'<br />
alias f='find -name '<br />
alias df='df -h'<br />
alias gg='ack-grep'<br />
</code>
</p>
<p><b>Enabling modules</b></p>
<p>The last step is to choose which modules you want enabled, and to specify the order of execution by prefixing the names with a number from 00 to 99.</p>
<p>Go to the ~/bin/zsh-modules-enabled and do the following for the modules you want to enable:<br />
<code><br />
ln -s ../zsh-modules-available/module-name ./xx_module-name<br />
</code></p>
<p><b>That&#8217;s all folks</b></p>
<p>So, you have a easily maintainable ZSH module system &#8211; it is easy to add a new one, to delete an old one, easy to switch them off or on&#8230; You could even create functions such as zsh_module_enable/disbable, but I&#8217;m too lazy for that. (aka, if you do, please post them in the comments section and I&#8217;ll add them to the post.</p>
<p><b>Cheerio!</b></p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/01/29/zsh-organize-your-zshrc-should-work-for-bash-as-well/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Happy everything!</title>
		<link>http://ivan.fomentgroup.org/blog/2010/01/01/happy-everything-2010/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/01/01/happy-everything-2010/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 23:00:50 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/01/01/happy-everything-2010/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=614</guid>
		<description><![CDATA[For all of you who celebrate anything related to the fact that we are soon to be in have entered the year 2010, have a happy New Year, even happier holidays, and ecstatic life. This year, the /card/ is rather simplistic (especially when compared to the last year&#8217;s), and looks like crap when zoomed out [...]]]></description>
			<content:encoded><![CDATA[<p>For all of you who celebrate anything related to the fact that we <del datetime="2010-01-01T09:21:01+00:00">are soon to be in</del> have entered the year 2010, have a happy New Year, even happier holidays, and ecstatic life.</p>
<p>This year, the /card/ is rather simplistic (especially when compared to the <a href="http://ivan.fomentgroup.org/blog/2008/12/24/happy-new-2009/">last year&#8217;s</a>), and looks like crap when zoomed out &#8211; so, please, click it and open the full resolution one. <img src='http://ivan.fomentgroup.org/blog/wp-content/plugins/smilies-themer/kopete/smile.png' alt=':)' class='wp-smiley' /> </p>
<p>Cheerio!</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2009/12/ny2010.jpg"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2009/12/ny2010-300x187.jpg" alt="Happy everything 2010" title="ny2010" width="300" height="187" class="alignnone size-medium wp-image-615" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/01/01/happy-everything-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

