<?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>Technical Blog of Richard Hughes &#187; command-not-found</title>
	<atom:link href="http://blogs.gnome.org/hughsie/tag/command-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/hughsie</link>
	<description>Blog about geeky stuff</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:10:34 +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>Command not found</title>
		<link>http://blogs.gnome.org/hughsie/2008/12/05/command-not-found/</link>
		<comments>http://blogs.gnome.org/hughsie/2008/12/05/command-not-found/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 16:58:05 +0000</pubDate>
		<dc:creator>hughsie</dc:creator>
				<category><![CDATA[PackageKit]]></category>
		<category><![CDATA[command-not-found]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=282</guid>
		<description><![CDATA[I&#8217;ve been quietly admiring the Debian BASH command not found functionality for a while. For those unfamiliar with the functionality, it suggests installing packages if you typed a command that is not installed. It also seemed to be pretty helpful suggesting replacements for typos. When Rahul opened a bug to include this in Fedora, I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been quietly admiring the Debian BASH command not found functionality for a while. For those unfamiliar with the functionality, it suggests installing packages if you typed a command that is not installed. It also seemed to be pretty helpful suggesting replacements for typos.</p>
<p>When <a href="http://fedoraproject.org/wiki/RahulSundaram">Rahul</a> opened a <a href="https://bugzilla.redhat.com/show_bug.cgi?id=432579">bug</a> to include this in Fedora, I figured this is just the sort of thing a framework like PackageKit needs to hook into. Roman Rakus put a simple patch in Fedora for bash, and now we&#8217;ll try to get it upstream. Then it will work on all distros that support PackageKit.</p>
<p>I spent this afternoon hacking a simple implementation. It&#8217;s up to the distro whether it should be installed by default on a base install. It&#8217;s also pretty configurable, so if you just want it to launch <strong>lshal</strong> everytime you type <strong>lshla</strong>, you can have that. If you want it to ask you before it installs <strong>shed</strong> to provide <em>/usr/bin/shed</em>, then that&#8217;s possible too. The simple configuration file is <a href="http://people.freedesktop.org/~hughsient/temp/CommandNotFound.conf">available here</a> for review.</p>
<p><a href="http://people.freedesktop.org/~hughsient/temp/pk-command-not-found.png"><img class="aligncenter" title="Command not found, in warn mode" src="http://people.freedesktop.org/~hughsient/temp/pk-command-not-found.png" alt="" width="641" height="111" /></a></p>
<p>There&#8217;s also a <a href="http://people.freedesktop.org/~hughsient/temp/pk-command-not-found.ogv">screencast available</a> if you want to see all the hotness.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/hughsie/2008/12/05/command-not-found/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/hughsie/tag/command-not-found/feed/ ) in 0.16008 seconds, on Feb 10th, 2012 at 1:39 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 10th, 2012 at 2:39 pm UTC -->
