<?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>Santiance &#187; How To</title>
	<atom:link href="http://santiance.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://santiance.com</link>
	<description>Kristopher Ives&#039;s Developer Notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 10:07:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Easy Compiz Tricks</title>
		<link>http://santiance.com/2010/02/easy-compiz-tricks/</link>
		<comments>http://santiance.com/2010/02/easy-compiz-tricks/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:46:48 +0000</pubDate>
		<dc:creator>Kristopher Ives</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Compiz]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://santiance.com/?p=871</guid>
		<description><![CDATA[A while ago I tweaked Sam&#8217;s simple animations plug-in for Compiz, mainly so windows I minimized would slide away to match some of my other settings. This was to strike a balance between usability and performance, since none of these effects use alpha blending. During this time I made some jokes about a Spinner Rims [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago <a href="http://santiance.com/2009/10/compiz-fusion-plugin-development/">I tweaked Sam&#8217;s simple animations plug-in</a> for <em><a href="http://www.compiz.org/">Compiz</a></em>, mainly so windows I minimized would slide away to match some of my other settings. This was to strike a balance between usability and performance, since none of these effects use alpha blending. During this time I made some jokes about a <em>Spinner Rims</em> plug-in to illustrate how people rev the <em>Compiz</em> engine when they first hop behind the wheel. Oddly enough, I&#8217;ve actually had others ask me for this plug-in and had <em><a href="http://www.google.com/alerts">Google Alerts</a></em> on random forums about it &#8211; as if it was real, which perplexes me.</p>
<p>Sometimes applications don&#8217;t always (or can&#8217;t) describe a window correctly, which can make Compiz use a different animation. For example, when I drag a tab out of <em><a href="http://www.google.com/chrome">Google Chrome</a></em> it uses my open animation for the window, which really disrupts the feel of drag and drop tabs that otherwise is very elegant. Another example is with generic frameworks like <em>Adobe AIR</em> or <em>Java Swing</em>, where all the widgets are treated the same. How do we work around this?</p>
<p>Luckily, <em>Compiz</em> is well equipped to handle this. You&#8217;ll need the <em><a href="http://wiki.compiz.org/CCSM">Compiz Configuration Settings Manager</a></em> (CCSM), which I think almost everyone has installed, and it should exist out-of-the-box so users can see how powerful the software really is. In the case of Google Chrome:</p>
<ol>
<li>Open CCSM (ALT+F2 <code>ccsm</code> or <em>Preferences/Compiz Configuration Settings Manager</em>)</li>
<li>Click the <em>Animations</em> plugin</li>
<li>Press the <em>New</em> button underneath the list</li>
<li>Select <em>None</em> for the animation with the lowest possible duration</li>
<li>Click the <em>Add</em> icon near the <em>Window Match</em> field</li>
<li>Click the <em>Grab</em> button and target Chrome (it should give you <code>class=Chromium-browser</code>)</li>
</ol>
<p>Make sure this is moved up the list so it overrides any other settings, since it&#8217;s specific to Chrome. You can later go back and click the <em>Grab</em> button again and add more windows to the blacklist. Now when you drag tabs in Chrome they won&#8217;t be so awkward. After getting used to no opening animation with one application, I ended up disabling them for all. I still use the other animations, but I&#8217;ve enjoyed not having any opening animations for non-decoration windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://santiance.com/2010/02/easy-compiz-tricks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Intel Microphones in Ubuntu Linux (9.04)</title>
		<link>http://santiance.com/2009/08/intel-microphones-in-ubuntu-linux-9-04/</link>
		<comments>http://santiance.com/2009/08/intel-microphones-in-ubuntu-linux-9-04/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 09:04:08 +0000</pubDate>
		<dc:creator>Kristopher Ives</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://67.43.13.30/~kives/wp/?p=61</guid>
		<description><![CDATA[If you want to use Skype or record audio with any other application you may have to slightly configure your microphone. This post isn&#8217;t an exhaustive list of all the possible ways to get your recording working Ubuntu, but really is targeted to anyone who has similar hardware or where the solution is the same. [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use <a title="Skype downloads for Linux" href="http://www.skype.com/download/skype/linux/choose/" target="_blank">Skype</a> or record audio with any other application you may have to slightly configure your microphone. This post isn&#8217;t an exhaustive list of all the possible ways to get your recording working <a title="Download or Order an Ubuntu CD for free!" href="http://www.ubuntu.com/getubuntu/download" target="_blank">Ubuntu</a>, but really is targeted to anyone who has similar hardware or where the solution is the same.</p>
<p>Firstly, here is the hardware we are working with:</p>
<pre>$ <strong>sudo lshw -C sound</strong>
  *-multimedia
       description: Audio device
       <strong>product: 82801H (ICH8 Family) HD Audio Controller</strong>
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:<strong>00:1b.0</strong>
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=HDA Intel latency=0 module=snd_hda_intel</pre>
<p>The PCI identifier of this specific model is <code>8086:284b</code>. You can get this by <code>lspci -n | grep "00:1b"</code>, but you&#8217;ll have to replace &#8220;00:1b&#8221; with your information from the previous <em>lshw</em> command. Thankfully getting this to work is rather simple, but involves fiddling with the track mixer and some switches. Needless to say it can take a while to figure out the right combination, but it involves 3 steps for my hardware.<span id="more-61"></span></p>
<p>First make sure you&#8217;re looking at all the information your sound device has to offer. Open the volume manager by right clicking the icon and selecting &#8220;Open Volume Control&#8221;, then click the &#8220;Preferences&#8221; button near the bottom and make sure you have all the items selected:</p>
<p><a href="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_001.png"><img style="display: block; margin-left: auto; margin-right: auto; border: 0px initial initial;" title="Preferences in Volume Control" src="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_001-251x300.png" alt="Preferences in Volume Control" width="251" height="300" /></a></p>
<p>Now make sure that the proper input method has been selected by choosing the &#8220;Options&#8221; tab in the Volume Control window. Mine had to be set to &#8220;Analog Inputs&#8221;, but the default Input Source of &#8220;Mic&#8221; worked for me with my internal microphone:</p>
<p style="text-align: center;"><a href="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_003.png"><img class="size-medium wp-image-63 aligncenter" title="Options tab in Volume Control" src="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_003-300x239.png" alt="Options tab in Volume Control" width="300" height="239" /></a></p>
<p>Lastly go to the &#8220;Recording&#8221; tab and make sure the slider for your capture device is all the way up:</p>
<p style="text-align: center;"><a href="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_002.png"><img class="size-medium wp-image-64 aligncenter" title="Recording tab in Volume Control" src="http://67.43.13.30/~kives/wp/wp-content/uploads/2009/08/screenshot_002-300x239.png" alt="Recording tab in Volume Control" width="300" height="239" /></a></p>
<p>With my hardware the &#8220;Mux&#8221; amplifies the microphone volume. Putting it all the way down makes the sound input very weak, but putting it all the way up makes it heavily distorted. I have found a decent balance for my recording environment and sound device, so make sure to test the actual sound with <strong>Applications » Sound &amp; Video » Sound Recorder</strong>.</p>
<p>If you&#8217;re using Skype it might help you to know you may have to manually select your sound device from the menu. For me this was the first option on the list for both my <em>Input</em> and <em>Output</em> device in the <em>Sound Device</em> options. I blame all of this on PulseAudio, which so far has been nothing but headache, undelivered results, and a waste of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://santiance.com/2009/08/intel-microphones-in-ubuntu-linux-9-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
