<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Keeping Computing Personal</title>
	<atom:link href="http://kdepepo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdepepo.wordpress.com</link>
	<description>What is a PC? It is a machine that enables me to do my work, but does not limit my creativity. That allows me to communicate, but does not violate my privacy. A machine that I can set up like I want and have fun with, instead of making me frustrated. A machine that is open and honest, and does not obfuscate what it does. Only a machine that runs open source software deserves a name that describes what it is. A PC is a Personal Computer.</description>
	<lastBuildDate>Mon, 30 Jan 2012 02:11:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kdepepo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Keeping Computing Personal</title>
		<link>http://kdepepo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kdepepo.wordpress.com/osd.xml" title="Keeping Computing Personal" />
	<atom:link rel='hub' href='http://kdepepo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fast Lossless Color Image Compression</title>
		<link>http://kdepepo.wordpress.com/2012/01/30/fast-lossless-color-image-compression/</link>
		<comments>http://kdepepo.wordpress.com/2012/01/30/fast-lossless-color-image-compression/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 02:11:44 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=230</guid>
		<description><![CDATA[In the research field of compression, the usual goal is to achieve the best possible compression rate. The best known algorithms, however, are very slow, and sometimes impractical for real-world applications. When dealing with images, the situation becomes especially worse considering the fact that photo resolutions are ever increasing. Image sizes of 4500&#215;3000 pixels (or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=230&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the research field of compression, the usual goal is to achieve the best possible compression rate. The best known algorithms, however, are very slow, and sometimes impractical for real-world applications.</p>
<p>When dealing with images, the situation becomes especially worse considering the fact that photo resolutions are ever increasing. Image sizes of 4500&#215;3000 pixels (or more) are not uncommon. Uncompressed, this amounts to 40 megabytes for 24 bits/pixel, and having to wait several seconds for the image to load or save is annoying.</p>
<p align="center"><img src="http://farm4.staticflickr.com/3653/3499471010_a80f94ae33.jpg" width="500" height="390"><br /><i>London Bridge (Tower Bridge) : Reflection on the River Thames</i><br /><small>Photo by<a href="http://www.flickr.com/photos/anirudhkoul/">Anirudh Koul</a> at Flickr</small></p>
<p>JPEG, the de-facto standard for image compression, while still one of the fastest methods available, has one major drawback: it compresses lossy, in other words, whenever the image is saved, some fidelity is lost. For situations where multiple load/save cycles are to be expected, for example in photo manipulation applications, this is inacceptable.</p>
<p>In the recent months, I have been evaluating available lossless image compression algorithms to select one that is fast, but also good in compression efficiency.</p>
<p>Looking at the <a href="http://www.imagecompression.info/gralic/LPCB.html">Lossless Photo Compression Benchmark</a> I was a bit disappointed to find out that PNG, while quite fast in decompression and offering moderate compression rates, is very slow when compressing images.</p>
<p>The JPEG-LS format, being significantly faster at compression compared to PNG, and even offering improved compression rates of about 15%, seemed a good choice at first. It has, however, several drawbacks: Not only is it slower than PNG in decompression, but HP also has a patent on the used context modeling. No-Go.</p>
<p>What does a programmer do, when he is not satisfied with what is available? Right, he re-invents the world, only to make it better: Last week, I <a href="http://encode.ru/threads/1471-iz-New-fast-lossless-RGB-photo-compression">released</a> the initial version of <a href="http://gitorious.org/imagezero">ImageZero</a> (iz, pronounced &#8220;easy&#8221;), a high-performance lossless RGB photo codec.</p>
<p>Being twice as fast as PNG when decompressing (and more than 20 times faster when compressing) it achieves compression ratios that are near or better than PNG for natural photos, sometimes even better than JPEG-LS for very high quality photos. ImageZero is not intended for grayscale or artificial images, but I may improve the algorithms for those image types.</p>
<p align="center">
<table style="background:#FFFFCC;" border="0">
<th>Method</th>
<th>File Size</th>
<th>Compression</th>
<th>Decompression</th>
<tr>
<td>uncompressed</td>
<td>46380 KB</td>
<td align="right">-</td>
<td align="right">-</td>
</tr>
<tr>
<td>JLS</td>
<td>14984 KB</td>
<td align="right">6.6 s</td>
<td align="right">7.3 s</td>
</tr>
<tr>
<td>PNG</td>
<td>16256 KB</td>
<td align="right">42.4 s</td>
<td align="right">2.4 s</td>
</tr>
<tr>
<td>IZ</td>
<td>15496 KB</td>
<td align="right">1.2 s</td>
<td align="right">1.3 s</td>
</tr>
</table>
<div align="center"><i>Results for the full resolution &#8220;London Bridge&#8221; photo (4507&#215;3512 pixels)</i></div>
</p>
<p>The used algorithm is really easy: the per-pixel compression and decompression is done without any branches (except for a single branch in the bit coder), so that on today&#8217;s super scalar CPUs it can be executed very fast.</p>
<p>Possible uses include:<br />
- image/thumbnail databases<br />
- backing store for image processing apps<br />
- future icon format</p>
<p>If you are interested, please help shaping the library API and file format for .iz files. We can use the kde-imaging mailing list for discussion.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=230&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2012/01/30/fast-lossless-color-image-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>

		<media:content url="http://farm4.staticflickr.com/3653/3499471010_a80f94ae33.jpg" medium="image" />
	</item>
		<item>
		<title>Troubleshooting kded4 Bugs</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/</link>
		<comments>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comments</comments>
		<pubDate>Wed, 11 May 2011 00:47:57 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215</guid>
		<description><![CDATA[Not just recently, but as long as KDE exists, we are getting bug reports for the KDE process &#8220;kded4&#8220;. These include: kded4 crashes kded4 leaks memory kded4 eats 100% CPU kded4 &#60;defunct&#62; process Before I dive into troubleshooting those problems, let me explain what kded4 does and how it works. Little Demons Everywhere In the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=215&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Not just recently, but as long as KDE exists, we are getting bug reports for the KDE process &#8220;<code>kded4</code>&#8220;. These include:</p>
<ul>
<li>kded4 crashes</li>
<li>kded4 leaks memory</li>
<li>kded4 eats 100% CPU</li>
<li>kded4 &lt;defunct&gt; process</li>
</ul>
<p>Before I dive into troubleshooting those problems, let me explain what <code>kded4</code> does and how it works.</p>
<h4>Little Demons Everywhere</h4>
<p>In the Plasma Workspace there is a widget to show notifications when the battery goes low. But how does the widget know when this happens? It could just check the battery level every couple of seconds, but this would waste CPU cycles. Instead, many <a href="http://en.wikipedia.org/wiki/ACPI">ACPI BIOS</a> implementations can trigger <a href="http://en.wikipedia.org/wiki/Interrupt">hardware interrupts</a> to notify the operating system about the battery state.</p>
<p>Now Plasma could connect to the OS directly, but this would mean it will not run on other operating systems. The solution is a <em><a href="http://en.wikipedia.org/wiki/Daemon_(computer_software)">daemon</a></em> which has OS specific backends. They watch those OS signals and Plasma can connect to the daemon&#8217;s interface (usually via <a href="http://en.wikipedia.org/wiki/D-bus">D-Bus</a>) to learn about the battery&#8217;s health.</p>
<p>Thus a daemon is small <a href="http://en.wikipedia.org/wiki/Process_(computing)">process</a> that often just sits there and waits for OS events and triggers simple actions. KDE needs daemons to watch the network, the printer ports, the screen brightness hotkeys, the mounted disks, etc.</p>
<p>With the numbers of daemons we need, but with the very little work they do, it makes sense to use a single process for all of them. The key advantage is less memory usage, and this is exactly what <code>kded4</code>, the KDE daemon process, exploits: To enable the various daemon functionalities, it loads specialized <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKDEDModule.html">kded modules</a> instead of needing a separate process for each of them.</p>
<h4>The Crux of <code>kded4</code> Bugs</h4>
<p>The downside of this approach is that bugs in any of those modules can be fatal for the complete process; in other words, every module must function correctly for <code>kded4</code> to operate successfully. Which brings us back to the bugs: Some modules still have issues.</p>
<p>Lets say someone reports a problem about growing <code>kded4</code> memory usage. With the above description in mind, it is easy to understand that &#8211; without further analysis &#8211; the bug could be in any module, or even in multiple of them. Since the set of modules that developers use might be different than what the reporter used, and the daemons often only handle very seldom actions, many issues cannot be reproduced easily, and without some help from the bug reporter, those problems often cannot be fixed.</p>
<p>The following checklist should guide you through the steps required to troubleshoot <code>kded4</code> bugs and help collecting information needed to fix them.</p>
<h4>Make Sure the Bug is Reproducible</h4>
<p>Some bugs only show once. You installed an update, and on next reboot, <code>kded4</code> crashes, maybe because some configuration files were not correctly updated yet. On subsequent reboots, it works fine without a crash. What to do? Most people do not save previous configuration files, so even when going back to the old version before the update, the crash might never happen again.</p>
<p>You plugged in a headset, and <code>kded4</code> starts consuming 100% CPU cycles, maybe because a new device triggers a bug in underlying Phonon modules. If you restart, this bug never happens again, because Phonon might &#8220;remember&#8221; the headset, and not trigger the bug on this code path. Worth a report?</p>
<p>You log out of KDE, noticing you have hundreds of hanging (defunct) <code>kded4</code> processes lying around. After killing them all and logging in again, there is only a single <code>kded4</code> process, and that correctly terminates on logout, so you might think the problem was only temporary. The reason is that the process might only hang when a module performs a certain action; it is never the logout per se that makes <code>kded4</code> hang.</p>
<p>Related are problems that show when <code>kded4</code> hangs or does not run at all. The symptoms are often completely unrelated. For example, people notice cookies in Konqueror not working, and the usual cause is <code>kded4</code> not running. Some module might prevent it from starting, or cause it to hang, e.g. waiting for an event that never happens. Of course, these issues should also be fixed.</p>
<p>If you want to report such a bug, make sure you can reproduce it. Try finding old configuration files, try reverting to previous versions, try to find out what steps or actions are required to trigger it. Use the <code>top</code> console command to verify if <code>kde4</code> really consumes CPU cycles or eats memory. If you cannot reproduce, there is little chance we can. Bugs that never go away are easier, but that does not imply we can see them, too.</p>
<h4>Isolate the Offender</h4>
<p>The next step is to find out which module is responsible. Without this information, there is often little we can do.</p>
<p>Disable <code>kded4</code> modules in <em>System Settings &gt; Startup and Shutdown &gt; Service Manager</em>. Some modules cannot be disabled there or automatically start even if you disabled them. To disable such a module, remove its <code>.desktop</code> file from <code>/usr/share/kde4/services/kded/</code>, run <code>kbuildsycoca4</code>, and restart <code>kded4</code>. (Move them to a place where you can easily restore them. This requires <code>root</code> privileges.)</p>
<p>Regularily retrying to reproduce the bug with some modules disabled should eventually lead to the offender. Of course you should start with the &#8220;obvious&#8221; candidates. For example, if a problem shows when plugging an audio device, the fault is very likely in the <code>phononserver</code> module. For crashes, the offending module can often be found in the <a href="http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports">complete backtrace</a>.</p>
<p>But sometimes the bug is only triggered by specific combinations of modules, so some patience trying to find them certainly helps. If the problem is reproducible regardless of modules, the bug might really be in <code>kded4</code> itself, but this is very unlikely from looking at last years bug reports.</p>
<h4>Check Existing Bugs</h4>
<p>Before filing a <a href="https://bugs.kde.org/enter_bug.cgi?format=guided">new bug report</a>, you should check <a href="https://bugs.kde.org/buglist.cgi?quicksearch=kded">existing reports</a> for similar or identical problems. If you add a comment with your findings it may be the determining factor for fixing the bug. If you found no similar report, add a new one. Ideally you report it against the module which is responsible.</p>
<p>Note that some distributions might add additional distribution specific modules, in particular to check repositories for software updates. Bugs for those modules should be reported to the bug tracker of your distribution.</p>
<p>In any case, if you are not sure about any of above steps, you might contact KDE forums to ask for help. Even if you cannot provide all required information, it is better to write a report for a new bug, instead of hoping someone else does. Only if you want to see it fixed, of course.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=215&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>
	</item>
		<item>
		<title>Smaragd adds Emerald window decorations to KDE</title>
		<link>http://kdepepo.wordpress.com/2010/09/26/smaragd-adds-emerald-window-decorations-to-kde/</link>
		<comments>http://kdepepo.wordpress.com/2010/09/26/smaragd-adds-emerald-window-decorations-to-kde/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 01:29:09 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=199</guid>
		<description><![CDATA[Smaragd, the Emerald engine for the KDE window manager KWin, is nearing its first alpha release. While there is still no comfortable theme installation procedure, the engine has seen many improvements compared to the first announcement. In the latest 0.0.7 version, support for shadows, animations, and button glow has been added. Additionally, many bugs have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=199&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://kde-look.org/content/show.php/Smaragd+(Emerald+for+KDE)?content=125162">Smaragd</a>, the Emerald engine for the KDE window manager KWin, is nearing its first alpha release. While there is still no comfortable theme installation procedure, the engine has seen many improvements compared to the <a href="http://kdepepo.wordpress.com/2010/05/23/emerald-window-decoration-themes-on-kde/">first announcement</a>.</p>
<p>In the latest 0.0.7 version, support for shadows, animations, and button glow has been added. Additionally, many bugs have been fixed, and it should now support all Emerald themes, including those that do not provide its own button pixmaps.</p>
<p>If you want to test Smaragd, make sure you first try without custom button positions enabled in System Settings. Smaragd is then able to use the button positions from the theme and this guarantees best results. If you later would like to swap some buttons, or remove some, then you can enable custom button positions.</p>
<p>To manage your downloaded themes, you can use the following command (if you did not install KDE4 to /usr, then you have to adjust the path):</p>
<pre>khotnewstuff4 /usr/share/kde4/config/smaragd.knsrc</pre>
<p>This downloads .emerald theme files to the .kde/share/apps/smaragd/themes folder. To select a theme, extract one of those .emerald files to .emerald/theme/ and restart KWin. Make sure you delete any old theme files you had in .emerald/theme/ before you extract a new .emerald file.</p>
<p>Please report bugs or suggestions to <a href="http://kde-look.org/content/show.php/Smaragd+(Emerald+for+KDE)?content=125162">http://kde-look.org/content/show.php/Smaragd+(Emerald+for+KDE)?content=125162</a> or add a comment here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=199&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/09/26/smaragd-adds-emerald-window-decorations-to-kde/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>
	</item>
		<item>
		<title>Sounds on message dialogs</title>
		<link>http://kdepepo.wordpress.com/2010/06/25/sounds-on-message-dialogs/</link>
		<comments>http://kdepepo.wordpress.com/2010/06/25/sounds-on-message-dialogs/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 19:04:44 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=197</guid>
		<description><![CDATA[If you run KDE 4.5 from trunk, you should be prepared for some annoyance: I fixed bug 237670, so KDE is now (again) able to play sounds whenever a standard message box appears. Sounds used to be enabled since ever, but a little bug prevented the messages from triggering any notifications. If you like the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=197&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you run KDE 4.5 from trunk, you should be prepared for some annoyance: I fixed <a href="https://bugs.kde.org/show_bug.cgi?id=237670">bug 237670</a>, so KDE is now (again) able to play sounds whenever a standard message box appears.</p>
<p>Sounds used to be enabled since ever, but a little bug prevented the messages from triggering any notifications.</p>
<p>If you like the old behavior, disable the sounds using &#8220;kcmshell4 notify&#8221;, component is &#8220;KDE Workspace&#8221;, and the actions are all called &#8220;Messages&#8221;.</p>
<p>The fix is not in KDE 4.5 RC1, but will appear in the second release candidate.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=197&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/06/25/sounds-on-message-dialogs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>
	</item>
		<item>
		<title>Emerald window decoration themes on KDE</title>
		<link>http://kdepepo.wordpress.com/2010/05/23/emerald-window-decoration-themes-on-kde/</link>
		<comments>http://kdepepo.wordpress.com/2010/05/23/emerald-window-decoration-themes-on-kde/#comments</comments>
		<pubDate>Sun, 23 May 2010 14:16:29 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=195</guid>
		<description><![CDATA[Today I released the initial version of Smaragd, a themable window decoration engine that allows you to use Compiz/Beryl Emerald themes together with the KDE window manager KWin. This version is not yet ready for production use (there are no shadows and theme installation has to be done manually), but you can already start choosing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=195&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I released the initial version of <a href="http://kde-look.org/content/show.php/Smaragd+(Emerald+for+KDE)?content=125162">Smaragd</a>, a themable window decoration engine that allows you to use Compiz/Beryl Emerald themes together with the KDE window manager KWin.</p>
<p>This version is not yet ready for production use (there are no shadows and theme installation has to be done manually), but you can already start choosing your favorite theme out of <a href="http://openDesktop.org/index.php?xcontentmode=102x103">over 1500 available Emerald themes</a>.</p>
<p>For details, see <a href="http://kde-look.org/content/show.php/?content=125162">http://kde-look.org/content/show.php/?content=125162</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=195&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/05/23/emerald-window-decoration-themes-on-kde/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>
	</item>
		<item>
		<title>Accelerating color gradients</title>
		<link>http://kdepepo.wordpress.com/2010/05/03/accelerating-color-gradients/</link>
		<comments>http://kdepepo.wordpress.com/2010/05/03/accelerating-color-gradients/#comments</comments>
		<pubDate>Mon, 03 May 2010 20:58:08 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=190</guid>
		<description><![CDATA[While looking for ways to improve the KDE color selection dialog, I stumbled upon the slow rendering of the hue/saturation color gradient. Using a simple trick such gradients can be rendered using hardware facilities. The goal is to render a two-dimensional gradient as depicted below. The current implementation allocates a properly sized QImage, and computes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=190&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While looking for ways to improve the <a href="http://svn.reviewboard.kde.org/r/3566/s/376/">KDE color selection dialog</a>, I stumbled upon the slow rendering of the <a href="http://en.wikipedia.org/wiki/Hue">hue</a>/<a href="http://en.wikipedia.org/wiki/Saturation_(color_theory)">saturation</a> <a href="http://en.wikipedia.org/wiki/Color_gradient">color gradient</a>. Using a simple trick such gradients can be rendered using hardware facilities.</p>
<p>The goal is to render a two-dimensional gradient as depicted below. The current implementation allocates a properly sized <a href="http://doc.qt.nokia.com/4.6/qimage.html">QImage</a>, and computes the RGB color values for each individual pixel.</p>
<p align="center"><img src="http://kdepepo.files.wordpress.com/2010/05/hue-saturation-gradient.png?w=256&#038;h=256" width="256" height="256" alt="Hue/saturation two-dimensional gradient" /><br /><i>Hue/saturation two-dimensional gradient</i></p>
<p>This requires, however, nearly hundred thousand conversions from <a href="http://en.wikipedia.org/wiki/HSL_and_HSV">HSV</a> to RGB color values, and is the primary cause for the slowness of the dialog.</p>
<p>When looking at the resulting RGB values, you will notice that each row (&#8220;scanline&#8221;) is actually a one-dimensional linear gradient, so it could be rendered using <a href="http://doc.qt.nokia.com/4.6/qlineargradient.html">QLinearGradient</a>.</p>
<p>Looking further, you will also see that there is a linear gradient in each column. Such a gradient is called &#8220;bilinear&#8221;, but Qt does not offer a two-dimensional QGradient class.</p>
<p>The trick is to create this bilinear gradient by scaling up a very small QImage. The image you see above is actually only 7&#215;2 pixels large. The image is then rendered to a larger <a href="http://doc.qt.nokia.com/4.6/qpixmap.html">QPixmap</a> with scaling applied, so that possible hardware scaling can be used.</p>
<p>A requirement is that pixmap scaling supports bilinear interpolation. This mode, however, is even available with the software scaling algorithms built into Qt.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=190&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/05/03/accelerating-color-gradients/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/05/hue-saturation-gradient.png" medium="image">
			<media:title type="html">Hue/saturation two-dimensional gradient</media:title>
		</media:content>
	</item>
		<item>
		<title>Improved window themes with deKorator 0.5</title>
		<link>http://kdepepo.wordpress.com/2010/04/01/improved-window-themes-with-dekorator-0-5/</link>
		<comments>http://kdepepo.wordpress.com/2010/04/01/improved-window-themes-with-dekorator-0-5/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:19:35 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[deKorator]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=170</guid>
		<description><![CDATA[If you love to customize the appearance of your KDE Desktop, then you probably already know deKorator, a pixmap window decoration engine initially written by Moty Rahamim for KDE 3. When I ported it to KDE 4, I did not try to improve it in any way; my first goal was to have it available [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=170&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you love to customize the appearance of your <a href="http://kde.org/">KDE Desktop</a>, then you probably already know <a href="http://en.wordpress.com/tag/deKorator/">deKorator</a>, a pixmap window decoration engine initially written by <a href="http://kde-look.org/content/show.php/deKorator?content=31447">Moty Rahamim for KDE 3</a>.</p>
<p>When I <a href="http://kdepepo.wordpress.com/2008/10/30/dekorator-ported-to-kde-4/">ported it to KDE 4</a>, I did not try to improve it in any way; my first goal was to have it available at all. The only new feature in deKorator 0.4 was <a href="http://kdepepo.wordpress.com/2009/04/30/argb-window-themes-in-dekorator/">support for transparent themes</a> to make use of the ARGB ability of KWin 4.3.</p>
<p>Today, <a href="http://kde-look.org/content/show.php/deKorator?content=87921">deKorator version 0.5.1</a> has been released, and it comes packed with a whole lot of new features and bug fixes. I was too lazy to update the ChangeLog file (you can get the svn log from <a href="http://websvn.kde.org/trunk/playground/artwork/dekorator/">playground/artwork/dekorator</a>, though), but since the changes need to be documented somewhere for theme writers, I decided to write a small &#8220;changeblog&#8221;.</p>
<p><b>Improved theme installation and selection</b></p>
<p>The most often reported bug required a rewrite of the theme selection dialog.</p>
<div align="center"><img src="http://kdepepo.files.wordpress.com/2010/04/dekorator-new-theme-selection.png?w=497&#038;h=407" alt="deKorator new theme selection dialog" width="497" height="407" /></div>
<div align="center"><i>The new theme selection dialog shows previews of the themes</i></div>
<p>When you installed a theme and clicked on it in the list, it was not selected as the current theme, but you had to &#8220;apply paths&#8221; first. The feature to set individual paths has been removed from the dialog; simply clicking on a theme selects the paths automatically (you can still set them in the config file manually).</p>
<p><b>Improved detection of theme files</b></p>
<p>Another problem was that installation of themes often failed because of the strict naming requirements. Now the detection is much better, it even detects old deKorator 0.1 themes, and tries to find decoration archives inside the installed archive. Some themes still do not install correctly because of wired bugs in the theme files. For example, there are themes that have the &#8220;deco&#8221; and &#8220;buttons&#8221; directories directly in the root of the archive, without any directory for the theme name &#8230;</p>
<p><b>GetHotNewStuff support</b></p>
<p>For many themes, installation can now be done directly from the <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/knewstuff/html/index.html">KNewStuff</a> interface to the <a href="http://opendesktop.org/">openDesktop.org</a> site <a href="http://kde-look.org/">&#8220;kde-look.org&#8221;</a>, where over <a href="http://kde-look.org/index.php?xcontentmode=21">150 deKorator themes</a> can be downloaded.</p>
<div align="center"><img src="http://kdepepo.files.wordpress.com/2010/04/dekorator-knewstuff.png?w=503&#038;h=322" alt="deKorator KNewStuff download dialog" width="503" height="322" /></div>
<div align="center"><i>Download and rate deKorator themes using the GHNS dialog</i></div>
<p>Thanks to improvements in the coming KDE SC 4.5 release, you will even be able to rate themes or upload your own themes. With that, we come to a feature that will be appreciated by theme creators.</p>
<p><b>Separate images for inactive windows</b></p>
<p>User &#8220;Shirakawasuna&#8221; requested a set of different images for buttons on inactive windows, and later suggested to use <a href="http://en.wikipedia.org/wiki/Emerald_(window_decorator)">Emerald</a> compatible button files. This has now be implemented in deKorator 0.5.1.</p>
<div align="center"><img src="http://kdepepo.files.wordpress.com/2010/04/dekorator-emerald-buttons.png?w=360&#038;h=56" alt="deKorator buttons image file from Emerald themes" width="360" height="56" /></div>
<div align="center"><i>A single image contains all button states<br />(the chessboard pattern shows transparency)</i></div>
<p>Inside the &#8220;buttons&#8221; directory, there are usually the directories &#8220;normal&#8221;, &#8220;hover&#8221;, and &#8220;press&#8221;, but you can now also place a single file for each button type directly inside the &#8220;buttons&#8221; directory. The file has to be named &#8220;buttons&lt;Type&gt;.png&#8221;, where &lt;Type&gt; is &#8220;Close&#8221;, &#8220;Max&#8221;, &#8220;Min&#8221;, &#8220;Restore&#8221;, etc. as before.</p>
<div align="center" style="background:#EEEEEE;margin-left:6em;margin-right:6em;"><font size="-2">
<div align="left" style="white-space:pre;margin:1em;">Example-theme/<br />    deco/<br />        leftTitleBg.png<br />        midTitleBg.png<br />        &#8230;<br />        inactive/<br />            leftTitleBg.png<br />            midTitleBg.png<br />    buttons/<br />        buttonsClose.png<br />        buttonsMax.png<br />        &#8230;<br />        normal/<br />            buttonClose.png<br />            buttonMax.png<br />            &#8230;<br />        press/<br />        hover/<br />    masks/<br />        topLeftCornerBitmap.png<br />        topRightCornerBitmap.png<br />        &#8230;</div>
<p></font></div>
<div align="center"><i>Contents of deKorator theme archive &#8220;Example-theme.tar.gz&#8221;</i></div>
<p>This file must have six images in a single row, all equally sized. The order is &#8220;normal&#8221;, &#8220;hover&#8221;, &#8220;press&#8221; for active windows, then &#8220;normal&#8221;, &#8220;hover&#8221;, &#8220;press&#8221; for inactive windows. For compatibility, you should keep the old individual button files until the new version has been adopted by users.</p>
<p><b>Note:</b> When porting <a href="http://kde-look.org/index.php?xcontentmode=102x103">Emerald themes</a>, you have to rename the files, e.g. from &#8220;buttons.max.png&#8221; to &#8220;buttonsMax.png&#8221;. You might also need to add some transparent padding to get them aligned correctly within the frame, as deKorator always centers images that are smaller than the frame.</p>
<p>Additionally, you can now also supply separate images for the frame of inactive windows.</p>
<div align="center"><img src="http://kdepepo.files.wordpress.com/2010/04/dekorator-separate-inactive-deco.png?w=400&#038;h=145" alt="Example of separate decoration images" width="400" height="145" /></div>
<div align="center"><i>deKorator supports separate decoration images for active and inactive windows</i></div>
<p>Inside the &#8220;deco&#8221; directory, you can place a directory named &#8220;inactive&#8221; with the same file layout. You do not need to add all images; those that are not provided are used from the &#8220;deco&#8221; directory.</p>
<table cellpadding="4" cellspacing="0" style="background-color:#EEEEAA;color:#000000;margin:1em;">
<tr style="background-color:#DDDD99;text-align:center;">
<th><b>Attention! Use this feature with care!</b>
<th>
<tr>
<tr>
<td>deKorator has been designed to allow the user to colorize active and inactive window frames by using the respective colors from Systemsettings, so do <b>not</b> provide separate images if you just want different colors. It is intended that this feature is used to make graphics for inactive windows less detailed (for example, by removing stripes or other decorations). Check the &#8220;Modern System&#8221; or &#8220;KDE 2&#8243; themes to see what I mean.</td>
</tr>
</table>
<p>I hope that these improvements give theme writers more freedom in their design or porting efforts; I am looking forward to new themes, maybe even some with real alpha transparency.</p>
<p><b>Bug fixes in deKorator 0.5.1</b></p>
<ul>
<li>Fix borders on maximized windows (requested by user &#8220;Shirakawasuna&#8221;)</li>
<li>Fix resize region with small borders (thanks to &#8220;Shirakawasuna&#8221; for reporting the issue, clearly seen on his &#8220;Dots&#8221; theme)</li>
<li>Fix &#8220;hand&#8221; cursor over buttons (requested by &#8220;Shirakawasuna&#8221;)</li>
<li>Fix possible crash with NoBorder option (reported by &#8220;Ace2016&#8243;, thanks!)</li>
<li>Fix large images being cropped instead of scaled (reported/requested by &#8220;Shirakawasuna&#8221;, clearly seen on his Reluna-Bluetiful port)</li>
<li>Fix stuck windows when shading windows with masks (this was first reported by &#8220;Thailandian&#8221;, and later &#8220;greggel&#8221; found out how to trigger it. Thanks to both!)</li>
<li>Fix spelling mistake for masks (found by &#8220;Shirakawasuna&#8221;)</li>
<li>Fix wrong button image &#8220;StickyDownPress&#8221; used instead of &#8220;StickyPress&#8221; (thanks to user &#8220;greggel&#8221; for reporting)</li>
<li>Fix partial transparency on button backgrounds (that bug was unnoticed, because there are no partially transparent themes yet)</li>
</ul>
<p>If you find anything else that needs to be improved, please use the <a href="https://bugs.kde.org/buglist.cgi?product=dekorator">bugs.kde.org</a> bugtracker.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=170&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/04/01/improved-window-themes-with-dekorator-0-5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/04/dekorator-new-theme-selection.png" medium="image">
			<media:title type="html">deKorator new theme selection dialog</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/04/dekorator-knewstuff.png" medium="image">
			<media:title type="html">deKorator KNewStuff download dialog</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/04/dekorator-emerald-buttons.png" medium="image">
			<media:title type="html">deKorator buttons image file from Emerald themes</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/04/dekorator-separate-inactive-deco.png" medium="image">
			<media:title type="html">Example of separate decoration images</media:title>
		</media:content>
	</item>
		<item>
		<title>Skulpture 0.2.4 released</title>
		<link>http://kdepepo.wordpress.com/2010/02/08/skulpture-0-2-4-released-2/</link>
		<comments>http://kdepepo.wordpress.com/2010/02/08/skulpture-0-2-4-released-2/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:10:23 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Skulpture]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=161</guid>
		<description><![CDATA[Just in time with the KDE SC 4.4 release, I was able to get out another release of Skulpture, my favorite widget style. The list of fixes is quite long again, partly because Qt 4.6 required some adaptions. The most annoying bug, the Tab key handling in Konversation, has finally been fixed. Two other bugs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=161&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just in time with the <a href="http://kde.org/announcements/4.4/">KDE SC 4.4</a> release, I was able to get out another release of <a href="http://skulpture.maxiom.de/">Skulpture</a>, my favorite widget style. The list of fixes is quite long again, partly because <a href="http://doc.trolltech.com/4.6/index.html">Qt 4.6</a> required some adaptions. The most annoying bug, the Tab key handling in <a href="http://konversation.kde.org/">Konversation</a>, has finally been fixed. Two other bugs could cause crashes, so you are advised to update.
</p>
<p>
Source code and packages for all major distributions are available for download from the <a href="http://www.kde-look.org/content/show.php/?content=59031">kde-look.org</a> site. Note that these packages are not official; you should switch to distribution packages once they are available.
</p>
<p><img src="http://kdepepo.files.wordpress.com/2010/02/skulpture-demo.png?w=500&#038;h=368" width="500" height="368" alt="Skulpture Demo" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=161&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2010/02/08/skulpture-0-2-4-released-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2010/02/skulpture-demo.png" medium="image">
			<media:title type="html">Skulpture Demo</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Look at it again!&#8221;</title>
		<link>http://kdepepo.wordpress.com/2009/12/04/look-at-it-again/</link>
		<comments>http://kdepepo.wordpress.com/2009/12/04/look-at-it-again/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:28:41 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=147</guid>
		<description><![CDATA[Do you want a stable and bug-free KDE Workspace? You certainly do. But before I talk about bugs, let me chat a bit about myself. Being a math teacher is not easy; your students hate you for that fact alone. And I have a habit that makes them hate me even more: When there is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=147&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Do you want a stable and bug-free KDE Workspace? You certainly do. But before I talk about bugs, let me chat a bit about myself.</p>
<p>Being a math teacher is not easy; your students hate you for that fact alone. And I have a habit that makes them hate me even more: When there is something wrong with their math, I usually do not help immediately. Instead, I keep saying &#8220;look at it again!&#8221;, not even telling them <i>where</i> their mistake is. Only eventually they give up, and I need to guide them to the correct solution.</p>
<p>Okay, to tell the truth, they fully support my &#8220;bad habit&#8221;, because they learn a lot this way. A good mixture of reasoning, patience, and pedantism cannot be bad.</p>
<p>Now, why am I telling you all this?</p>
<p>Today, I closed three bug reports about crashes inside KDirWatch, all duplicates of the well known <a href="https://bugs.kde.org/show_bug.cgi?id=165548">inotify crash bug</a> that is happening since 4.0. The backtraces were, however, a bit different, and so I asked David Faure (our KIO maintainer) what could be the reason for this.</p>
<p>The whole inotify handling in kdelibs is really low level, nothing a casual C++ programmer wants to look at. I did, however, look at the code some months ago, when I had the (self-imposed) mission to resolve all kdelibs crashers (I miserably failed at that, though). There was nothing wrong with the code. I swear, nothing.</p>
<p>Said bug often happens with updates from package managers. I was thinking about some updated libraries having a different binary layout and with all the latest fuzz about inotify bugs in Linux kernel 2.6.31, which could cause folder views to not refresh on changes, I even feared some incompatibility.</p>
<p>So I &#8220;looked at it again&#8221;. And guess what? The reason for the crash was <i>obvious</i>, David immediately saw another related bug, and we were able to create <a href="http://websvn.kde.org/?revision=1058169&amp;view=revision">a patch</a> in just about two hours. After committing that, I looked at the patch, and found a bug that I introduced. Fixed that, committed that. Guess what? I &#8220;looked at it again&#8221;, and saw my (hopefully) last mistake.</p>
<p>There is one big difference between us KDE developers and my students. We cannot give up and hope someone guides us to our mistakes. We have to &#8220;look at it again&#8221; (and again).</p>
<p>PS: The fix is probably too late for the 4.4 beta1 release, but let&#8217;s hope the bug is gone for good with the beta2 release.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=147&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2009/12/04/look-at-it-again/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>
	</item>
		<item>
		<title>Short KDE Toolbar Texts</title>
		<link>http://kdepepo.wordpress.com/2009/08/10/short-kde-toolbar-texts/</link>
		<comments>http://kdepepo.wordpress.com/2009/08/10/short-kde-toolbar-texts/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 13:26:51 +0000</pubDate>
		<dc:creator>kdepepo</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=141</guid>
		<description><![CDATA[If you use text under or alongside your toolbar icons, you might have the desire to change some of the texts to make them shorter, especially if you do not use english language texts. This tutorial describes the steps needed for KDE 4 applications. As an example, the goal is to change the text &#8220;Compare [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=141&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you use text under or alongside your toolbar icons, you might have the desire to change some of the texts to make them shorter, especially if you do not use english language texts. This tutorial describes the steps needed for KDE 4 applications. As an example, the goal is to change the text &#8220;Compare Files&#8221; to &#8220;Diff&#8221; in the Dolphin toolbar.</p>
<p><img src="http://kdepepo.files.wordpress.com/2009/08/dolphin-toolbar-largetext.png?w=480" alt="Dolphin toolbar with long icon text" /></p>
<p><b>Step 1: Make sure the application uses &#8220;appnameui.rc&#8221;</b></p>
<p>Usually if an application allows editing the toolbars, it saves its custom configuration to a file ending in &#8220;ui.rc&#8221; in the <code>.kde/share/apps/appname/</code> directory. To find out if an application really uses this file, simply change the toolbar of that application using the &#8220;Configure Toolbars &#8230;&#8221; dialog, and check if said file exists. For Dolphin, the file is <code>.kde/share/apps/dolphin/dolphinui.rc</code></p>
<p><b>Note:</b> This step might crash with some applications (bug reports are already filed). The configuration file is usually still saved correctly.</p>
<p><b>Step 2: Select the action that you want to edit</b></p>
<p>Change the icon of the toolbar action that you would like to change the text on. This is only required to get the proper &#8220;Action&#8221; entry generated in the ui.rc file. There is a &#8220;Change Icon &#8230;&#8221; button in the toolbar dialog that opens the icon selector. For this example, I changed the icon for the &#8220;Compare Files&#8221; action to the &#8220;edit-copy&#8221; icon.</p>
<p><img src="http://kdepepo.files.wordpress.com/2009/08/dolphin-configure-toolbars.png?w=480" alt="Dolphin's “Configure Toolbar ...” dialog" /></p>
<p><b>Step 3: Change the ui.rc file using a text editor</b></p>
<p>Load the ui.rc file in a text editor. It is an XML file. Near the end of the file there is an &lt;ActionProperties&gt; tag. Inside this tag all modified actions appear:</p>
<pre>
 &lt;ActionProperties scheme="Default"&gt;
  &lt;Action icon="edit-copy" name="compare_files"/&gt;
 &lt;/ActionProperties&gt;
</pre>
<p>Now delete the &#8220;icon&#8221; property and replace it with the &#8220;iconText&#8221; property:</p>
<pre>
 &lt;ActionProperties scheme="Default"&gt;
  &lt;Action iconText="Diff" name="compare_files"/&gt;
 &lt;/ActionProperties&gt;
</pre>
<p>Save the file. This will do two things if you restart Dolphin: you get the original icon back, and the icon text is changed from &#8220;Compare File&#8221; to &#8220;Diff&#8221;.</p>
<p><img src="http://kdepepo.files.wordpress.com/2009/08/dolphin-toolbar-shorttext.png?w=480" alt="Dolphin toolbar with short icon text" /></p>
<p>Of course a real improvement would be if translators could simply provide two translations for the action texts, but KDE cannot handle it right now without the developer providing two translatable strings in the first place. I am currently investigating a solution for KDE 4.4, that does not add burden to translators or developers, and works with existing applications transparently. If I fail, I will add text customization from the toolbar edit GUI, as shown in the screen shot.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kdepepo.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kdepepo.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kdepepo.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kdepepo.wordpress.com&amp;blog=5346756&amp;post=141&amp;subd=kdepepo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kdepepo.wordpress.com/2009/08/10/short-kde-toolbar-texts/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">kdepepo</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2009/08/dolphin-toolbar-largetext.png" medium="image">
			<media:title type="html">Dolphin toolbar with long icon text</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2009/08/dolphin-configure-toolbars.png" medium="image">
			<media:title type="html">Dolphin&#039;s “Configure Toolbar ...” dialog</media:title>
		</media:content>

		<media:content url="http://kdepepo.files.wordpress.com/2009/08/dolphin-toolbar-shorttext.png" medium="image">
			<media:title type="html">Dolphin toolbar with short icon text</media:title>
		</media:content>
	</item>
	</channel>
</rss>
