<?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>ph-lee &#187; ubuntu</title>
	<atom:link href="http://www.ph-lee.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ph-lee.com</link>
	<description>aspire to inspire before you expire</description>
	<lastBuildDate>Sat, 29 May 2010 19:11:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ubuntu shutdown and wakeup timer</title>
		<link>http://www.ph-lee.com/2010/01/03/ubuntu-shutdown-and-wakeup-timer/</link>
		<comments>http://www.ph-lee.com/2010/01/03/ubuntu-shutdown-and-wakeup-timer/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:59:35 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media centre]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[rtcwake]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=266</guid>
		<description><![CDATA[Going green
My all-in-one kubuntu media centre and general server sits unused most of the time. So why not set it to switch on and off in sync with when I need it based on the time of day. Should save on some bills.
Requirements

ACPI
Linux

Method
Setup a cron job as root to shutdown at the specified time. To [...]]]></description>
			<content:encoded><![CDATA[<h3>Going green</h3>
<p>My all-in-one <a href="http://www.kubuntu.org/">kubuntu</a> <a href="http://www.mythtv.org">media centre</a> and general server sits unused most of the time. So why not set it to switch on and off in sync with when I need it based on the time of day. Should save on some bills.</p>
<h3>Requirements</h3>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface">ACPI</a></li>
<li>Linux</li>
</ul>
<h3>Method</h3>
<p>Setup a cron job as root to shutdown at the specified time. To edit crons as root enter the following.</p>
<p><code>sudo crontab -u root -e</code></p>
<p>Add the following line to the list. This will shut down the box everyday at 0400. Of course you can modify as needed to suit your needs. And if you want to hibernate I&#8217;m sure theres a hibernate command.</p>
<p><code>0 4 * * * /sbin/shutdown -h now</code></p>
<p>While we&#8217;re at it we&#8217;ll also set up the wakeup time using rtcwake. So also add the following to the cron list.</p>
<p><code>45 3 * * * /usr/sbin/rtcwake -m no -s 29700</code></p>
<p>15 minutes before the shutdown we set the box to wake up in 29700 seconds which equates to 8 hours and 15 minutes. So the machine is scheduled to wake up at 12 noon.</p>
<h3>Setup</h3>
<p>This solution might be setup dependent so here are some specs that may help&#8230;</p>
<ul>
<li>Linux kubuntu 9.10 Karmic Koala</li>
<li>2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux</li>
<li>Motherboard: ASUS A7V-133 ACPI BIOS Revision 1007 (10/03/2001)</li>
</ul>
<p>Making media centres&#8217; greener.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2010/01/03/ubuntu-shutdown-and-wakeup-timer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MythTV blue screen on playback</title>
		<link>http://www.ph-lee.com/2009/12/28/mythtv-blue-screen-on-playback/</link>
		<comments>http://www.ph-lee.com/2009/12/28/mythtv-blue-screen-on-playback/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 00:54:24 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=256</guid>
		<description><![CDATA[Problem: Getting a blue screen on video and live TV playback with MythTV.
Solution from [ubuntu forums]
xvattr -a XV_CRTC -v 1
]]></description>
			<content:encoded><![CDATA[<p>Problem: Getting a blue screen on video and live TV playback with <a href="http://www.mythtv.org/">MythTV</a>.</p>
<p>Solution from <a href="http://ubuntuforums.org/showthread.php?t=606624">[ubuntu forums]</a></p>
<p><code>xvattr -a XV_CRTC -v 1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/12/28/mythtv-blue-screen-on-playback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>S-Video TV out on kubuntu</title>
		<link>http://www.ph-lee.com/2009/12/22/s-video-tv-out-on-kubuntu/</link>
		<comments>http://www.ph-lee.com/2009/12/22/s-video-tv-out-on-kubuntu/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 00:52:02 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media centre]]></category>
		<category><![CDATA[s-video]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=251</guid>
		<description><![CDATA[The problem: ubuntu media centre that hooks up to an old TV which takes S-video. Graphics card or ubuntu isn&#8217;t capable of automatically detecting the TV.
The solution: [Bernades] has an article on how to get ubuntu to detect the tv and output it using XRandR.
xrandr --output S-video --set load_detection 1
xrandr --output S-video --auto 
The problem [...]]]></description>
			<content:encoded><![CDATA[<p>The problem: ubuntu media centre that hooks up to an old TV which takes S-video. Graphics card or ubuntu isn&#8217;t capable of automatically detecting the TV.</p>
<p>The solution: <a href="http://mfbernardes.com/drupal/content/finally-i-got-tv-out-s-video-working-my-thinkpad-t42">[Bernades]</a> has an article on how to get ubuntu to detect the tv and output it using <a href="http://www.x.org/wiki/Projects/XRandR">XRandR</a>.</p>
<p><code>xrandr --output S-video --set load_detection 1</code></p>
<p><code>xrandr --output S-video --auto </code></p>
<p>The problem is that this isn&#8217;t persistent and as soon as you reboot you&#8217;ll be back to square one.</p>
<p><a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20xrandr%20changes%20persistently">[Ubuntu wiki]</a> shows a script can be setup to run the above lines of code on startup. So in my case of using kde add the above lines of code to the following file.</p>
<p><code>/etc/kde4/kdm/Xsetup</code></p>
<p>Give your a box a reboot and your linux media centre should be configured to use your TV.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/12/22/s-video-tv-out-on-kubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Path Environment variable</title>
		<link>http://www.ph-lee.com/2009/11/22/ubuntu-path-environment-variable/</link>
		<comments>http://www.ph-lee.com/2009/11/22/ubuntu-path-environment-variable/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 11:19:48 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=239</guid>
		<description><![CDATA[To get at it
sudo vim /etc/environment
To reload any changes you made
source /etc/environment
That&#8217;s it folks.
]]></description>
			<content:encoded><![CDATA[<p>To get at it</p>
<p><code>sudo vim /etc/environment</code></p>
<p>To reload any changes you made</p>
<p><code>source /etc/environment</code></p>
<p>That&#8217;s it folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/11/22/ubuntu-path-environment-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Flash on Firefox in Linux (ubuntu)</title>
		<link>http://www.ph-lee.com/2009/11/15/installing-flash-on-firefox-in-linux-ubuntu/</link>
		<comments>http://www.ph-lee.com/2009/11/15/installing-flash-on-firefox-in-linux-ubuntu/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:10:27 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=226</guid>
		<description><![CDATA[Easiest way to install flash on Firefox on ubuntu is explained at this faq at mozdev.org
If you&#8217;re wondering where your plugins directory is located there seem to be several. This article at lauchpad.net may give you the answer you need.
On top of that if you type in about:plugins in the address bar of firefox you [...]]]></description>
			<content:encoded><![CDATA[<p>Easiest way to install flash on Firefox on ubuntu is explained at this <a href="http://plugindoc.mozdev.org/faqs/flash.html#install-linux">faq at mozdev.org</a></p>
<p>If you&#8217;re wondering where your plugins directory is located there seem to be several. This <a href="https://answers.launchpad.net/ubuntu/+question/6988">article at lauchpad.net</a> may give you the answer you need.</p>
<p>On top of that if you type in about:plugins in the address bar of firefox you can see information regarding plugins already installed, including flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/11/15/installing-flash-on-firefox-in-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
