<?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>automaticable &#187; how-to</title>
	<atom:link href="http://www.automaticable.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automaticable.com</link>
	<description>adjective: of or pertaining to things that should work but go awry</description>
	<lastBuildDate>Sun, 27 Mar 2011 16:16:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Stash away, that cash, away. Stash away all!</title>
		<link>http://www.automaticable.com/2009-12-09/stash-away-that-cash-away-stash-away-all/</link>
		<comments>http://www.automaticable.com/2009-12-09/stash-away-that-cash-away-stash-away-all/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 23:02:25 +0000</pubDate>
		<dc:creator>Brian Wegner</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[Sad iPod Face]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/?p=604</guid>
		<description><![CDATA[It&#8217;s the holiday season, and we all know what that means.  Work WAY too many hours just to buy people meaningless gifts that people will use for about a month and then toss away.  One popular gift that in my opinion is the gift that keeps giving is an iPod.  I bought my first iPod [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-605" src="http://www.automaticable.com/wp-content/uploads/2009/12/sad-ipod-300x225.jpg" alt="sad-ipod" width="300" height="225" />It&#8217;s the holiday season, and we all know what that means.  Work WAY too many hours just to buy people meaningless gifts that people will use for about a month and then toss away.  One popular gift that in my opinion is the gift that keeps giving is an iPod.  I bought my first iPod 5 years ago after I graduated high-school.  Exactly a year after I bought it, it gave me that dreaded sad iPod face, and would no longer work.  I gave up.  I was distraught.  I didn&#8217;t want to have to resort back to CD&#8217;s that scratch and become unreadable, and I didn&#8217;t want to spend another $300 on a new iPod when I had one that was only a year old.  Why didn&#8217;t I just buy that extended warranty when they asked?</p>
<p>So what did I do instead? I got violent, because violence solves everything!  I banged my iPod against my shifter in my car three times and tired it again just to see if it worked, and by golly it turned on, no more sad face and my music was playing!**  I about shat my pants I was so excited!  Now granted, it froze up every once in a while and gave the sad iPod face again, but no worries, do the simple solution again and it works!  Now after about three years, it doesn&#8217;t freeze up anymore.  It may not work the first time, but keep trying and it will eventually.</p>
<p>After some investigation on to why this works, it turns out that in the older iPods there is a small connector cable that becomes loose from the hard drive through normal wear and tear.  You&#8217;re simply just knocking that cable back into place so the hard drive can be read properly.  I have had this same iPod for 5 years now, and it works wonderfully, and have not needed to buy a new one.  Nothing flashy with it either, it is the generation 4 iPod, right before it switched over to color and became more complicated.  Now, would I LIKE a new iPod? Sure, but I would only really want one if I didn&#8217;t purchase it, and it was atleast 20 gigs like the one I have now is.</p>
<p>So before you go out and spend a whole lot of cash on a new iPod because you think you&#8217;ve lost yours forever, try this and see if it works!  Any questions, comments, feel free to ask!</p>
<p>**Automaticable, Apple, and the poster are in no way liable or responsible for any and all damages caused to your iPod, Car, or self, or anything else when trying any and all &#8220;violent&#8221; techniques in hopes to remedy the sad iPod face from the MP3 player.  Reader and User try these techniques AT THEIR OWN RISK.</p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-01-11/on-the-go-syncing-your-data/" rel="bookmark" title="January 11, 2008">On the Go: Syncing your Data</a></li>

<li><a href="http://www.automaticable.com/2008-04-22/bring-new-life-to-your-ipod-go-old-school/" rel="bookmark" title="April 22, 2008">Bring New Life to Your ipod: Go Old School</a></li>
</ul><!-- Similar Posts took 14.211 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2009-12-09/stash-away-that-cash-away-stash-away-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Subversion GUI for Nautilus and Ubuntu</title>
		<link>http://www.automaticable.com/2008-09-15/easy-subversion-gui-for-nautilus-and-ubuntu/</link>
		<comments>http://www.automaticable.com/2008-09-15/easy-subversion-gui-for-nautilus-and-ubuntu/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 22:47:36 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[nautilus-script-collection-svn]]></category>
		<category><![CDATA[Scott Wegner]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/?p=391</guid>
		<description><![CDATA[Just about every software project uses some sort of versioning control system, and subversion is arguably the most popular tool.  Having your files versioned and backed up in a central repository is essential.  I&#8217;ve written about how to set up your own subversion repository, but you can go a step further and install a graphical [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://marius.scurtescu.com/2005/08/24/nautilus_scripts_for_subversion" target="_blank"><img class="alignnone size-medium wp-image-392" title="Nautilus Subversion Script" src="http://www.automaticable.com/wp-content/uploads/2008/09/nautilussubversionscripts-add-300x180.png" alt="" width="300" height="180" /></a>Just about every software project uses some sort of versioning control system, and subversion is arguably the most popular tool.  Having your files versioned and backed up in a central repository is essential.  I&#8217;ve written about <a title="How to Host A Subversion Repository in Ubuntu" href="http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/">how to set up your own subversion repository</a>, but you can go a step further and install a graphical interface to use subversion right within Nautilus.</p>
<p>Installing and setting up the subversion GUI is as simple as three commands.</p>
<ol style="clear: left">
<li>Install the <em>nautilus-script-collection-svn</em> package:<br />
<blockquote>
<pre>sudo aptitude install nautilus-script-collection-svn</pre>
</blockquote>
</li>
<li>Enable the plugin (this is required to access the plugin from nautilus):<br />
<blockquote>
<pre>nautilus-script-manager enable Subversion</pre>
</blockquote>
</li>
<li>Restart Nautilus:<br />
<blockquote>
<pre>killall nautilus</pre>
</blockquote>
</li>
</ol>
<p>Afterwards, Nautilus will have a new entry in the context menu when you right click.  You can now access most basic subversion commands without touching a terminal.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/nautilus-svn.png"><img class="alignnone size-medium wp-image-393" style="float: none" title="Nautilus SVN" src="http://www.automaticable.com/wp-content/uploads/2008/09/nautilus-svn-300x231.png" alt="" width="300" height="231" /></a></p>
<p>The interface isn&#8217;t quite as pretty as some Windows clients, such as <a title="TortoiseSVN" href="http://tortoisesvn.tigris.org/" target="_blank">TortoiseSVN</a>.  However, it is still a nice alternative for users who prefer a GUI and only need basic functionality.  There doesn&#8217;t seem to be any support for merges, and other commands will use the default parameters.</p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/" rel="bookmark" title="June 25, 2008">How To: Host a Subversion Repository in Ubuntu Hardy</a></li>

<li><a href="http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/" rel="bookmark" title="January 18, 2008">How-to: Use Your Ubuntu Computer as a Music Alarm Clock</a></li>
</ul><!-- Similar Posts took 9.816 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-09-15/easy-subversion-gui-for-nautilus-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Organize Your ToDo List in Ubuntu with Remember The Milk and Tasque</title>
		<link>http://www.automaticable.com/2008-09-12/organize-your-todo-list-in-ubuntu-with-remember-the-milk-and-tasque/</link>
		<comments>http://www.automaticable.com/2008-09-12/organize-your-todo-list-in-ubuntu-with-remember-the-milk-and-tasque/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 02:22:55 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ppa]]></category>
		<category><![CDATA[remember the milk]]></category>
		<category><![CDATA[rememberthemilk]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[Scott Wegner]]></category>
		<category><![CDATA[tasque]]></category>
		<category><![CDATA[todo]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/?p=370</guid>
		<description><![CDATA[I am a big fan of the previously mentioned Remember The Milk productivity webapp.  It does one thing&#8211; manages your Todo list&#8211; and it does it very well.  Remember The Milk offers a clean web interface, as well as integration inside Gmail, Google Calendar, and even has an iPhone app.  The only thing that was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-381" title="Tasque" src="http://www.automaticable.com/wp-content/uploads/2008/09/tasque.png" alt="" width="48" height="48" />I am a big fan of the previously mentioned <a title="Keeping Organized with Remember The Milk" href="http://www.automaticable.com/2008-01-23/keeping-organized-with-remember-the-milk/">Remember The Milk</a> productivity webapp.  It does one thing&#8211; manages your Todo list&#8211; and it does it very well.  Remember The Milk offers a clean web interface, as well as integration inside Gmail, Google Calendar, and even has an iPhone app.  The only thing that was missing for me, though, was a simple interface for the Linux desktop.  Enter Tasque.</p>
<p><span id="more-370"></span></p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/00-overview.png"><img class="alignnone size-medium wp-image-374" style="clear: left; float: none" title="Tasque" src="http://www.automaticable.com/wp-content/uploads/2008/09/00-overview-295x300.png" alt="" width="295" height="300" /></a></p>
<p>Tasque is dubbed as &#8220;a simple task management app (TODO list) for the Linux Desktop.&#8221;  It is a simple program with the ability to integrate with a variety of other task-management services, including RememberTheMilk.  It&#8217;s a clean, unobtrusive interface, and it&#8217;s exactly what I needed to stay productive.</p>
<p>Tasque is a relatively new program, but has grown substantially since it&#8217;s incarnation.  It has been integrated into the latest GNOME desktop, and will be available for Ubuntu Intrepid Ibex, due out in October.  Luckily, there is also a repository which you can add to receive the latest Tasque program in Ubuntu Hardy:</p>
<ul>
<li>From the taskbar, navigate to System &gt; Administration &gt; Software Sources<br />
<a href="http://www.automaticable.com/wp-content/uploads/2008/09/01-sources.png"><img class="alignnone size-medium wp-image-375" style="clear: left; float: none" title="Software Sources" src="http://www.automaticable.com/wp-content/uploads/2008/09/01-sources-300x287.png" alt="" width="300" height="287" /></a></li>
</ul>
<ul>
<li>Enter your administrator password when prompted, and in the new window, click on the &#8220;Third Party Software&#8221; tab</li>
<li>Click on the &#8220;Add&#8230;&#8221; button, and enter the following line:
<pre>deb http://ppa.launchpad.net/tasque-packagers/ubuntu hardy main</pre>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/02-add.png"><img class="alignnone size-medium wp-image-383" style="clear: left; float: none" title="Add Repository" src="http://www.automaticable.com/wp-content/uploads/2008/09/02-add-300x287.png" alt="" width="300" height="287" /></a></li>
<li>Click on &#8220;Add Source&#8221;, and then &#8220;Close&#8221;.  The available software will be updated automatically.</li>
</ul>
<p>Now that we have the repository set up, we can actually install Tasque.  In a terminal, enter the following command:</p>
<blockquote>
<pre>sudo aptitude install tasque</pre>
</blockquote>
<p>After it&#8217;s installed, you can run it by navigating to Applications &gt; Office &gt; Tasque.</p>
<p>The first time Tasque is launched, you will need to choose the plugin to use.  Select &#8220;Remember the Milk&#8221;, and then press &#8220;Click Here to Connect&#8221;.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/03-connect.png"><img class="alignnone size-medium wp-image-377" style="clear: left; float: none" title="Connect to Remember The Milk" src="http://www.automaticable.com/wp-content/uploads/2008/09/03-connect-300x277.png" alt="" width="300" height="277" /></a></p>
<p>A browser launch, and you will need to log in to Remember the Milk and allow Tasque to access your account data.  When you&#8217;re finished, return to Tasque and select &#8220;Click Here After Authenticating Tasque&#8221;.</p>
<p>At this point, your Remember The Milk tasks should be loaded into the Tasque interface, where you can edit existing tasks or add new ones.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/04-add.png"><img class="alignnone size-medium wp-image-378" style="clear: left; float: none" title="Tasque: Add Task" src="http://www.automaticable.com/wp-content/uploads/2008/09/04-add-295x300.png" alt="" width="295" height="300" /></a></p>
<p>You can also assign or change the due date on any of your tasks.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/05-date.png"><img class="alignnone size-medium wp-image-379" style="clear: left; float: none" title="Tasque: Set Task Date" src="http://www.automaticable.com/wp-content/uploads/2008/09/05-date-295x300.png" alt="" width="295" height="300" /></a></p>
<p>And when you&#8217;re finished, you can mark a task as completed.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/09/06-complete.png"><img class="alignnone size-medium wp-image-380" style="clear: left; float: none" title="Tasque: Complete Task" src="http://www.automaticable.com/wp-content/uploads/2008/09/06-complete-295x300.png" alt="" width="295" height="300" /></a></p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-07-03/introducing-pwdhash-sharp-084/" rel="bookmark" title="July 3, 2008">Introducing: Pwdhash Sharp 0.8.4</a></li>

<li><a href="http://www.automaticable.com/2008-01-23/keeping-organized-with-remember-the-milk/" rel="bookmark" title="January 23, 2008">Keeping Organized with Remember The Milk</a></li>
</ul><!-- Similar Posts took 14.189 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-09-12/organize-your-todo-list-in-ubuntu-with-remember-the-milk-and-tasque/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How To: Host a Subversion Repository in Ubuntu Hardy</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/</link>
		<comments>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 04:46:20 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[deep thoughts]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[ddns]]></category>
		<category><![CDATA[dynamic dns]]></category>
		<category><![CDATA[dyndns]]></category>
		<category><![CDATA[google code]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[Scott Wegner]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[sourceforge]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/?p=316</guid>
		<description><![CDATA[Have you ever wanted to set up a subversion repository on your home computer? Whether it be for a new software project, versioning your personal documents, or any other reason, there are many benefits to using version control. Some free websites that will host your project for you, such as SourceForge or Google Code, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/subversion-logo.png"><img class="alignnone size-thumbnail wp-image-327" title="Subversion Logo" src="http://www.automaticable.com/wp-content/uploads/2008/06/subversion-logo-150x150.png" alt="" width="150" height="150" /></a>Have you ever wanted to set up a subversion repository on your home computer?  Whether it be for a new software project, versioning your personal documents, or any other reason, there are many benefits to using version control.  Some free websites that will host your project for you, such as <a title="SourceForge" href="http://www.sourceforge.net">SourceForge</a> or <a title="Google Code" href="http://code.google.com">Google Code</a>, but it&#8217;s often necessary to have a little bit more control.</p>
<p>I set up a subversion repository for a new project the other day, and the process was relatively painless.  I&#8217;m using a standard Ubuntu Hardy Heron 8.04 desktop setup, with OpenDNS and DD-WRT for port-forwarding, and without an Apache web server.  Keep reading to host your own subversion repository server.</p>
<p><span id="more-316"></span></p>
<p>The entire process for setting up a subversion server and repository is relatively simple on Linux, and should take you no more than one hour.  I&#8217;ve broken this tutorial into a few different segments, so you can concentrate on only the parts you are interested in.</p>
<ol style="clear: left;">
<li><a href="#initial-setup">Initial Setup</a></li>
<li><a href="#adding-the-first-repository">Adding the First Repository</a></li>
<li><a href="#configuring-your-repository">Configuring Your Repository</a></li>
<li><a href="#access-from-the-host-computer">Access from the Host Computer</a></li>
<li><a href="#access-from-a-lan-computer">Access from a LAN Computer</a></li>
<li><a href="#access-from-outside-the-lan">Access from Outside the LAN</a></li>
<li><a href="#final-steps">Final Steps</a></li>
</ol>
<div id="initial-setup">
<h3>Initial Setup</h3>
<p>In Ubuntu Hardy, all the tools you will need for a basic subversion server are included in the subversion package.  If you haven&#8217;t already you can install it with the following command:</p>
<pre>sudo aptitude install subversion</pre>
<p>The next steps is to create a new group that will be responsible for subversion tasks.</p>
<ul>
<li>From the Panel, navigate to System &gt; Administration &gt; Users and Groups</li>
<li>If necessary, unlock the dialog, and then click &#8220;Manage Groups&#8221;</li>
<li>Click &#8220;Add Group&#8221;.  Create a group named &#8220;subversion&#8221;, and add yourself to it.</li>
<li>Log out and back re-log in for the changes to take effect.</li>
</ul>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss01-svn-group.png"><img class="alignnone size-medium wp-image-319" style="float: none;" title="Add Subversion Group" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss01-svn-group-300x229.png" alt="" width="300" height="229" /></a></p>
<p>Now that the group is created, the next step is to create the directory structure where our repositories will live.  You can create the folder wherever you&#8217;d like, but a good choice is <em>/home/svn</em></p>
<ul>
<li>In a terminal, create your new folder, using the commands:</li>
</ul>
<blockquote>
<pre>cd /home</pre>
<pre>sudo mkdir svn</pre>
</blockquote>
<p>That&#8217;s it for the basic setup.  Of course, the subversion server isn&#8217;t useful until we add a repository or two..</p></div>
<div id="adding-the-first-repository">
<h3>Adding the First Repository</h3>
<p>In subversion, each project or directory structure is contained within its own <em>repository</em>.  Each repository (or repo for short) maintains its own access control, versioning, and logs.  Let&#8217;s create a new repository called &#8220;my-project&#8221;</p>
<p>First, we need to create the repository folder:</p>
<blockquote>
<pre>cd /home/svn</pre>
<pre>sudo mkdir my-project</pre>
</blockquote>
<p>Finally, we use the &#8220;svnadmin&#8221; command to create some base files and configure the repository.</p>
<blockquote>
<pre>sudo svnadmin create /home/svn/my-project</pre>
</blockquote>
<p>Now, change the access permissions to give the subversion group the proper settings:</p>
<blockquote>
<pre>sudo chgrp -R subversion my-project</pre>
<pre>sudo chmod -R g+rws my-project</pre>
</blockquote>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss02-project-folder.png"><img class="alignnone size-medium wp-image-320" style="float: none;" title="Subversion Repository Folder" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss02-project-folder-300x219.png" alt="" width="300" height="219" /></a></p>
<p>This is the minimum work required to initialize a repository.  At this point, you could start accessing your repository from the host computer.  But, you may also want to fine-tune your configuration below.</p></div>
<div id="configuring-your-repository">
<h3>Configuring Your Repository</h3>
<p>At this point, you should have a working repository.  However, there are still a few options you might want to tweak.  In particular, the access permissions.  By default, a fresh repository will be readable by anyone and writable by authorized users.  To change these settings, open  <em>/home/svn/my-project/conf/svnserve.conf</em> in your favorite text editor&#8211; you can use the command:</p>
<blockquote>
<pre>gedit /home/svn/my-project/conf/svnserve.conf</pre>
</blockquote>
<p>The lines that control access restrictions look like:</p>
<blockquote>
<pre># anon-access = read</pre>
<pre># auth-access = write</pre>
</blockquote>
<p>These two lines control anonymous access and authenticated access, respectively.  To change from the default behavior for each value, remove the leading &#8216;#&#8217; character, and set the right-side value to &#8216;read&#8217;, &#8216;write&#8217;, or &#8216;none&#8217;, for read-only, read-write, or no access, respectively.  When you are finished, you can save the file and close it.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss03-conf.png"><img class="alignnone size-medium wp-image-321" style="float: none;" title="Edit svnserve.conf File" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss03-conf-300x256.png" alt="" width="300" height="256" /></a></p>
<p>If you plan on using authenticated access to your repository, you will need to set up at least one username and password.  To do so, open the <em>/home/svn/my-project/conf/passwd</em> file in a text editor:</p>
<blockquote>
<pre>gedit /home/svn/my-project/conf/passwd</pre>
</blockquote>
<p>To create a username, simply add a line to the bottom of the form:</p>
<blockquote>
<pre>username = password</pre>
</blockquote>
<p>There are a few examples already in the file, but commented out.  You may add as many usernames as you need.  When you are finished, save the file and close it.  These are the basic configuration steps you&#8217;ll need, although more are discussed in the <a href="#final-steps">Final Steps</a>.</div>
<div id="access-from-the-host-computer">
<h3>Access From the Host Computer</h3>
<p>At this point you are ready to test out your new repository.  Any configured repositories should be accessible from the host computer as-is.  You can test it out by checking-out your first working copy:</p>
<blockquote>
<pre>svn checkout file:///home/svn/my-project ~/my-project-wc</pre>
</blockquote>
<p>Perhaps you would like to add a &#8220;trunk&#8221; directory, where you will develop your project:</p>
<blockquote>
<pre>cd ~/my-project-wc</pre>
<pre>mkdir trunk</pre>
<pre>svn add trunk</pre>
<pre>svn commit -m "Add a trunk directory for development."</pre>
</blockquote>
<p>Depending on your configuration above, you may be asked for a user name and password.  You should use the values you entered in the passwd file.</p>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss04-checkout.png"><img class="alignnone size-medium wp-image-322" style="float: none;" title="Subversion Repository Checkout" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss04-checkout-300x199.png" alt="" width="300" height="199" /></a></div>
<div id="access-from-a-lan-computer">
<h3>Access from a LAN Computer</h3>
<p>If you have another laptop or desktop in your home, then you may want to also access your repository from it.  Fortunately, extending your subversion server within a LAN isn&#8217;t too much more complicated, using the <em>svn://</em> protocol.</p>
<p>First, you will need to set up a daemon on the host computer to listen for connections, using the <em>svnserve</em> command:</p>
<blockquote>
<pre>svnserve -d -r /home/svn</pre>
</blockquote>
<p>This starts a process in the background that will silently wait for connections to the subversion server.  To run in the foreground, simply use the <em>&#8211;foreground</em> parameter.</p>
<p>Then, you can connect to your repository from any computer within your LAN, using the syntax:</p>
<blockquote>
<pre>svn checkout svn://my-host/my-project ~/my-project-wc</pre>
</blockquote>
<p>where my-host is the name your host computer.  Note that it is also possible to connect using a Windows or Mac machine, with the same syntax.</p></div>
<div id="access-from-outside-the-lan">
<h3>Access from Outside the LAN</h3>
<p>If others outside your LAN will need to use the repository, or you often work away from home, then you&#8217;ll want to set up your subversion server for access anywhere.  This will require tweaking some setting in your router.  Particularly, you will need to forward TCP port 3690 to the machine hosting the subversion server.  I used a DD-WRT based router, but most router interfaces are similar.</p>
<ul>
<li>Open the web-based router control panel, and enter the administrative username and password.  Generally, the address is similar to http://192.168.1.1</li>
<li>Locate the settings for &#8220;Port Forwarding&#8221;.  If you are using DD-WRT, navigate to NAT / QoS &gt; Port Fowarding</li>
<li>Add a new entry to forward TCP port 3690 to the IP address of your subversion host computer, with destination port also 3690.  This is the default port that subversion listens on.  Then, save your settings and close.</li>
</ul>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss05-portfwd.png"><img class="alignnone size-medium wp-image-323" style="float: none;" title="DD-WRT Port Forwarding" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss05-portfwd-300x186.png" alt="" width="300" height="186" /></a></p>
<p>You can test your forwarded port by trying to connect using your external IP address.  There are many websites that will help you find your external IP, such as http://whatismyipaddress.com/  Note that it <em>shouldn&#8217;t</em> start with 192.168&#8230;</p>
<blockquote>
<pre>svn checkout svn://{external-ip}/my-project ~/my-project-wc</pre>
</blockquote>
<p>If you plan to work away from home frequently, you may want to set up dynamic DNS&#8211; this provides you with a personalized hostname, so you don&#8217;t need to remember a cryptic IP address.  If you are using DD-WRT, you can follow the following steps:</p>
<ul>
<li>Go to DynDNS.com and sign up for an account.  Create a &#8220;Dynamic DNS&#8221; (DDNS) hostname.</li>
<li>Log in to your DD-WRT admin panel as before, and navigate to Setup &gt; DDNS.</li>
<li>Enter your DynDNS account details into the appropriate fields.</li>
<li>Hit &#8220;Apply Settings&#8221;&#8211; the DDNS status should show that your IP has updated successfully.</li>
</ul>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss09-ddns.png"><img class="alignnone size-medium wp-image-326" style="float: none;" title="DD-WRT Dynamic DNS (DDNS) Settings" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss09-ddns-300x285.png" alt="" width="300" height="285" /></a></p>
<p>Once you have your DDNS hostname set up, you can use it to access your subversion repository, using the command:</p>
<blockquote>
<pre>svn checkout svn://{ddns-hostname}/my-project ~/my-project-wc</pre>
</blockquote>
<p>This should be accessible both inside and outside your LAN.</p></div>
<div id="final-steps">
<h3>Final Steps</h3>
<p>At this point, you should have a subversion repository up and running.  However, there are still a few features you may be interested in.</p>
<p>To access your repository using the <em>svn://</em> syntax, you will need to have the <em>svnserve</em> daemon running.  You can easily set the command to run when you log in with the following steps:</p>
<ul>
<li>From the desktop panel, open System &gt; Preferences &gt; Sessions.</li>
<li>Click the &#8220;Add&#8221; button to add a new Startup program.</li>
<li>In the &#8220;Name&#8221; field, enter &#8220;Subversion Server Daemon&#8221;</li>
<li>For the command, enter: <em>svnserve -d -r /home/svn</em></li>
<li>And in the description, add a useful summary such as &#8220;Listen for connections to the subversion repository&#8221;.</li>
</ul>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss06-sessions.png"><img class="alignnone size-medium wp-image-324" style="float: none;" title="Startup Subversion Daemon" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss06-sessions-300x143.png" alt="" width="300" height="143" /></a></p>
<p>Now, your subversion repository will be accessible as long as your username is logged in.</p>
<p>Once you being using multiple repositories, you may want to share the same username database for them.  For this, you will need to configure repositories to use the same &#8220;passwd&#8221; file and belong to a common realm.  For each of the repositories that will share a username database:</p>
<ul>
<li>Open a terminal in the root directory of the repository:</li>
</ul>
<blockquote>
<pre>cd /home/svn/{repository-name}</pre>
</blockquote>
<ul>
<li>Open the svnserve.conf file located in the conf directory using a text editor:</li>
</ul>
<blockquote>
<pre>gedit conf/svnserve.conf</pre>
</blockquote>
<ul>
<li>Find and uncomment the line that starts with &#8220;passwd-db&#8221;.  Enter the location of the passwd file that will be shared between databases.  You may enter an absolute path, or a path relative to the conf directory.</li>
<li>Find and uncomment the line that starts with &#8220;realm&#8221;.  Set the right side to a name that will be shared between each of the repositories accessing the common database.  You may use a descriptive name such as &#8220;work-repository-realm&#8221;.</li>
</ul>
<p><a href="http://www.automaticable.com/wp-content/uploads/2008/06/ss07-realm.png"><img class="alignnone size-medium wp-image-325" style="float: none;" title="Subversion Repository Realm" src="http://www.automaticable.com/wp-content/uploads/2008/06/ss07-realm-300x234.png" alt="" width="300" height="234" /></a></p>
<p>Finally, you may want to use subversion from the file browser.  Although not strictly part of setting up a server, it is often useful to install the Nautilus subversion plugin.  This will allow you to right click on a subversion working copy folder and perform common subversion tasks.  To install, simply enter the command:</p>
<blockquote>
<pre>sudo aptitude install nautilus-script-collection-svn</pre>
</blockquote>
<p><strong>Update:</strong> Actually, it&#8217;s a little bit tricky to get the Nautilus plugin working.  If you&#8217;re having trouble, check out these <a title="Easy Subversion GUI for Nautilus and Ubuntu" href="http://www.automaticable.com/2008-09-15/easy-subversion-gui-for-nautilus-and-ubuntu/">instructions to enable SVN access in Nautilus</a>.</p>
<p>And that&#8217;s it!  Now, start using your repository and enjoy the benefits of version control.  Are there any other tips that you would offer for setting up subversion?  Let&#8217;s hear your experiences in the comments.</p></div>
Similar:<ul><li><a href="http://www.automaticable.com/2008-09-15/easy-subversion-gui-for-nautilus-and-ubuntu/" rel="bookmark" title="September 15, 2008">Easy Subversion GUI for Nautilus and Ubuntu</a></li>

<li><a href="http://www.automaticable.com/2008-01-18/how-to-mount-a-network-drive-in-ubuntu/" rel="bookmark" title="January 18, 2008">How-to: Mount a Network drive in Ubuntu</a></li>
</ul><!-- Similar Posts took 37.615 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How-to: Enable Surround Sound on Ubuntu Hardy</title>
		<link>http://www.automaticable.com/2008-05-28/how-to-enable-surround-sound-on-ubuntu-hardy/</link>
		<comments>http://www.automaticable.com/2008-05-28/how-to-enable-surround-sound-on-ubuntu-hardy/#comments</comments>
		<pubDate>Thu, 29 May 2008 00:36:51 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[film]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[5.1]]></category>
		<category><![CDATA[7.1]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[daemon.conf]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[pavumeter]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[rhythmbox]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[surround]]></category>
		<category><![CDATA[surround sound]]></category>
		<category><![CDATA[totem]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/?p=280</guid>
		<description><![CDATA[By default, Ubuntu Hardy Heron uses PulseAudio for audio mixing, which disables surround sound by default. I just bought new 5.1-channel speakers, but I was only heard sound coming from the front two. Disappointed, I went searching for the answer in the forums. If you want surround sound on your Linux setup, keep reading below.. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss11-pavumeter.png"><img class="alignnone size-medium wp-image-281" title="PulseAudio Volume Meter" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss11-pavumeter-300x127.png" alt="" width="300" height="127" /></a></p>
<p>By default, Ubuntu Hardy Heron uses PulseAudio for audio mixing, which disables surround sound by default.  I just bought new 5.1-channel speakers, but I was only heard sound coming from the front two.  Disappointed, I went searching for the answer in the forums.  If you want surround sound on your Linux setup, keep reading below..</p>
<p><span id="more-280"></span></p>
<p style="clear: left">
<p>Like I said above, Ubuntu now uses PulseAudio by default, so it dictates the kind of output you&#8217;ll be getting from your sound card.  Luckily, PulseAudio makes it very easy to enable surround via a simple configuration file.  I followed instructions <a title="HOWTO: Surround sound in pulseaudio - Ubuntu Forums" href="http://ubuntuforums.org/showthread.php?t=795525">here</a> for editing via the command-line, but using a GUI should be just as easy.</p>
<ul>
<li>Press Alt-F2 to open a &#8220;Run&#8221; dialog, and type &#8220;<code>gksudo nautilus</code>&#8220;.  This will give us a file-browser with administrator privileges.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss01-nautilus.png"><img class="alignnone size-full wp-image-282" style="float: none; clear: left" title="gksudo nautilus" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss01-nautilus.png" alt="" width="500" height="181" /></a></div>
<p><strong>Warning</strong>: With this file browser we have access to do almost <em>anything</em> to our system.  Follow these instructions carefully, or things could get bad!</li>
<li>In the file browser, click on the &#8220;File System&#8221; icon on the right.  Then navigate into the &#8220;etc&#8221; folder, and then &#8220;pulse&#8221;.  This is the folder where our configuration file lives.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss02-pulse.png"><img class="alignnone size-full wp-image-283" style="float: none" title="/etc/pulse Directory" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss02-pulse.png" alt="" width="500" height="357" /></a></div>
</li>
<li>Make a backup of &#8220;daemon.conf&#8221;.  Do this by selecting the file, copy it, and then paste it in the same directory.  Right click the new copy and rename it &#8220;daemon.conf.bak&#8221;.  This is just in case things go wrong&#8211; it&#8217;ll be easy to revert back to the original settings.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss03-backup.png"><img class="alignnone size-full wp-image-284" style="float: none" title="Backup daemon.conf" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss03-backup.png" alt="" width="500" height="357" /></a></div>
</li>
<li>Now we&#8217;re going on edit the settings file.  Double-click on &#8220;daemon.conf&#8221; to open it in a text editor.  Remember that we have administrator privileges, so be <em>very careful</em> of the changes you make!</li>
<li>Find the following line in the file, it should be towards the bottom:<br />
<blockquote><p><code>; default-sample-channels = 2</code></p></blockquote>
<p>First, remove the &#8220;;&#8221; character to &#8220;uncomment&#8221; the line.  Then change the value from 2 to either 6, for 5.1 surround sound, or 8 for 7.1 surround.  For example:</p>
<blockquote><p><code>default-sample-channels = 6</code></p></blockquote>
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss04-channels.png"><img class="alignnone size-full wp-image-285" style="float: none" title="Editing daemon.conf" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss04-channels.png" alt="" width="500" height="400" /></a></div>
</li>
<li>Save the file and exit the text editor <em>and</em> file browser.  This is important so we don&#8217;t accidentally make more changes with administrator access.</li>
</ul>
<p>That&#8217;s it for the hard part.  For the changes to take effect, you will need to restart your computer.  Afterwards, there is a simple command that you can use to test your surround sound.  Press Alt-F2 to start the &#8220;Run&#8221; dialog, and enter the command:<br />
<code>speaker-test -Dplug:surround51 -c6 -l1 -twav</code><br />
or to test 7.1 surround:<br />
<code>speaker-test -Dplug:surround71 -c8 -l1 -twav</code></p>
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss05-test.png"><img class="alignnone size-full wp-image-286" style="float: none" title="Surround Sound Channel Test" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss05-test.png" alt="" width="500" height="181" /></a></div>
<p>This will play a sound from each speaker telling what channel it is set to.  You should hear audio out of each one.  If you don&#8217;t then you may have some of the channels disabled.  Check them with the volume manager:</p>
<ul>
<li>Right click on the volume meter in the panel and press &#8220;Open Volume Control&#8221;.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss06-volume.png"><img class="alignnone size-full wp-image-287" style="float: none" title="Volume Control" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss06-volume.png" alt="" width="500" height="319" /></a></div>
</li>
<li>Make sure the &#8220;ALSA&#8221; mixer is selected.  Go to File, Change Device, and select the one that contains &#8220;Alsa Mixer&#8221;.</li>
<li>By default, many of the channels are hidden.  Select Edit, Preferences.  Make sure you have at least the following selected: Master, Front, Surround, Center, and LFE (and Side if using 7.1 sound)
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss07-channels.png"><img class="alignnone size-full wp-image-288" style="float: none" title="Select Surround Sound Channels" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss07-channels.png" alt="" width="201" height="374" /></a></div>
</li>
<li>Now, make sure none of the channels are muted under the &#8220;Playback&#8221; tab.  If they are, un-mute them.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss08-unmute.png"><img class="alignnone size-full wp-image-289" style="float: none" title="Unmute Channels" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss08-unmute.png" alt="" width="500" height="317" /></a></div>
<p>Then use the test command above to try again.</li>
</ul>
<p>At this point you should have surround sound working via the test command.  However, some applications may also need to be setup to use surround sound.  Rhythmbox should play music using surround by default.  However, Totem Movie Player needs to be configured for it.  To do so:</p>
<ul>
<li>Open Totem Movie Player  from the Applications menu under Sound and Video, Movie Player.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss09-totem.png"><img class="alignnone size-full wp-image-290" style="float: none" title="Totem Movie Player" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss09-totem.png" alt="" width="500" height="414" /></a></div>
</li>
<li>Select Edit, Preferences, and click on the &#8220;Audio&#8221; tab</li>
<li>Set the &#8220;Audio output type&#8221; to your surround-sound preference.  For example. 5.1-channel.
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss10-51.png"><img class="aligncenter size-full wp-image-291" style="float: none" title="Configure Totem for Surround Sound" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss10-51.png" alt="" width="500" height="519" /></a></div>
</li>
</ul>
<p>Other applications or webpages that use Flash may not use surround sound correctly.  You can test if an application is using surround sound using the PulseAudio volume meter.  To do so, press Alt-F2 to open the &#8220;Run..&#8221; dialog, and enter the command &#8220;<code>pavumeter</code>&#8220;.  You should see sound in each channel.</p>
<div style="text-align: center"><a href="http://www.automaticable.com/wp-content/uploads/2008/05/ss11-pavumeter.png"><img class="aligncenter size-full wp-image-281" style="float: none" title="PulseAudio Volume Meter" src="http://www.automaticable.com/wp-content/uploads/2008/05/ss11-pavumeter.png" alt="" width="500" height="213" /></a></div>
<p>I&#8217;ve been very happy with my surround sound so far.  What experiences have you had?  Did these instructions work for you?  Are there any other applications you&#8217;ve found that don&#8217;t work with surround sound?  Post in the comments.</p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/" rel="bookmark" title="June 25, 2008">How To: Host a Subversion Repository in Ubuntu Hardy</a></li>

<li><a href="http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/" rel="bookmark" title="January 18, 2008">How-to: Use Your Ubuntu Computer as a Music Alarm Clock</a></li>
</ul><!-- Similar Posts took 54.418 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-05-28/how-to-enable-surround-sound-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>How-to: Use Your Ubuntu Computer as a Music Alarm Clock</title>
		<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/</link>
		<comments>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 19:19:00 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[alarm clock]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/2008/01/18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/</guid>
		<description><![CDATA[There are many music players that offer the functionality to wakeup to a song or playlist&#8211; both on Linux or Windows. But with each option I&#8217;ve tried, I&#8217;ve never been really happy with the results. For such a simple task, it always seemed overly-complicated. Also, the main downside I found in using a media player [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bp1.blogger.com/_JbstcOXI2hU/R5D9TAzTyzI/AAAAAAAAAG4/hyfD52PUeP8/s1600-h/alarmclock.jpg"><img src="http://bp1.blogger.com/_JbstcOXI2hU/R5D9TAzTyzI/AAAAAAAAAG4/hyfD52PUeP8/s200/alarmclock.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>There are many music players that offer the functionality to wakeup to a song or playlist&#8211; both on Linux or Windows.  But with each option I&#8217;ve tried, I&#8217;ve never been really happy with the results.  For such a simple task, it always seemed overly-complicated.  Also, the main downside I found in using a media player plugin, is that you&#8217;ll need to have the player running for it to actually work in the morning.  Below I describe how to create your own music alarm clock, using only command-line utilities found on most Linux distributions.  It uses quite a few different tools, and the tutorial will hit on quite a few different concepts.  So, without further adieu&#8230;</p>
<ol>
<li>The first thing you will need is to create a playlist.  I used Rhythmbox, since that&#8217;s where I store all of my music anyway.  Create a playlist with songs you&#8217;d like to wake up to.  When you&#8217;ve got enough, save it in .m3u format, somewhere where you&#8217;ll find it later.  I put mine in my home directory.</li>
<li>Next, we&#8217;ll need to make sure we have all the tools for the job.  We&#8217;ll be using cron to schedule our tasks, amixer to set our volume, and mplayer to finally play our music.  To make sure you have each of these installed, issue the following command:<br />
<blockquote><p>sudo aptitude install cron alsa-utils mplayer</p></blockquote>
</li>
<li>Next, we need to actually add the scheduled task.  First I&#8217;m simply going to give you the commands, and I&#8217;ll explain what&#8217;s going on afterwards.  In a terminal, enter the command:<br />
<blockquote><p>crontab -e</p></blockquote>
<p>Note: this will open your default text editor, which if you haven&#8217;t set it, will probably default to vim.</li>
<li>Go to the end of the page by pressing Shift+G.  Then start a new line pressing &#8220;o&#8221;.  Once you&#8217;re there, type in or paste the following line:<br />
<blockquote><p>30 7 * * 1-5 /usr/bin/amixer set PCM 35\% &amp;&amp; /usr/bin/X11/xterm -display :0 -bg black -fg white -e /usr/bin/mplayer -shuffle -playlist ~/.alarm-playlist</p></blockquote>
</li>
<li>Press &#8220;ESC&#8221; to stop typing.  Then enter the command &#8220;:wq&#8221; (no quotes) to save and quit.  If everything went well, you should see the line:<br />
<blockquote><p>crontab: installing new crontab</p></blockquote>
</li>
</ol>
<p>Cool, you&#8217;re done!  Now, let me explain what all that was, so you can go back and customize it on your own.  Remember, any time you want to learn more about a command, you can use the &#8220;man&#8221; command.  For example,</p>
<blockquote><p>man crontab</p></blockquote>
<p>to learn about crontab.</p>
<p>So first of all, we used &#8220;aptitude&#8221; to install a few packages from the Ubuntu repositories.  This is probably familiar to you, or you may be using &#8220;apt-get&#8221;.  They are basically the same, but &#8220;aptitude&#8221; has a few advantages&#8211; you should switch to using it if you haven&#8217;t already.</p>
<p>Then, we used &#8220;crontab -e&#8221;.  Cron is the name of the task scheduler in Linux, and this command opens up our own personal &#8220;scheduled task list&#8221;.  You can always use &#8220;crontab -e&#8221; to edit your tasks, or &#8220;crontab -l&#8221; just to view them.</p>
<p>Now, on to that crazy line I had you type in:</p>
<blockquote><p>30 7 * * 1-5 /usr/bin/amixer set PCM 35\% &amp;&amp; /usr/bin/X11/xterm -display :0 -bg black -fg white -e /usr/bin/mplayer -shuffle -playlist ~/.alarm-playlist</p></blockquote>
<p>Each entry in your personal crontab has the following format:</p>
<blockquote><p>minute hour  day-of-month month day-of-week command</p></blockquote>
<p>So, in our case, our &#8220;minute&#8221; is 30, &#8220;hour&#8221; is 7, day-of-month is * (any), &#8220;month&#8221; is * (any), &#8220;day-of-week&#8221; is 1-5, and &#8220;command&#8221; is&#8230; the rest of that.  This basically means that we&#8217;ve scheduled our command to execute at 7:30 am on Monday through Friday.  Changing these options should be self explanatory.  Now, let&#8217;s pick apart our &#8220;command&#8221; one part at a time.</p>
<blockquote><p>/usr/bin/amixer set PCM 35\%</p></blockquote>
<p>First thing to note, is that it&#8217;s a good idea to use full paths for any command you execute from cron.  To find out the full path to a command, use</p>
<blockquote><p>which {command}</p></blockquote>
<p>In this case, we&#8217;re using amixer, which is a utility for changing the volume on your computer.  I set mine to 35% to wake up to, but you can use anything.  Also note here that we can&#8217;t use simply &#8220;35%&#8221;, because cron uses &#8216;%&#8217; as a special character.  Therefore, we preceed it with &#8216;\&#8217;.</p>
<p>Next thing to notice is &#8220;&amp;&amp;&#8221;.  This essentially strings two commands together&#8211; it won&#8217;t start the next command until our first one has finished.  So, onto our next command:</p>
<blockquote><p>/usr/bin/X11/xterm -display :0 -bg black -fg white -e &#8230;</p></blockquote>
<p>This is actually another compound command.  xterm is another terminal that we are going to launch our music alarm in, so we can easily shut if off in the morning.  We set all sorts of parameters to make the terminal look nice, but the important one is following the &#8220;-e&#8221;: that&#8217;s the command we will run in the new terminal:</p>
<blockquote><p>/usr/bin/mplayer -shuffle -playlist ~/.alarm-playlist</p></blockquote>
<p>Ahhh, finally, this is where we finally play our music.  mplayer is a command-line music player with a very basic interface, and easy controls.  You can run this line in a normal terminal now to make sure it works.  We use the parameters &#8220;shuffle&#8221; to randomize our playlist, and then &#8220;-playlist &#8230;&#8221; to tell it what to play.  Make sure you change &#8220;~/.alarm-playlist&#8221; to your own location.</p>
<p>And we&#8217;re done!  At this point you should have a fully-functioning music alarm clock.  Now go back and tweak it out with preferences that work for you.</p>
<p><span style="font-weight: bold">Bonus</span>: Move the alarm clock command to a shell script, and keep increasing your volume every minute or so.</p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-05-28/how-to-enable-surround-sound-on-ubuntu-hardy/" rel="bookmark" title="May 28, 2008">How-to: Enable Surround Sound on Ubuntu Hardy</a></li>

<li><a href="http://www.automaticable.com/2008-04-22/bring-new-life-to-your-ipod-go-old-school/" rel="bookmark" title="April 22, 2008">Bring New Life to Your ipod: Go Old School</a></li>
</ul><!-- Similar Posts took 38.037 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>On the Go: Syncing your Data</title>
		<link>http://www.automaticable.com/2008-01-11/on-the-go-syncing-your-data/</link>
		<comments>http://www.automaticable.com/2008-01-11/on-the-go-syncing-your-data/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 21:34:00 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[on the  go]]></category>
		<category><![CDATA[portableapps]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/2008/01/11/on-the-go-syncing-your-data/</guid>
		<description><![CDATA[As every power-user does, I enjoy working on my own computer because everything is tweaked and customized just how I like it. I use the programs and preferences that work best for me. I organize my data in a way that fits my lifestyle. Everything is perfect for me on my personal computer. But, there [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bp1.blogger.com/_JbstcOXI2hU/R4fhCzc1LrI/AAAAAAAAAGI/69TP8U1uC34/s1600-h/197431_5837.jpg"><img src="http://bp1.blogger.com/_JbstcOXI2hU/R4fhCzc1LrI/AAAAAAAAAGI/69TP8U1uC34/s320/197431_5837.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>As every power-user does, I enjoy working on my own computer because everything is tweaked and customized just how I like it.  I use the programs and preferences that work best for me.  I organize my data in a way that fits my lifestyle.  Everything is <span style="font-style: italic">perfect</span> for me on my personal computer.  But, there is always a question of how to access your setup when on the road and away from home.  I&#8217;ll describe a few different syncing techniques below.  Each has it&#8217;s own advantages and disadvantages, and finding the right one depends on what&#8217;s important to you.</p>
<p><span style="font-weight: bold">1. Use a Laptop</span><br />
Of course, probably the simplest solution is to use a laptop as your primary workspace.  Then, whenever you&#8217;re on the go, you can simply bring it with you.  No setup, no hassle&#8211; everything is there for you when you need it.</p>
<p><span style="font-weight: bold">2. Sync with an external device</span><br />
Similarly, you can take what&#8217;s important with you on a separate piece of hardware.  This could range from syncing your email and music on a <span class="blsp-spelling-error">smartphone</span> or <span class="blsp-spelling-error">iPod</span>, to carrying important data and programs on an external hard drive or flash drive.  If you go the <span class="blsp-spelling-error">USB</span> drive route, you might consider <a href="http://www.portableapps.com"><span class="blsp-spelling-error">PortableApps</span> Suite</a>&#8211; a system for loading many common programs from a flash drive, as well as organizing your documents.</p>
<p><span style="font-weight: bold">3. Use online syncing services</span><br />
Another approach is to upload your data to web services, so you have everything you need as long as there&#8217;s an <span class="blsp-spelling-error">internet</span> connection.  This could mean sticking to using purely <span class="blsp-spelling-error">webapps</span>, such as Google Documents, and storing your documents there.  Or, you could simply backup your documents on one of the many online backup services.  There is a useful post <a href="http://franticindustries.com/2007/07/12/5-simple-ways-to-store-your-files-online/">here</a> detailing the best online backup solutions.</p>
<p><span style="font-weight: bold">4. Remote Access to files</span><br />
The solution I prefer is to setup remote access to your computer.  Then there is no need to sync documents or upload them online&#8211; you&#8217;ll have access to everything you had on your main computer.  It&#8217;s probably also the most complicated, as you&#8217;ll need to open some ports on your router as part of the setup.  I won&#8217;t go into the specifics, but there are many different options for remote access.  For Windows, Remote Desktop is probably the easiest, and will give you access to your entire desktop.  For any platform, <span class="blsp-spelling-error">VNC</span> accomplishes the same thing, and supports multiple connections to the same desktop.  Also, particularly useful in Linux, you can setup an SSH server.  This gives you access to your computer through a terminal, but is very fast for small tasks, and you can even run programs from your home computer remotely.</p>
<p>So, as you can see, there are a variety of options, and perhaps even a combination of a few is the best choice.  Each has its own setup requirements, so plan on spending some time getting things running.  But once you do, it becomes a great resource next time you need to remember a phone number in an email, or find a <span class="blsp-spelling-error">webpage</span> you bookmarked but can&#8217;t remember.<span style="font-weight: bold"><span style="font-weight: bold"></span><br />
</span></p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-04-22/bring-new-life-to-your-ipod-go-old-school/" rel="bookmark" title="April 22, 2008">Bring New Life to Your ipod: Go Old School</a></li>

<li><a href="http://www.automaticable.com/2008-04-09/billshrink-find-a-better-cell-phone-plan-based-on-current-usage/" rel="bookmark" title="April 9, 2008">BillShrink: Find a Better Cell Phone Plan Based on Current Usage</a></li>
</ul><!-- Similar Posts took 32.073 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-01-11/on-the-go-syncing-your-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Troubleshooting 101</title>
		<link>http://www.automaticable.com/2008-01-04/troubleshooting-101/</link>
		<comments>http://www.automaticable.com/2008-01-04/troubleshooting-101/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 18:11:00 +0000</pubDate>
		<dc:creator>Scott Wegner</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[101]]></category>

		<guid isPermaLink="false">http://www.automaticable.com/2008/01/04/troubleshooting-101/</guid>
		<description><![CDATA[Here&#8217;s a little indispensable wisdom next time things go awry&#8211; whenever you&#8217;re having trouble with technology, the easiest first shot is to restart fresh. If you think it&#8217;s a hardware problem&#8211; such as routers, modems, cellphones&#8211; unplug it or take out the battery for about 30 seconds, and try again. If you think it&#8217;s software&#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bp0.blogger.com/_JbstcOXI2hU/R357azc1LmI/AAAAAAAAAFg/iM5vODpKXdA/s1600-h/troubleshoot.jpg"><img src="http://bp0.blogger.com/_JbstcOXI2hU/R357azc1LmI/AAAAAAAAAFg/iM5vODpKXdA/s320/troubleshoot.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>Here&#8217;s a little <span class="blsp-spelling-corrected">indispensable</span> wisdom next time things go awry&#8211; whenever you&#8217;re having trouble with technology, the easiest first shot is to restart fresh.  If you think it&#8217;s a hardware problem&#8211; such as routers, modems, cellphones&#8211; unplug it or take out the battery for about 30 seconds, and try again.  If you think it&#8217;s software&#8211; <span class="blsp-spelling-error">VPN</span>, fonts, or general application problems&#8211; just restart your computer and give it another go.  This fixes 90% of problems, and saves you a 45-minute call to tech-support.</p>
Similar:<ul><li><a href="http://www.automaticable.com/2008-03-30/comcast-blocking-dd-wrt/" rel="bookmark" title="March 30, 2008">Comcast Blocking DD-WRT?</a></li>

<li><a href="http://www.automaticable.com/2008-01-02/a-new-year-a-new-os/" rel="bookmark" title="January 2, 2008">A New Year, A New OS</a></li>
</ul><!-- Similar Posts took 14.293 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.automaticable.com/2008-01-04/troubleshooting-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

