<?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>Algorithm-Forge &#187; Desktop</title>
	<atom:link href="http://www.algorithm-forge.com/techblog/category/desktop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.algorithm-forge.com/techblog</link>
	<description>Java, R, Statistics, Algorithms and other stuff</description>
	<lastBuildDate>Sun, 18 Jul 2010 16:53:32 +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>Executable application launcher</title>
		<link>http://www.algorithm-forge.com/techblog/2009/07/executable-application-launcher/</link>
		<comments>http://www.algorithm-forge.com/techblog/2009/07/executable-application-launcher/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 13:44:13 +0000</pubDate>
		<dc:creator>Kornelius Rohmeyer</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.algorithm-forge.com/techblog/?p=14</guid>
		<description><![CDATA[Under Linux we are creating launchers for our applications according to the Freedesktop Desktop Entry Specification. With recent versions of Gnome or KDE we get the following launcher: When the launcher is clicked, it is asked whether the application should &#8230; <a href="http://www.algorithm-forge.com/techblog/2009/07/executable-application-launcher/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Under Linux we are creating launchers for our applications according to the <a href="http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec">Freedesktop Desktop Entry Specification</a>. With recent versions of Gnome or KDE we get the following launcher:</p>
<div id="attachment_12" class="wp-caption alignnone" style="width: 167px"><img class="size-full wp-image-12" title="Untrusted application launcher" src="http://www.algorithm-forge.com/techblog/wp-content/uploads/2009/07/starter1.png" alt="Untrusted application launcher" width="157" height="152" /><p class="wp-caption-text">Untrusted application launcher</p></div>
<p>When the launcher is clicked, it is asked whether the application should be trusted.</p>
<p>Why? Because recently the desktop environment developers became aware of the following problem:</p>
<p>Some browser like Firefox are saving files to the desktop. When someone is now providing a link to a file with a <tt>.desktop</tt> extension, it would appear as a desktop launcher on the desktop. Without any problem it could look like a arbitrary starter e.g. for Firefox (provided the according image like <tt>/usr/share/pixmaps/firefox-3.0.png</tt> can be correctly guessed) but do something completely different and possibly malignant.</p>
<p>Therefore in recent version of GNOME and KDE the desktop launchers need to have execute permissions (which is not preserved for downloaded files). Then they look and act again as normal:</p>
<div id="attachment_13" class="wp-caption alignnone" style="width: 167px"><img class="size-full wp-image-13" title="Executable application launcher" src="http://www.algorithm-forge.com/techblog/wp-content/uploads/2009/07/starter2.png" alt="Executable application launcher" width="157" height="152" /><p class="wp-caption-text">Executable application launcher</p></div>
<p>So don&#8217;t forget to give your desktop launchers execute permissions! <img src='http://www.algorithm-forge.com/techblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.algorithm-forge.com/techblog/2009/07/executable-application-launcher/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

