<?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>Alex Amiryan's Linux Blog &#187; Perl</title>
	<atom:link href="http://www.amiryan.org/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amiryan.org</link>
	<description>Just sharing my experiance in linux</description>
	<lastBuildDate>Tue, 10 Nov 2009 19:56:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Beryl =&gt; Compiz Fusion</title>
		<link>http://www.amiryan.org/2008/04/22/beryl-compiz-fusion/</link>
		<comments>http://www.amiryan.org/2008/04/22/beryl-compiz-fusion/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 23:10:00 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Compiz-Fusion]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://fenritz1349.wordpress.com/2008/04/22/beryl-compiz-fusion/</guid>
		<description><![CDATA[Few days ago I was trying to get Compiz Fusion work on my Fedora 8. Compiz Fusion is a new name for famous 3D desktop which named Beryl. Now two composite desktop managers have merged and now this union is called Compiz Fusion. After downloading their repository for yum I have installed everything like they [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p><a href="http://alexamiryan.files.wordpress.com/2008/04/0001d992.jpg"><img class="alignleft size-medium wp-image-10" style="margin-left:5px;margin-right:5px;float:left;" src="http://alexamiryan.files.wordpress.com/2008/04/0001d992.jpg?w=300" alt="" width="300" height="187" /></a>Few days ago I was trying to get <a href="http://www.compiz-fusion.org">Compiz Fusion</a> work on my Fedora 8. <a href="http://www.compiz-fusion.org">Compiz Fusion</a> is a new name for famous 3D desktop which named Beryl. Now two composite desktop managers have merged and now this union is called <a href="http://www.compiz-fusion.org">Compiz Fusion</a>. After downloading their <a href="http://www.dfm.uninsubria.it/compiz/fusion/compiz-fusion.repo">repository for yum</a> I have installed everything like they say in <a href="http://forum.compiz-fusion.org/showthread.php?t=6147&amp;highlight=fedora">forum</a>. Everything is fine, cool and everything like that, BUT!  When switching to another viewport of the cube, items in taskbar remains the same. For example I open Konqueror on Cube side 1 and open Firefox on Cube side 2. On Cube side 1 I see both firefox and konqueror. It is very uncomfortable! I start googling and find the alternative for KDE&#8217;s default taskbar. It called <a href="http://www.kde-apps.org/content/show.php?content=49484">taskbar-compiz</a>. After download and compiling it I have got new taskbar which supports viewports!!! It&#8217;s GREAT!!! BUT! When compiz-fusion is in autostart and when KDE loads, viewports doesn&#8217;t work again!!! I have noticed that if you remove taskbar-compiz then add it again it works. So taskbar-compiz have to load after compiz-fusion. For this reason I wrote a little Perl script which executes compiz fusion, waits some time and then restarts kicker using dcop.<br />
Here is my script:</p>
<pre class="brush: bash">#!&#47;usr&#47;bin&#47;perl
$pid1=fork();
if($pid1){
  exit;
}
$pid=fork();
if($pid){
  sleep(10);
  exec("dcop kicker kicker restart");
}
else{
  exec("fusion-icon");
}</pre>
<p>Put link to this script in ~/.kde/Autostart/</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2008/04/22/beryl-compiz-fusion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
