<?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>Windows Linux Mac Tips &#187; hardy</title>
	<atom:link href="http://wlmtips.com/tag/hardy/feed/" rel="self" type="application/rss+xml" />
	<link>http://wlmtips.com</link>
	<description>A tip a day...</description>
	<lastBuildDate>Thu, 04 Feb 2010 06:23:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Edit Your Grub Boot Menu (Linux Friday)</title>
		<link>http://wlmtips.com/2008/06/06/edit-your-grub-boot-menu-linux-friday/</link>
		<comments>http://wlmtips.com/2008/06/06/edit-your-grub-boot-menu-linux-friday/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 12:00:53 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Linux How To's]]></category>
		<category><![CDATA[boot menu]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[Kernel version]]></category>
		<category><![CDATA[Linux Friday]]></category>
		<category><![CDATA[Linux Kernel]]></category>

		<guid isPermaLink="false">http://wlmtips.com/?p=190</guid>
		<description><![CDATA[With all Linux distributions come updates, especially with new versions.  Usually these updates consist of security fixes and new versions of core software.  However, every so often new kernels are released.  The Linux kernel is the core of all distributions.  When these are updated, most of the time your Grub boot menu will become cluttered [...]]]></description>
			<content:encoded><![CDATA[<p>With all Linux distributions come updates, especially with new versions.  Usually these updates consist of security fixes and new versions of core software.  However, every so often new kernels are released.  The Linux kernel is the core of all distributions.  When these are updated, most of the time your Grub boot menu will become cluttered with multiple kernels.  Here is how to edit your Grub boot menu.</p>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/06/grubmenuold.jpg"><img class="alignnone size-medium wp-image-192" title="grubmenuold" src="http://wlmtips.com/wp-content/uploads/2008/06/grubmenuold-400x171.jpg" alt="" width="400" height="171" /></a></p>
<p>To begin, open the boot menu list in your favorite text editor.  The following code will open the list using gedit, with sudo privileges.</p>
<blockquote><p>sudo gedit /boot/grub/menu.lst</p></blockquote>
<p>Once the gedit window opens, you will see a text file with lots of information included.  Don&#8217;t worry if you don&#8217;t understand what some of the text does, most items have comments explaining them.  Any line that begins with a &#8216;#&#8217; is considered a comment.  Some lines actually have more than one &#8216;#&#8217;.  These are merely comments that are meant to stand out.</p>
<p>Inside this file you can change a lot of settings that control your boot manager.  For example, you can change the default entry, the time to choose a boot entry, the grub colors, and even completely customize the text for each entry.</p>
<p><strong><span style="text-decoration: underline;">Change the timeout<br />
</span></strong>Changing this settings allows for more/less time at the boot menu.  The default is set to something fairly high like 25 or 30.  For most people this is more than enough time to choose the correct entry.  Therefore, if you wish to change the timeout to a lower number, such as 5 seconds look around line 19.  This line should read:</p>
<blockquote><p>timeout     30</p></blockquote>
<p>Change the &#8220;30&#8243; to the timeout value you wish to have.  The numbers are in seconds.  As I said before, usually 5 or 10 seconds is a good value.</p>
<p><strong><span style="text-decoration: underline;">Remove old boot entries (Linux kernels)</span></strong>: <strong>Safest Method</strong><br />
Scroll near the bottom of the menu.lst file.  Here you will find the entries that appear on the boot menu.  Look around line 128 and you should see:</p>
<blockquote><p>## ## End Default Options ##</p></blockquote>
<p>The very next line after this should be the first entry on the boot menu.  This first entry is also usually the newest Linux kernel.  To tell which kernel is the newest look at the last number (following the &#8216;-&#8217;).  For example, the newest kernel for Hardy is &#8220;2.6.24-17&#8243;.  This is slightly newer than the &#8220;2.6.24-16&#8243; version that comes with Hardy.</p>
<p>Therefore, you can remove the old versions from the boot menu by placing a &#8216;#&#8217; at the beginning of each line corresponding to an old kernel.  Here is a copy of my boot menu for comparison:</p>
<blockquote><p>title        Ubuntu 8.04, kernel 2.6.24-17-generic<br />
root        (hd0,4)<br />
kernel        /vmlinuz-2.6.24-17-generic root=UUID=a049d4fa-84cb-4fac-bed4-082641c201e3 ro quiet splash<br />
initrd        /initrd.img-2.6.24-17-generic<br />
quiet</p>
<p>title        Ubuntu 8.04, kernel 2.6.24-17-generic (recovery mode)<br />
root        (hd0,4)<br />
kernel        /vmlinuz-2.6.24-17-generic root=UUID=a049d4fa-84cb-4fac-bed4-082641c201e3 ro single<br />
initrd        /initrd.img-2.6.24-17-generic</p>
<p>#title        Ubuntu 8.04, kernel 2.6.24-16-generic<br />
#root        (hd0,4)<br />
#kernel        /vmlinuz-2.6.24-16-generic root=UUID=a049d4fa-84cb-4fac-bed4-082641c201e3 ro quiet splash<br />
#initrd        /initrd.img-2.6.24-16-generic<br />
#quiet</p>
<p>#title        Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)<br />
#root        (hd0,4)<br />
#kernel        /vmlinuz-2.6.24-16-generic root=UUID=a049d4fa-84cb-4fac-bed4-082641c201e3 ro single<br />
#initrd        /initrd.img-2.6.24-16-generic</p>
<p>title        Ubuntu 8.04, memtest86+<br />
root        (hd0,4)<br />
kernel        /memtest86+.bin<br />
quiet<br />
### END DEBIAN AUTOMAGIC KERNELS LIST</p>
<p># This is a divider, added to separate the menu items below from the Debian<br />
# ones.<br />
title        Other operating systems:<br />
root</p>
<p># This entry automatically added by the Debian installer for a non-linux OS<br />
# on /dev/sda1<br />
title        Microsoft Windows XP Professional<br />
root        (hd0,0)<br />
savedefault<br />
makeactive<br />
chainloader    +1</p></blockquote>
<p>I do <span style="color: #ff0000;"><strong>NOT</strong></span> recommend deleting the entries for the old kernel versions.  You can do this but if you were to make a mistake and delete part of the wrong line, you will not be able to boot your computer.</p>
<p>Once you have commented out the old kernel versions you boot menu will look more like this (this is merely an example and does not correspond to the sample text above):</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-191" title="grubmenu" src="http://wlmtips.com/wp-content/uploads/2008/06/grubmenu-400x222.jpg" alt="" width="400" height="222" /></p>
<p><strong><span style="text-decoration: underline;">Remove old boot entries (Linux kernels)</span></strong>: <strong>Advanced Method</strong><br />
This is for you advanced users who don&#8217;t like to edit text files.  Again, <span style="color: #ff0000;"><strong>USE WITH CAUTION</strong></span></p>
<p>To begin, navigate to &#8216;/boot&#8217; either in the terminal or using nautilus with sudo privileges.  Then, delete all files with the old kernel version in the name.  The easiest way to do this is to look for the name which has the lowest number at the end.</p>
<p>Once you have deleted these files, run the following code in the terminal to automatically update your grub menu:</p>
<blockquote><p>sudo update-grub</p></blockquote>
<p><strong><span style="text-decoration: underline;">Customize entry titles<br />
</span></strong>If you don&#8217;t like how the entries read, you can change them to whatever you want.  To do this, change the line beginning with &#8220;title&#8221; for each entry.  This also applies to the &#8220;Other Operating Systems&#8221; line.  Be careful to only change the lines beginning with &#8220;title&#8221;</p>
<p><strong><span style="text-decoration: underline;">Change default boot entry<br />
</span></strong>This will set the entry that you want to boot automatically upon startup.  To do this look around line 14.  This line should read:</p>
<blockquote><p>default     0</p></blockquote>
<p>Once you have the boot menu with ONLY the entries you need, change the &#8220;0&#8243; to the line number corresponding to the boot entry you want.  In other words, if the entry you want as default appears as the 3rd line in the boot menu, change the &#8220;0&#8243; to a &#8220;2&#8243; (the first line is line 0).  Therefore, if you want the first entry to be the default, leave it set to &#8220;0&#8243;.</p>
<p><strong>TIP: IF you want Windows to be your default entry, and there is a separator (&#8220;Other Operating Systems&#8221;), don&#8217;t forget to include this line in your count.</strong></p>
<p>Once you are done editing the menu.lst file, save your changes and reboot your computer.  The Grub boot menu should now be a little easier to read.</p>
<p>Take a look in the menu.lst file for some other settings: password protection, colors, hidden entries, etc.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://wlmtips.com/2008/08/01/power-poll-1-linux-friday/" title="Power Poll #1 (Linux Friday)">Power Poll #1 (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/25/force-quit-unresponsive-applictions-linux-friday/" title="Force Quit Unresponsive Applictions (Linux Friday)">Force Quit Unresponsive Applictions (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/18/compiz-fusion-icon-linux-friday/" title="Compiz Fusion Icon (Linux Friday)">Compiz Fusion Icon (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/11/customize-your-settings-with-ubuntu-tweak-linux-friday/" title="Customize Your Settings with Ubuntu Tweak (Linux Friday)">Customize Your Settings with Ubuntu Tweak (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/06/27/how-to-install-new-icons-in-ubuntu-linux-friday/" title="How To Install a New Theme in Ubuntu (Linux Friday)">How To Install a New Theme in Ubuntu (Linux Friday)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://wlmtips.com/2008/06/06/edit-your-grub-boot-menu-linux-friday/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>2 Ways to Show Your Weather Forecast in Gnome Panel</title>
		<link>http://wlmtips.com/2008/05/27/2-ways-to-show-your-weather-forecast-in-gnome-panel/</link>
		<comments>http://wlmtips.com/2008/05/27/2-ways-to-show-your-weather-forecast-in-gnome-panel/#comments</comments>
		<pubDate>Tue, 27 May 2008 06:29:03 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Linux How To's]]></category>
		<category><![CDATA[gnome panel]]></category>
		<category><![CDATA[gnome tricks]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[weather]]></category>

		<guid isPermaLink="false">http://wlmtips.com/?p=165</guid>
		<description><![CDATA[As a college student, I like to be able to wake up, look at my computer, and instantly know what the weather is like outside. I know I could simply look out a window or even open a window, but I&#8217;d rather use the computer.
An easy way to find out what the weather is like [...]]]></description>
			<content:encoded><![CDATA[<p>As a college student, I like to be able to wake up, look at my computer, and instantly know what the weather is like outside. I know I could simply look out a window or even open a window, but I&#8217;d rather use the computer.</p>
<p>An easy way to find out what the weather is like outside is to open up your trusty browser and go to weather.com. However, those of us using Ubuntu or another distro with gnome can get the weather forecast in the top bar (without having to open a browser). Here are two ways of getting the forecast in the top bar:</p>
<p><strong>Way 1:</strong></p>
<ul>
<li>Right click in the top bar</li>
<li>Select &#8216;Add to Panel&#8217;</li>
<li>Scroll down and find &#8216;Weather Report&#8217; -left click and then click &#8216;Add&#8217;</li>
</ul>
<p>Now you should have a new icon in the bar. Just right click on it and click &#8216;Preferences&#8217; to set up your location. Once that has been set up you should have something that looks like this:</p>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/05/weather1.jpg"><img class="alignnone size-medium wp-image-166" title="weather1" src="http://wlmtips.com/wp-content/uploads/2008/05/weather1.jpg" alt="" width="80" height="20" /></a></p>
<p style="text-align: left;">Just left click on the icon and you&#8217;ll get current conditions (like humidity, visibility, and even dew point) as well as a forecast.</p>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Way 2: (This is new to Hardy (Ubuntu 8.04) and puts weather info in with the date)</strong></p>
<ul>
<li>Right click on the date and time icon (in the top right of your screen)</li>
<li>Click preferences</li>
<li>You should see the following box:</li>
</ul>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/05/clockgen.jpg"><img class="alignnone size-medium wp-image-167" title="clockgen" src="http://wlmtips.com/wp-content/uploads/2008/05/clockgen.jpg" alt="" width="380" height="350" /></a></p>
<ul>
<li>Select either the &#8216;Show weather&#8217;, &#8216;Show temperature&#8217;, or both.</li>
<li>Now click on the locations tab at the top to set up where you are; you&#8217;ll see that it looks like this:</li>
</ul>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/05/clockloc.jpg"><img class="alignnone size-medium wp-image-168" title="clockloc" src="http://wlmtips.com/wp-content/uploads/2008/05/clockloc.jpg" alt="" width="380" height="350" /></a></p>
<ul>
<li>Just click the &#8216;Add&#8217; button to select your location.</li>
<li>The weather tab allows you to set up your temperature units (i.e. Celsius or Fahrenheit).</li>
</ul>
<p>Now your bar should look like this:</p>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/05/weather2.jpg"><img class="alignnone size-medium wp-image-169" title="weather2" src="http://wlmtips.com/wp-content/uploads/2008/05/weather2.jpg" alt="" width="235" height="25" /></a></p>
<p>Here is a screenshot of my desktop: I have both weather icons set up. I usually only have the first weather icon (way 1).  I like the first one just because I can left click on the icon and get more info. The second way (in the clock) doesn&#8217;t allow you to see that extra info.</p>
<p>It&#8217;s a link so click on it to get a better view:</p>
<p style="text-align: center;"><a href="http://wlmtips.com/wp-content/uploads/2008/05/screenshot.png"><img class="alignnone size-medium wp-image-170" title="screenshot" src="http://wlmtips.com/wp-content/uploads/2008/05/screenshot-400x250.png" alt="" width="400" height="250" /></a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://wlmtips.com/2009/11/08/4-great-sites-to-visit-as-a-new-linux-user/" title="4 Great Sites to Visit as a New Linux User">4 Great Sites to Visit as a New Linux User</a></li><li><a href="http://wlmtips.com/2008/08/01/power-poll-1-linux-friday/" title="Power Poll #1 (Linux Friday)">Power Poll #1 (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/25/force-quit-unresponsive-applictions-linux-friday/" title="Force Quit Unresponsive Applictions (Linux Friday)">Force Quit Unresponsive Applictions (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/18/compiz-fusion-icon-linux-friday/" title="Compiz Fusion Icon (Linux Friday)">Compiz Fusion Icon (Linux Friday)</a></li><li><a href="http://wlmtips.com/2008/07/11/customize-your-settings-with-ubuntu-tweak-linux-friday/" title="Customize Your Settings with Ubuntu Tweak (Linux Friday)">Customize Your Settings with Ubuntu Tweak (Linux Friday)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://wlmtips.com/2008/05/27/2-ways-to-show-your-weather-forecast-in-gnome-panel/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.352 seconds -->
