<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How-to: Use Your Ubuntu Computer as a Music Alarm Clock</title>
	<atom:link href="http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/</link>
	<description>adjective: of or pertaining to things that should work but go awry</description>
	<lastBuildDate>Thu, 22 Jul 2010 04:21:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Barney</title>
		<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/comment-page-1/#comment-773</link>
		<dc:creator>Barney</dc:creator>
		<pubDate>Thu, 19 Mar 2009 15:18:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/2008/01/18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/#comment-773</guid>
		<description>This tutorial is okay, but there are a few little tidbits that you might want to include in this article (or in a linked article).   No, I&#039;m not trying to hijack your tutorial... just three suggestions that would have helped tremendously.

First, I liked your idea about using a crontab file in your /home/user (~/) directory. I kept running into a problem that (in Ubuntu) &#039;crontab -e&#039; kept editing (more on this in my second point) a crontab file in the /tmp directory.  I had to read around, and eventually I found the little tidbit (in the crontab manpage) about &#039;crontab [-u user] file&#039;, which allows you to set where a user&#039;s official crontab is created/used. Ubuntu still copies the crontab to /tmp, but that is a rights thing... unix/linux doesn&#039;t like for you to do direct editing of the active crontab file, so crontab, the program, (in Ubuntu) is written to copy the crontab file to /tmp, edit it there, and then copy your changes into place after it frees up the target crontab file.  Tricky, but not something that a normal user should be concerned about... except to ignore the file name one in the editor of choice.

Second, You mentioned &quot;the default text editor&quot; and suggested that it was set to vim. Not so. I&#039;ve never changed it in Gutsy, and it was set to nano. For ease of use, I added --
   # set the default editor to gedit
   export EDITOR=gedit
into my ~/.bashrc file.  I re-ran my ~/.bashrc (was it &#039;. .bashrc&#039; or &#039;./.bashrc&#039; to re-run?)

Third, I saw another site&#039;s comments about using a GUI alternative for setting/creating the cron (which was incomplete).
In Ubuntu, 
3a) there is the command-line crontab that everyone should know and love.
3b) There is a gcrontab tool, which I found to be very easy for the non-programmer to use.  For the casual administrator, it should be the perfect solution, and is completely compliant with the standard crontab file. Being a programmer, I didn&#039;t really like having so many clicks to enter a crontab line, but I like that it is organized
3c) Another site&#039;s comments raved about KCron. WI like KCron&#039;s design/function much better than gcrontab, and KCron performs a &quot;dual&quot; function under KDE. It is the scheduler, and it can set environment variables, appropriate in the KDE scheme. KCron didn&#039;t ask what Crontab file to load or show anything in my current (by then) ~/crontab file. I assume that KCron is not crontab compliant, since it didn&#039;t automagically import my current ~/crontab file. So, unless you want to use KCron exclusivelyon a KDE instead of the Unix/Linux standard crontab file, I&#039;d stay away from KCron.

Mine are purely editorial/informative comments.  Your tutorial is very good, minus the explanation of how to set the user&#039;s crontab file to ~/crontab (a most important tidbit), and the suggestion that vim is the default editor.

Peace,

