<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Random Ubuntu tip of the day—Spell check everywhere</title>
	<atom:link href="http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/feed/" rel="self" type="application/rss+xml" />
	<link>http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/</link>
	<description>Confusing fact and fiction, since 2006.</description>
	<lastBuildDate>Tue, 01 Nov 2011 18:38:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Luke</title>
		<link>http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/comment-page-1/#comment-3091</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Wed, 17 Mar 2010 21:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/#comment-3091</guid>
		<description>I tried this and the script didn&#039;t behave the way that I expected. I loved the idea thought so I made some changes. Instead of using xclip I used xsel. I found that by using xsel I could get the output from the spell checker to properly be put in the clipboard. I wasn&#039;t able to access where xclip was putting the final result with ctrl-v in applications. This was a problem since I wanted to quickly paste the correct spelling back into the application where I was working. Here is what I did. 


#!/usr/bin/env bash
# Copy clipboard contents to a temp file
xsel -ob &gt; /tmp/spell.tmp
# Run aspell on that file
aspell check /tmp/spell.tmp
# Copy the results back to the clipboard
cat /tmp/spell.tmp &#124; xsel -ib
exit</description>
		<content:encoded><![CDATA[<p>I tried this and the script didn&#039;t behave the way that I expected. I loved the idea thought so I made some changes. Instead of using xclip I used xsel. I found that by using xsel I could get the output from the spell checker to properly be put in the clipboard. I wasn&#039;t able to access where xclip was putting the final result with ctrl-v in applications. This was a problem since I wanted to quickly paste the correct spelling back into the application where I was working. Here is what I did. </p>
<p>#!/usr/bin/env bash<br />
# Copy clipboard contents to a temp file<br />
xsel -ob &gt; /tmp/spell.tmp<br />
# Run aspell on that file<br />
aspell check /tmp/spell.tmp<br />
# Copy the results back to the clipboard<br />
cat /tmp/spell.tmp | xsel -ib<br />
exit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/comment-page-1/#comment-2882</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Fri, 30 Nov 2007 09:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://simulacra.in/2007/11/random-ubuntu-tip-of-the-day-spell-check-everywhere/#comment-2882</guid>
		<description>wow...I am gonna try this one out soon..before that I also need to get the spell check working on my open office :-(</description>
		<content:encoded><![CDATA[<p>wow&#8230;I am gonna try this one out soon..before that I also need to get the spell check working on my open office :-(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

