<?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>PuppyPowered &#187; htpc</title>
	<atom:link href="http://puppypowered.com/category/htpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://puppypowered.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 17:10:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>XBMC Launch Script for Ubuntu 11.04</title>
		<link>http://puppypowered.com/135/xbmc-launch-script-for-ubuntu-11-04/</link>
		<comments>http://puppypowered.com/135/xbmc-launch-script-for-ubuntu-11-04/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 18:27:57 +0000</pubDate>
		<dc:creator>whitedog</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://puppypowered.com/?p=135</guid>
		<description><![CDATA[Being a happy Ubuntu user for a while, I installed XBMC on my HTPC. As this machine is also used as a desktop (it&#8217;s in the living room) I wanted a script to launch Ubuntu and place it on the &#8230; <a href="http://puppypowered.com/135/xbmc-launch-script-for-ubuntu-11-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Being a happy Ubuntu user for a while, I installed XBMC on my HTPC. As this machine is also used as a desktop (it&#8217;s in the living room) I wanted a script to launch Ubuntu and place it on the TV that is connected trough HDMI. After trying a bunch of scripts I found on the internet none of them really worked the way I wanted. For starters, Gnome only gives me one desktop to play around with. This script does the following:</p>
<ul>
<li>Disable the power manager</li>
<li>Activate HDMI1</li>
<li>Start XMBC, move it to the second scren and maximize it</li>
<li>Undo the above once XBMC is closed</li>
</ul>
<p>Off course you will need to change a few parameters to make it work for your case. Your TV might not be connected to HDMI1 and may have a different size for example.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#! /bin/bash</span><br />
<span style="color: #000000; font-weight: bold;">if</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>xrandr <span style="color: #660033;">--prop</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-q</span> <span style="color: #ff0000;">&quot;HDMI1 connected&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Disable Power Manager&quot;</span><br />
&nbsp; &nbsp; gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--set</span> <span style="color: #660033;">--type</span> integer <span style="color: #ff0000;">&quot;/apps/gnome-power-manager/timeout/sleep_computer_ac&quot;</span> <span style="color: #000000;">0</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Activate HDMI1&quot;</span><br />
&nbsp; &nbsp; xrandr <span style="color: #660033;">--output</span> HDMI1 <span style="color: #660033;">--left-of</span> HDMI2 <span style="color: #660033;">--mode</span> 1920x1080<br />
&nbsp; &nbsp; xrandr <span style="color: #660033;">--output</span> HDMI2 <span style="color: #660033;">--auto</span> <span style="color: #660033;">--primary</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Start XBMC in background&quot;</span><br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">killall</span> <span style="color: #660033;">-s9</span> <span style="color: #660033;">-q</span> xbmc.bin<br />
&nbsp; &nbsp; xbmc <span style="color: #000000; font-weight: bold;">&amp;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Wait for the XBMC window to appear&quot;</span><br />
&nbsp; &nbsp; <span style="color: #007800;">status</span>=<span style="color: #000000;">0</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$status</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007800;">status</span>=<span style="color: #000000; font-weight: bold;">`</span>wmctrl <span style="color: #660033;">-x</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;XBMC Media Center&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">done</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Move XBMC to secondary screen&quot;</span><br />
&nbsp; &nbsp; wmctrl <span style="color: #660033;">-x</span> <span style="color: #660033;">-r</span> XBMC Media Center.XBMC Media Center <span style="color: #660033;">-e</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">800</span>,<span style="color: #000000;">600</span><br />
<br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Force XBMC window to fullscreen&quot;</span><br />
&nbsp; &nbsp; wmctrl <span style="color: #660033;">-x</span> <span style="color: #660033;">-r</span> XBMC Media Center.XBMC Media Center <span style="color: #660033;">-b</span> toggle,fullscreen<br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># Wait for the XBMC window to disappear</span><br />
&nbsp; &nbsp; <span style="color: #007800;">status</span>=<span style="color: #000000;">1</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$status</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007800;">status</span>=<span style="color: #000000; font-weight: bold;">`</span>wmctrl <span style="color: #660033;">-x</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;XBMC Media Center&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">done</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Disable HDMI1&quot;</span><br />
&nbsp; &nbsp; xrandr <span style="color: #660033;">--output</span> HDMI1 <span style="color: #660033;">--off</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Wait 2 seconds for xrandr to complete&quot;</span><br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">2</span><br />
<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Enable Power Manager (Sleep / 30 Minutes)&quot;</span><br />
&nbsp; &nbsp; gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--set</span> <span style="color: #660033;">--type</span> integer <span style="color: #ff0000;">&quot;/apps/gnome-power-manager/timeout/sleep_computer_ac&quot;</span> <span style="color: #000000;">1800</span><br />
<span style="color: #000000; font-weight: bold;">else</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;HDMI1 is not connected&quot;</span><br />
<span style="color: #000000; font-weight: bold;">fi</span></div></td></tr></tbody></table></div>
<p>There you go. If you have any suggestions or need help getting this to work on your end feel free to leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://puppypowered.com/135/xbmc-launch-script-for-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HDMI Sound Cards</title>
		<link>http://puppypowered.com/8/hdmi-sound-cards/</link>
		<comments>http://puppypowered.com/8/hdmi-sound-cards/#comments</comments>
		<pubDate>Sun, 18 May 2008 09:50:24 +0000</pubDate>
		<dc:creator>whitedog</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[auzentech]]></category>
		<category><![CDATA[card]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[xonar]]></category>

		<guid isPermaLink="false">http://puppypowered.com/?p=8</guid>
		<description><![CDATA[As i am looking into upgrading my Home Theater to support Full HD, one problem that comes up is audio. While most people are just starting to become familiar with optical connections, the industry has already moved beyond that point. &#8230; <a href="http://puppypowered.com/8/hdmi-sound-cards/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As i am looking into upgrading my Home Theater to support Full HD, one  problem that comes up is audio. While most people are just starting to become  familiar with optical connections, the industry has already moved beyond that  point. Thing like True HD sound use too much bandwidth to transfer over an  optical connection.</p>
<p>So where does that leave us? HDMI supports video and audio. The only problem  is combining the output from the graphics and sound card into one signal. I was  initially looking for a video card with audio-in capabilities but did not find  any that supported the newer HDMI 1.3 standard. This solution poses  another problem as well: when such card becomes available, it will be very  expensive. HDMI capable video cards however, are already available and very well  priced.</p>
<p>The solution? HDMI capable sound cards. They have a HDMI input for the video  signal from the graphics card and a HDMI output that sends out a combined Audio  / Video signal. I have found 2 models already in the works:</p>
<p><a href="http://www.uberreview.com/2008/02/auzentech-hdmi-x-tension-sound-card-great-for-htpcs.htm" target="_blank">Auzentech HDMI X-Tension Sound Card</a><br />
<a href="http://www.avsforum.com/avs-vb/showthread.php?t=1001673" target="_blank">Asus Xonar AV1</a></p>
<p>I will post more on them as they get released… and i decide which to buy <img src='http://puppypowered.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://puppypowered.com/8/hdmi-sound-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