Barney</description>
		<content:encoded><![CDATA[<p>This tutorial is okay, but there are a few little tidbits that you might want to include in this article (or in a linked article).   No, I&#8217;m not trying to hijack your tutorial&#8230; just three suggestions that would have helped tremendously.</p>
<p>First, I liked your idea about using a crontab file in your /home/user (~/) directory. I kept running into a problem that (in Ubuntu) &#8216;crontab -e&#8217; kept editing (more on this in my second point) a crontab file in the /tmp directory.  I had to read around, and eventually I found the little tidbit (in the crontab manpage) about &#8216;crontab [-u user] file&#8217;, which allows you to set where a user&#8217;s official crontab is created/used. Ubuntu still copies the crontab to /tmp, but that is a rights thing&#8230; unix/linux doesn&#8217;t like for you to do direct editing of the active crontab file, so crontab, the program, (in Ubuntu) is written to copy the crontab file to /tmp, edit it there, and then copy your changes into place after it frees up the target crontab file.  Tricky, but not something that a normal user should be concerned about&#8230; except to ignore the file name one in the editor of choice.</p>
<p>Second, You mentioned &#8220;the default text editor&#8221; and suggested that it was set to vim. Not so. I&#8217;ve never changed it in Gutsy, and it was set to nano. For ease of use, I added &#8211;<br />
   # set the default editor to gedit<br />
   export EDITOR=gedit<br />
into my ~/.bashrc file.  I re-ran my ~/.bashrc (was it &#8216;. .bashrc&#8217; or &#8216;./.bashrc&#8217; to re-run?)</p>
<p>Third, I saw another site&#8217;s comments about using a GUI alternative for setting/creating the cron (which was incomplete).<br />
In Ubuntu,<br />
3a) there is the command-line crontab that everyone should know and love.<br />
3b) There is a gcrontab tool, which I found to be very easy for the non-programmer to use.  For the casual administrator, it should be the perfect solution, and is completely compliant with the standard crontab file. Being a programmer, I didn&#8217;t really like having so many clicks to enter a crontab line, but I like that it is organized<br />
3c) Another site&#8217;s comments raved about KCron. WI like KCron&#8217;s design/function much better than gcrontab, and KCron performs a &#8220;dual&#8221; function under KDE. It is the scheduler, and it can set environment variables, appropriate in the KDE scheme. KCron didn&#8217;t ask what Crontab file to load or show anything in my current (by then) ~/crontab file. I assume that KCron is not crontab compliant, since it didn&#8217;t automagically import my current ~/crontab file. So, unless you want to use KCron exclusivelyon a KDE instead of the Unix/Linux standard crontab file, I&#8217;d stay away from KCron.</p>
<p>Mine are purely editorial/informative comments.  Your tutorial is very good, minus the explanation of how to set the user&#8217;s crontab file to ~/crontab (a most important tidbit), and the suggestion that vim is the default editor.</p>
<p>Peace,</p>
<p>Barney</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giovanni</title>
		<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/comment-page-1/#comment-734</link>
		<dc:creator>Giovanni</dc:creator>
		<pubDate>Tue, 10 Mar 2009 13:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/2008/01/18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/#comment-734</guid>
		<description>this tutorial is really great, but i have only one question....does all this work if the computer is suspended to ram?</description>
		<content:encoded><![CDATA[<p>this tutorial is really great, but i have only one question&#8230;.does all this work if the computer is suspended to ram?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Wegner</title>
		<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/comment-page-1/#comment-14</link>
		<dc:creator>Scott Wegner</dc:creator>
		<pubDate>Thu, 24 Jan 2008 17:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/2008/01/18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/#comment-14</guid>
		<description>Responding to your first question, the easiest way is to simply have to entries.  For example, I wake up a little later on Fridays, so I have the following 2 entries:&lt;br/&gt;&lt;br/&gt;30 7 * * 1-4 {command}&lt;br/&gt;45 8 * * 5 {command}&lt;br/&gt;&lt;br/&gt;To turn off your alarms for holidays or when you leave on vacation, you can simply &quot;comment out&quot; your alarm.  Comment lines in your crontab is any line that starts with &#039;#&#039;.  So, simply change each line you want to disable to something like:&lt;br/&gt;&lt;br/&gt;# 30 7 * * 1-5 {command}&lt;br/&gt;&lt;br/&gt;Enabling it again later is only a matter of removing that hash mark.&lt;br/&gt;&lt;br/&gt;Also, I haven&#039;t had a chance to try it yet, but it looks like there is a package called &quot;gnome-schedule&quot; which is a GUI front-end to cron--cool!</description>
		<content:encoded><![CDATA[<p>Responding to your first question, the easiest way is to simply have to entries.  For example, I wake up a little later on Fridays, so I have the following 2 entries:</p>
<p>30 7 * * 1-4 {command}<br />45 8 * * 5 {command}</p>
<p>To turn off your alarms for holidays or when you leave on vacation, you can simply &#8220;comment out&#8221; your alarm.  Comment lines in your crontab is any line that starts with &#8216;#&#8217;.  So, simply change each line you want to disable to something like:</p>
<p># 30 7 * * 1-5 {command}</p>
<p>Enabling it again later is only a matter of removing that hash mark.</p>
<p>Also, I haven&#8217;t had a chance to try it yet, but it looks like there is a package called &#8220;gnome-schedule&#8221; which is a GUI front-end to cron&#8211;cool!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle W</title>
		<link>http://www.automaticable.com/2008-01-18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/comment-page-1/#comment-13</link>
		<dc:creator>Kyle W</dc:creator>
		<pubDate>Thu, 24 Jan 2008 14:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/2008/01/18/how-to-use-your-ubuntu-computer-as-a-music-alarm-clock/#comment-13</guid>
		<description>I&#039;m sure it&#039;s possible, but how hard would it be to set different alarm times for different days?  As an example, Mondays and Tuesdays I need to wake up earlier than the rest of the week, so how would I set those days individually?  I guess I could do the whole thing twice, once for the first 2 days and then again for the rest of the week, but that sounds messy.&lt;br/&gt;&lt;br/&gt;Also, is there a way to stop the alarms from occurring?  Holidays, sick days, vacation, etc. I don&#039;t want to be waking up if I don&#039;t have to!</description>
		<content:encoded><![CDATA[<p>I&#8217;m sure it&#8217;s possible, but how hard would it be to set different alarm times for different days?  As an example, Mondays and Tuesdays I need to wake up earlier than the rest of the week, so how would I set those days individually?  I guess I could do the whole thing twice, once for the first 2 days and then again for the rest of the week, but that sounds messy.</p>
<p>Also, is there a way to stop the alarms from occurring?  Holidays, sick days, vacation, etc. I don&#8217;t want to be waking up if I don&#8217;t have to!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
