<?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>Geek Gumbo &#187; Linux</title>
	<atom:link href="http://www.geekgumbo.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekgumbo.com</link>
	<description>A potpourri of Web Development, Linux, and Windows tips, tidbits, and observations</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:31:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Welcome, the Cinnamon 1.1.3 Desktop</title>
		<link>http://www.geekgumbo.com/2012/01/08/welcome-the-cinnamon-1-1-3-desktop/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=welcome-the-cinnamon-1-1-3-desktop</link>
		<comments>http://www.geekgumbo.com/2012/01/08/welcome-the-cinnamon-1-1-3-desktop/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 04:30:15 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=4116</guid>
		<description><![CDATA[Well, Ubuntu really messed up, yep, well actually Gnome messed up too, and we have definitely opened Pandora's box and let the evil's out.  Everyone wants an edge, and the perception is the edge is the desktop.  I guess, if &#8230; <a class="more-link" href="http://www.geekgumbo.com/2012/01/08/welcome-the-cinnamon-1-1-3-desktop/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/01/cinnamon2.jpeg"><img class="alignleft size-full wp-image-4118" title="cinnamon2" src="http://www.geekgumbo.com/wp-content/uploads/2012/01/cinnamon2.jpeg" alt="" width="120" height="120" /></a>Well, Ubuntu really messed up, yep, well actually Gnome messed up too, and we have definitely opened Pandora's box and let the evil's out.  Everyone wants an edge, and the perception is the edge is the desktop.  I guess, if Microsoft can switch its desktop around, and make users eat it, why can't the Linux distros do the same.</p>
<p>Let's review.  In the beginning there was X Windows, and every one was happy, but then the software gurus got the brainy idea of doing something like Microsoft Windows for X Windows.  What followed was a series of initial desktop applications, like KDE, Gnome, Xfce, and LXDE.  There were a few others, along with a couple of bare window managers that sprang up.  With the wide array of choices, folks interested in Linux were confused as to which distro to use, eventually KDE and Gnome came to the forefront.</p>
<p>In the meantime, while Linux distros were competing for users, Microsoft took over the world.  The distro's started to stabilize around Gnome 2, and folks got used to that desktop. Linux started picking up some market share.  I personally feel Gnome 2 ended up being the desktop of choice, although no disrespect to KDE, a noble competitor, especially with their latest release.  The emphasis in Gnome 2 was on productivity, not on novice users.</p>
<p>If you follow <a title="DistroWatch" href="http://distrowatch.com/">DistroWatch</a>, which has been ranking the distros now since May, 2001, Ubuntu has been the top distro for five years.  It ran with Gnome 2, was stable, and had good support.  It was the Microsoft of Linux distros. Now Linux Mint has taken over.</p>
<div id="attachment_4125" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2012/01/cinnamon41.jpeg"><img class="size-full wp-image-4125" title="cinnamon4" src="http://www.geekgumbo.com/wp-content/uploads/2012/01/cinnamon41.jpeg" alt="" width="600" height="375" /></a><p class="wp-caption-text">Cinnamon Desktop</p></div>
<p>&nbsp;</p>
<p>What happened?  I like to think a bunch of egos got in each others way.  The Gnome team decided they had to match Microsoft's 3d graphics and transparent desktop and decided to build Gnome 3.  It was their design, and when Canonical, the maker of Ubuntu, saw it, they said, no way, we can do it better, and the world will follow us, because we're number one.  The Gnome team wouldn't give in to Canonical, and Canonical wouldn't give in to the Gnome team.  Canonical developed their own Unity desktop.  Both teams wanted to make the desktop more friendly to the dumb Window's users as they saw Microsoft stumble with Vista.</p>
<p>The result was both teams stumbled, where they might not have if they had worked together.  The losers were the already dedicated Linux users who just wanted to get their work done.  They didn't care about 3d or transparency, they wanted the productivity that was provided by Gnome 2.  So Ubuntu and Gnome both stumbled by taking Gnome 2 away from the user, and forcing the user to use their latest creations, Gnome 3 and Unity.  Each turned out to be not ready for prime time.  Heck, Microsoft can foist bugs on us why not buggy desktops, wrong.</p>
<p>Mint decided to take a different approach.  They couldn't stay with Gnome 2, because the Gnome team wouldn't support it.  They decided to make Gnome 3 as close to Gnome 2 as possible to ease their users problems with moving to the new desktop, and allow users to continue being productive as they were before.  The result was a flood away from the Ubuntu distro to the Mint distro.  Mint is now number one.</p>
<p>With the knowledge the Mint team gained developing their Gnome 2 version of Gnome 3, they used to create a new desktop offering, called Cinnamon.  Mint just released <a title="The Cinnamon Desktop" href="http://cinnamon.linuxmint.com/?p=99">Cinnamon 1.1.3</a>.  Whew, that was a long way to go to get here, but I thought the story was worth it.</p>
<p>Initially the Mint team with their program, called Mate, tried to mimic Gnome 2 using GTK+ and the Gnome shell, but that approach didn't provide what Mint needed in desktop functionality.</p>
<p>Cinnamon is a yet another new desktop, but it's different.  First, if you've loaded Mint, and like Mint, you'll like Cinnamon. Cinnamon's main focus is on productivity.  Unity and Gnome 3's focus is on making Linux easy to use for the new user.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2012/01/Cinnamon-1.1.3.png"><img class="aligncenter size-full wp-image-4121" title="Cinnamon-1.1.3" src="http://www.geekgumbo.com/wp-content/uploads/2012/01/Cinnamon-1.1.3.png" alt="" width="600" height="345" /></a></p>
<p>Cinnamon offers a bottom panel you can configure and hide.  It has all the features of the current Mint desktop, including an advanced menu system with the same layout as the Mint menu.  It has a custom panel launcher, and an advanced sound control to manage your and control your music.</p>
<p>Cinnamon is still in the early stages of its life.  They are working on a graphical configuration tool, and extensions and themes.  The important thing is Cinnamon is stable.  Cinnamon can be loaded with, or replace, any of those other desktops.</p>
<p>Cinnamon bears watching. KDE's 4.7 release is nice, and if you're a Fedora fan, this is the way to go, but if you like the old productive Gnome 2 desktop, it looks to me like Cinnamon will be the desktop of choice down the road, not Unity.</p>
<p>There's something else important about Cinnamon.  Mint didn't come out and say, "Use us, it's your only choice, and tough luck if there's bugs", like Gnome 3 and Unity did.  You can use Mint, while Cinnamon is continuing development, and has the proper time to bake, and become very stable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2012/01/08/welcome-the-cinnamon-1-1-3-desktop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrading to Mint 12</title>
		<link>http://www.geekgumbo.com/2011/11/29/upgrading-to-mint-12/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgrading-to-mint-12</link>
		<comments>http://www.geekgumbo.com/2011/11/29/upgrading-to-mint-12/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 13:28:44 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Mint]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3992</guid>
		<description><![CDATA[The next version of Mint has been released, Mint 12, codenamed Lisa.  Mint code names are always female names ending in "a" with the version number determining the starting letter of the code name.  L is the 12th letter of &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/11/29/upgrading-to-mint-12/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The next version of Mint has been released, Mint 12, codenamed Lisa.  Mint code names are always female names ending in "a" with the version number determining the starting letter of the code name.  L is the 12th letter of the alphabet, so "Lisa" it is.</p>
<div id="attachment_3993" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/menu15.png"><img class="size-full wp-image-3993" title="menu15" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/menu15.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Mint 12 with the Menu Open showing Office tools</p></div>
<p>&nbsp;</p>
<p>You can <a title="Download Mint 12" href="http://www.linuxmint.com/download.php">download the new version of Mint</a>, but it is not trivial.  I downloaded the full DVD version which clocks in at a mere 1 Gb.  The download took about 3.5 hours even with my fast Internet connection.  I suspect the problem was the large number of people downloading from the site, since it was the first day Lisa was available for download.  You can download a CD fitting version which is smaller, but you will then have to download additional codec's after you get the new version installed.  If you don't want to spend the time to download the iso image and burn a DVD, I recommend you buy the DVD from Mint for $15, which will support Mint development.</p>
<p>I checked the downloads checksum value by running "md5sum linuxmint-12-gnome-dvd-32bit.iso," from the terminal window, checked this with the checksum on the Mint web site, <span style="color: #008000;">ee3d6e2ca498bc7685b7f17cdb5f2eea</span>, and got a match, all set.  I'd hate to cut the DVD and encounter problems later, caused by trouble with the download.  Those problems would be tough to find.  Better to check the checksum and have peace of mind.</p>
<div id="attachment_4003" class="wp-caption alignnone" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/shutdown51.png"><img class="size-full wp-image-4003" title="shutdown5" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/shutdown51.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Click your name on the upper righ to shut down</p></div>
<p>&nbsp;</p>
<p>Mint 11 comes with a nice DVD burner program, Brasero, which burned the downloaded ISO image to a DVD in about 10 minutes.  I'm ready to do the upgrade to Mint 12.  Time to reboot the computer, and say goodbye to Mint 11.</p>
<p>I loaded the DVD into my drive and rebooted.  Mint 12 came up from the DVD in about 3 minutes.  The new interface is not that far off of the Mint 11 and Gnome 2.  I did notice my home folders now have icons on them, and there are more icons in the Menu with a slightly different layout.</p>
<p>On the desktop is the icon to load Mint 12 on the hard drive.  Clicked the icon...everything worked fine, except, ALL STOP!  You are presented with three choices to load Mint 12: Choice 1: Load Mint 12 next to Mint 11 and retain all your Mint 11 data.  This means you have a dual boot.  On each boot up you can pick Mint 11 with your old data, or Mint 12 with new data.  Choice 2: Blow away all your data, blow away Mint 11, and replace it with Mint 12.  Choice 3: Repartition your disk to something else.  I didn't like any of those choices.  I choose to remove the Mint 12 disk, get out my trusty <a title="Lexar 16 Gb Firefly" href="http://www.amazon.com/Lexar-LJDFF16GASBNA-JumpDrive-FireFly-FlashDrive/dp/B0027VT6OG">Lexar 16 Gb Firefly</a> (my favorite USB jump drive), and save my data.</p>
<p>Back to the installation, Mint 12 requires an Internet connection and 5.6 Gb to load.  I clicked on the install button on the desktop and decided on Choice 2 above.  It takes about 15 minutes to install depending on your hardware.  There are no more difficult choices and everything runs smoothly.  Once you remove the DVD and reboot, the operating system loads in about 2 minutes.  Welcome to Linux Mint 12.</p>
<p>On the upper right task bar you may find an icon on the left end to install additional drivers.  I needed to install a Mint tested Nvidia driver for 3d graphics.  Next to that is a shield icon,  which is the update manager, click on this and install the latest updates.  The driver and software updates take another 15 minutes to load.  Your all finished.</p>
<div id="attachment_4000" class="wp-caption alignnone" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/infinityapp55.png"><img class="size-full wp-image-4000" title="infinityapp55" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/infinityapp55.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Click the upper left infinity logo. This shows the windows view.</p></div>
<p>&nbsp;</p>
<p>Things I notice different are the icons on the left in the lower right menu for your most frequently used applications, see the first picture.  The menu system is fast and responsive.</p>
<p>There is an infinity icon in the upper left task bar, click on this and your open desktop applications show up.  If you click on an application window, you expand to that screen.  The infinity icon is on all screens, this then is a fast context switcher between the windows of your open applications.</p>
<div id="attachment_3998" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/infinityapp25.png"><img class="size-full wp-image-3998" title="infinityapp25" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/infinityapp25.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Clicking the infinity icon and the applications menu showing sound icons</p></div>
<p>&nbsp;</p>
<p>In the infinity view there are two menu choices, the default is windows, if you click on the applications menu in the upper right, all your application icons appear.  In the applications view you can pick a category in the right sub menu, and the icons are filtered to just show that category.  This reminds me of the Ubuntu Unity Dash, but I like the look of this Gnome 3 interface better.  I wonder which came first Gnome 3 or the Unity Dash with right menus?  Since the right menus appeared in Unity in the second release, I give a nod to Gnome 3.</p>
<p>Another thing new is if you bring up your browser, you'll find duck-duck-go as your new default search engine.  This allows Mint to share in search revenues. Duck-duck-go is a different type of search engine.  You can <a title="Duck-duck-go features" href="http://blog.linuxmint.com/?p=1884">read about it</a> here, and there is an <a title="Duck-Duck-Go Illustrated Guide" href="http://dontbubble.us/">illustrated guide</a> to duck-duck-go here.</p>
<p>The new MSGE interface that Mint has designed is a pleasant mix between Gnome 2 and Gnome 3 and allows users to gradually get use to the Gnome 3 interface.  This is really Gnome 3, but with the Gnome 2 application menu, bottom panel, window list, task-centric desktop, and visible system tray icons.  If you want, you can gradually turn off Gnome 2 features and end up with a complete Gnome 3 desktop as you get used to Gnome 3.</p>
<p>To shut down and turn off your computer, like in Gnome 2, you click your name in the upper right task bar, and click "Shut Down."   You also have a choice to restart from the "Shut Down" menu.  System settings are also configured from this upper right menu.</p>
<p>The developers at Mint are to be commended for the way they had the interest of Gnome 2 users in mind when designing the MSGE desktop.  They could have taken the easy way out and just moved to Gnome 3 like everyone else has had to do.</p>
<p>This is a responsive, beautiful desktop.  Yes, it is a nicer interface than the Unity desktop.  So far, I like what I see.  I highly encourage you to back up your data, and update to Lisa.   You'll love her just as much as Katya, if not more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/11/29/upgrading-to-mint-12/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Vim Plugins</title>
		<link>http://www.geekgumbo.com/2011/11/24/vim-plugins/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vim-plugins</link>
		<comments>http://www.geekgumbo.com/2011/11/24/vim-plugins/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 15:25:25 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3952</guid>
		<description><![CDATA[Vim has been the go-to Linux terminal window editor since 1991 when it came along as an improved Vi.  One of the things that Vim improves over Vi is its ability to configure the editor and add third party plugins.  &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/11/24/vim-plugins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vim has been the go-to Linux terminal window editor since 1991 when it came along as an improved Vi.  One of the things that Vim improves over Vi is its ability to configure the editor and add third party plugins.  We talked about some of the built-in configuration options you can add to the .vimrc file in my <a title="VIm Cpnfiguration" href="http://www.geekgumbo.com/2011/11/14/vim-configuration/">Vim Configuration post.</a>  In this article, we'll limit ourselves to Vim plugins.</p>
<div id="attachment_3961" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtree35.png"><img class="size-full wp-image-3961" title="nerdtree35" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtree35.png" alt="" width="600" height="415" /></a><p class="wp-caption-text">The NERDTree plugin with the help screen open</p></div>
<p>&nbsp;</p>
<p>Vim plugins offer additional functionality to the Vim editor that could not be created with a simple .vimrc set option.  There are quite a few plugins for Vim, and we'll review the most popular shortly.  You can find information about plugins on the <a title="Vim Web Site" href="http://www.vim.org/scripts/script_search_results.php ">Vim web site</a> under scripts.  There are some 3,799 Vim plugins at this writing.  Chances are you can find, and add, the functionality you want in one of these plugins.</p>
<p>These plugins are written in a language called "vimscript".  Vimscript files end with a ".vim" suffix.  Plugin installation varies slightly from one plugin to another, but for the most part installation is farily standard and simple.  In your home diretory, you'll find a .vim directory.  In the .vim directory, you will create, or there is already, a plugin directory. ~/.vim/plugin.  Your ".vim" plugin files will go here.  Any documentation will go into ~/.vim/doc, and are usually just .txt files.</p>
<p>When Vim starts up, it looks in the ~/.vim/plugin directory. and any .vim files it finds there, it loads automatically, piece of cake.  Each plugin will have a slight learning curve to figure out how to use it.  This is usually found in the documentation.</p>
<p>When you find a plugin you like, you can "google" it, and find the script page on the Vim web site. The instruction for each plugin is in a standard format that will answer most of your questions.  You will usually find a .zip file that you can download, extract the files, and copy them to the appropriate .vim subdirectory.</p>
<p>A word to the wise, chances are they'll be a github page for the vim plugin you want to download, you can clone the plugin from github.  I recommend using github over the vim web site, because the plugins are more up to date on github, and they install easier.  If you don't have git installed on your computer yet, see my articles on git to get you started.</p>
<p>Go to your home directory and run git clone.  The command to get the plugin from github usually goes something like this: "git clone http://github.com/scrooloose/nerdtree.git" and that's it.  Git installs the plugin with appropriate directories for you without the extraction and downloading from the vim website, much easier, and more up to date.  Git will usually create a directory for the download, inside the directory, you'll find the .vim subdirectories.  Copy these to ~/.vim and your plugin is installed, and your all set.</p>
<p>There are a lot of good articles on the Internet on each plugin.  However, I would like to give a special shout out to a series of YouTube videos on <a title="Vim Essential Plugins" href="http://net.tutsplus.com/sessions/vim-essential-plugins/">Vim Essential Plugins</a> put out by nettuts+.  Each video shows you how to install the plugin, and how to use it.  Watching the plugin video is the quickest way to get up and running with a Vim plugin. Kudos, good stuff.</p>
<p><span style="color: #993300;">Out of the some 3,799 plugins, which are the plugins people use the most, and you should consider trying out?</span></p>
<p>I've included a link to the web page in the plugin name, and the link to the YouTube video on the plugin when available.  You can also find additional written articles on Vim plugins if you search by the plugin name.</p>
<p><a title="NerdTree" href="http://www.vim.org/scripts/script.php?script_id=168"><span style="color: #3366ff;">NERDTree</span></a> - An explorer window for your vim editor with bookmarks.  The most installed plugin, ever.  Type "?" in the NERDTree window to see the Help screen in the first picture above.  If you look at my .vimrc file in the picture below, you'll see I've mapped the F2 key to open NERDTree and the F3 key to close the explorer window. Cool.   I highly recommend this plugin.   <span style="color: #008000;"><span style="color: #000000;"> The</span> <span style="color: #339966;"><a title="NERDTree video" href="http://net.tutsplus.com/tutorials/other/vim-essential-plugin-nerdtree/"><span style="color: #339966;">NERDTree video</span></a></span>.<br />
</span></p>
<div id="attachment_3965" class="wp-caption aligncenter" style="width: 608px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtreevimrc351.png"><img class="size-full wp-image-3965" title="nerdtreevimrc35" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtreevimrc351.png" alt="" width="598" height="422" /></a><p class="wp-caption-text">Mapping Hot Keys to open and close NERDTree in my Vimrc file</p></div>
<p>&nbsp;</p>
<p><a title="SnipMate" href="http://www.vim.org/scripts/script.php?script_id=2540"><span style="color: #3366ff;">SnipMate</span></a> - A code snippet library that you use to "tab" code snippets into the file your editing.  You can create you own snippets by editing the file.  A snippet file is shown on the right in the below picture.  The <span style="color: #339966;"><a title="SnipMate Video" href="http://net.tutsplus.com/tutorials/other/vim-essential-plugin-snipmate/"><span style="color: #339966;">SnipMate Video</span></a> </span></p>
<div id="attachment_3966" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtree25.png"><img class="size-full wp-image-3966" title="nerdtree25" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/nerdtree25.png" alt="" width="600" height="411" /></a><p class="wp-caption-text">SnipMate snippet library files with a file open on the right using NERDTree</p></div>
<p>&nbsp;</p>
<p><a title="NerdCommenter" href="http://www.vim.org/scripts/script.php?script_id=1218"><span style="color: #3366ff;">NERDcommenter</span></a> - Quickly comment and un-comment blocks of code with tags determined by whatever language is open in the editor.</p>
<p><a title="MRU" href="http://www.vim.org/scripts/script.php?script_id=521"><span style="color: #3366ff;">MRU</span></a> - "Most Recently Used" Open recently edited files.</p>
<p><a title="Matchit" href="http://www.vim.org/scripts/script.php?script_id=39"><span style="color: #3366ff;">Matchit</span></a> - Jump to the matching word or tag in a file.</p>
<p><a title="BufExplorer" href="http://www.vim.org/scripts/script.php?script_id=42"><span style="color: #3366ff;">Bufexplorer</span></a> - Quickly switch between open buffer windows, and edit several files in a single editor session.</p>
<p><span style="color: #3366ff;"><a title="Project" href="http://www.vim.org/scripts/script.php?script_id=69"><span style="color: #3366ff;">Project</span></a></span><span style="color: #3366ff;"> - </span>Set up a list of files that your working with in a project that stay on the left side of the editor window for quick access.</p>
<p><a title="Align" href="http://www.vim.org/scripts/script.php?script_id=294"><span style="color: #3366ff;">Align</span></a> - Align the equal signs and other symbols in your file for easier reading.</p>
<p><a title="Taglist" href="http://www.vim.org/scripts/script.php?script_id=273"><span style="color: #3366ff;">Taglist</span></a> - A source code browser that creates lists of classes, methods, functions in your code for quick access.</p>
<p>There are many more language specific plugins that will help you with your coding, and there are color themes available, along with color sampler plugins for coloring language syntax.  I think this gives you a flavor for what Vim plugins can do for your Vim editor.  All you have to do is give a couple of plugins a try, and you'll be hooked on getting your Vim editor just the way you want it.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/11/24/vim-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Configuration</title>
		<link>http://www.geekgumbo.com/2011/11/14/vim-configuration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vim-configuration</link>
		<comments>http://www.geekgumbo.com/2011/11/14/vim-configuration/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 13:56:57 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3920</guid>
		<description><![CDATA[For those of you who use vim, vim comes with a bunch of settings you can use to tune the editor to how you want vim to work. When vim first opens, it looks for an initialization file, .vimrc, in &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/11/14/vim-configuration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For those of you who use vim, vim comes with a bunch of settings you can use to tune the editor to how you want vim to work.</p>
<p>When vim first opens, it looks for an initialization file, .vimrc, in your home directory, <span style="color: #0000ff;">~/.vimrc</span> in Mac and Linux, and <span style="color: #0000ff;">$HOME/.vimrc</span> in Windows.  Let's take a look at a fairly simple .vimrc file before getting started.</p>
<div id="attachment_3921" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/vimrc35.png"><img class="size-full wp-image-3921" title="vimrc35" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/vimrc35.png" alt="" width="600" height="389" /></a><p class="wp-caption-text">A simple .vimrc file</p></div>
<p>&nbsp;</p>
<p>The .vimrc will not be there when you first configure a system, you'll have to create it.  Let's do that, in your home directory, type: "<span style="color: #0000ff;">touch .vimrc</span>"  Now that we have a configuration file lets see what we can do with the editor.  If you have been typing a bunch of switches when you open vim, you'll find we can put them in the .vimrc file and save you some typing.</p>
<p>Let's get started.  Open up .vimrc in vim and put at the very top of the file the following line, "<span style="color: #0000ff;">set nocompatible</span>" without the quotes.  This has to be the first line in the file.  "set nocompatible" tells vim that you are going to use the vim variables in this file, rather than the standard vi configuration.  Comments in the .vimrc are done with a single double quote.  Variables should be one to a line.</p>
<p>The easiest way to do this is just list the options and what they do.</p>
<p><span style="color: #0000ff;">set nocompatible</span>    " use vim defaults.  MUST BE FIRST LINE</p>
<p>"<span style="color: #339966;"> LAYOUT</span><br />
<span style="color: #0000ff;">set number</span>          " show line numbers. Handy when you get error messages with line numbers.<br />
<span style="color: #0000ff;">set nu</span>                " show line numbers, same as above<br />
<span style="color: #0000ff;">set title</span>           " show title of the file in vim title bar<br />
<span style="color: #0000ff;">set ls=2</span>            " show status bar with file path and name<br />
<span style="color: #0000ff;">set showcmd</span>         " displays an incomplete command in the lower right of the window<br />
<span style="color: #0000ff;">set ruler</span>           " show the cursor vertical and horiz position in the lower right corner, or right status line<br />
<span style="color: #0000ff;">set nowrap</span>            " don't wrap lines<br />
<span style="color: #0000ff;">set showmode</span>        " show the current mode of the editor</p>
<p><span style="color: #0000ff;">set history=1000</span>    " keep the last 1000 commands and last 1000 search patterns<br />
<span style="color: #0000ff;">set background=dark</span> " make background dark, i.e black<br />
<span style="color: #0000ff;">set mouse=a</span>            " enable mouse usage<br />
<span style="color: #0000ff;">set virtualedit=onemore</span>    " allow cursor one line beyond last line<br />
<span style="color: #0000ff;">set spell</span>            " turn on spell checking<br />
<span style="color: #0000ff;">set backspace=indent,eol,start</span>  " cut blank spaces at the front of the line, end of line, and before the insert cursor when starting insert mode.</p>
<p>"<span style="color: #339966;"> MOVEMENT AND FORMATTING</span><br />
<span style="color: #0000ff;">set ttyfast</span>            " smoother changes<br />
<span style="color: #0000ff;">set ttyscroll=0</span>        " turn off scrolling<br />
<span style="color: #0000ff;">set autoindent</span>        " indents if previous line was indented<br />
<span style="color: #0000ff;">set noautoindent</span>    " no autoindent<br />
<span style="color: #0000ff;">set smartindent</span>        " smart indenting<br />
<span style="color: #0000ff;">set nosmartindent</span>    " turn off smart indent<br />
<span style="color: #0000ff;">set cindent </span>           " cindent<br />
<span style="color: #0000ff;">set nocindent</span>        " no cindent</p>
<p>"<span style="color: #339966;">FOR SEARCHING</span><br />
<span style="color: #0000ff;">set hlsearch</span>        " highlight searches.  One of my personal favorites.  All valid search results are highlighted in color.<br />
<span style="color: #0000ff;">set incsearch</span>       " do searching as characters are typed in the search pattern<br />
<span style="color: #0000ff;">set ignorecase</span>      " ignore case when searching<br />
<span style="color: #0000ff;">set noignorecase</span>    " don't ignore case<br />
<span style="color: #0000ff;">set sm</span>                " show matchin braces<br />
<span style="color: #0000ff;">syntax on</span>            " syntax highlighting</p>
<p>"<span style="color: #339966;">FOR KEYMAPPING</span>  bind a single key to vim commands<br />
<span style="color: #0000ff;">:map &lt;F2&gt; :previous</span>    " maps F2 key to open previous buffer<br />
<span style="color: #0000ff;">:map &lt;F3&gt; :next</span>        " maps F3 to open next buffer</p>
<p>" <span style="color: #339966;">LINE INDENTING</span><br />
<span style="color: #0000ff;">set tabstop=4</span>       " numbers of spaces for the tab character<br />
<span style="color: #0000ff;">set expandtab</span>        " tabs are converted to spaces<br />
<span style="color: #0000ff;">set shiftwidth=4</span>    " numbers of spaces to (auto)indent<br />
<span style="color: #0000ff;">set scrolloff=3</span>     " keep 3 lines when scrolling</p>
<p>"<span style="color: #339966;">ERROR BEEPS</span><br />
<span style="color: #0000ff;">set visualbell</span>    t_vb     " turn off visual errors alert both the flash(v) and the beep(b)<br />
<span style="color: #0000ff;">set novisualbell</span>    " turn off visual bell error alert</p>
<p>" <span style="color: #339966;">SAVING</span><br />
<span style="color: #0000ff;">set nobackup</span>        " do not keep a backup file<br />
<span style="color: #0000ff;">set autowrite</span>        " automatically savews changes when quitting or switching buffers</p>
<p>" <span style="color: #339966;">CREATE A BACKUP COPY</span>, but not for vim itself<br />
<span style="color: #0000ff;">if has("vms")</span><br />
<span style="color: #0000ff;"> set nobackup</span><br />
<span style="color: #0000ff;"> else</span><br />
<span style="color: #0000ff;"> set backup</span><br />
<span style="color: #0000ff;"> endif</span></p>
<p>This list is not in any way inclusive.   The .vimrc file can get quite extensive, and there are many examples of .vimrc files on the Internet that are quite lengthy.  What most folks don't know is that there are plugins that can be configured with vim to do a whole lot more than basic editing.  Plugins are another topic which I'll cover in another post.   We can add plugins, change the cursor, color any aspect of the editor you would like including syntax coloring, but this list should get you started.  For more information see the actual <a title="Vim Documentation" href="http://vimdoc.sourceforge.net/htmldoc/usr_05.html#05.1">vim documentation</a>.</p>
<p>In order for any of your changes in .vimrc to take effect you will have to reopen your terminal window, or run "<span style="color: #0000ff;">source .vimrc</span>" at the command line.  Bear in mind, not all of the above setting may work as the different linux distros handle things slightly differently.  If a command is not available, vim will tell you when you source .vimrc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/11/14/vim-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mint &#8211; the New King Of The Hill</title>
		<link>http://www.geekgumbo.com/2011/11/09/mint-the-new-king-of-the-hill/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mint-the-new-king-of-the-hill</link>
		<comments>http://www.geekgumbo.com/2011/11/09/mint-the-new-king-of-the-hill/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 16:55:03 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Mint]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3904</guid>
		<description><![CDATA[Well a couple of weeks ago, I wrote how Ubuntu, Mint, and Fedora were the top three Linux distros in that order.  My how fast times change.  I think the community has come to a decision on the new Ubuntu &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/11/09/mint-the-new-king-of-the-hill/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well a couple of weeks ago, I wrote how Ubuntu, Mint, and Fedora were the top three Linux distros in that order.  My how fast times change.  I think the community has come to a decision on the new Ubuntu Unity desktop, and unfortunately for Canonical, that appears to be a thumbs down.</p>
<p>Here's a graph based on the latest <a title="DistroWatch" href="http://distrowatch.com/">DistroWatch</a> page hit rankings,</p>
<div id="attachment_3905" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/distros5.png"><img class="size-full wp-image-3905" title="distros5" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/distros5.png" alt="" width="600" height="364" /></a><p class="wp-caption-text">Page Hits for the Linux Distro Sites over the last 12 Months</p></div>
<p>&nbsp;</p>
<p>The graph shows what happen to Ubuntu's ranking after the latest Ubuntu release 11.10, Oneiric Ocelot, on October 13th about a 30 days ago.  Mint is the new King of the Hill.</p>
<p>Ubuntu's new release got rid of a lot of the bugs in their first version of the Unity desktop, that should have improved their rankings.  However, with this release, they made users specifically load Gnome 2 through the package manager, if they didn't want Unity.  Thus with this release users were arm-twisted to stay with the Unity desktop.  In the first release, it was easy to switch back to Gnome.   The Ubuntu nose dive seems to be a consensus on what Ubuntu users think of the Unity desktop.</p>
<p>The other problem Ubuntu is struggling with, and the reason I moved to Mint, was bugs in the software.  I caught one that required me to reload the operating system.  It was an ideal time to try a new distro, and so I tried Mint.  Ubuntu use to be fairly clean, and probably, because of their emphasis on Unity desktop lately, there have been more problems with the software, and delays in fixing bugs.</p>
<p>From my perspective, for a number of years now, folks have been using Gnome 2, and have gotten use to their desktop layout. They could move around fairly quickly.  Unity may look simpler, but it requires more keystrokes or mouse clicks to get where you want to go.</p>
<p>Mint has become the last bastion for Gnome 2.  However, Gnome 2 itself has been grandfathered, and all new development is being done on Gnome 3.  Gnome 3, like Unity, requires a paradigm shift to get adjusted, so it also is not getting great reviews.   Since Gnome 2 is still the most popular desktop for Linux, Mint's decision to stay with Gnome 2 was handsomely rewarded with a 40% increase in downloads in a single month.</p>
<p>Within the next week or so, Mint is scheduled for a new release Mint 12, code name Lisa.  Mint, based on Ubuntu, has released a preview of the upcoming release.  Because Gnome 2 is now frozen, Mint has no choice but to adopt the Gnome 3 base, if they want to stay current, so they have decided to gradually move folks toward Gnome 3, while maintaining the Gnome 2 layout.</p>
<p>Mint is going to let the users decide which desktop they'd like to use with the ability to switch back and forth easily.  They developed something called MGSE, Mint Gnome Shell Extensions, which is a Gnome 2 desktop layer on top of the Gnome 3 interface.  They should be applauded for this move, no other distro has taken this approach.  MSGE gives you a bottom panel, application menu, window list, a task-centric desktop, and tray icons, like Gnome 2.  It is a blend of the two Gnomes favoring Gnome 2.  Here's a preview from their site.</p>
<div id="attachment_3906" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/linuxmint12-preview5.png"><img class="size-full wp-image-3906" title="linuxmint12-preview5" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/linuxmint12-preview5.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Mint 12 preview</p></div>
<p>&nbsp;</p>
<p>For those that strictly want Gnome 2, Mint has forked Gnome 2 and made a version called MATE that runs along side Gnome 3 to give you the Gnome 2 desktop.  Bear in mind, that Gnome 2 and Gnome 3 are not compatible, you can't run both together unless you use the new MINT MATE application.  Also, Gnome 3 requires a 3d video card, Mint has taken care of those users without a card by making a Virtual 3d Acceleration module.  Gnome 3 still has some hardware problems, and the Virtual accelerator will alleviate this until drivers become available.</p>
<p>Not to be ignored is the new Fedora 16, Verne, after Jules Verne, released on November 8th.  There are several new components with this release.  They switched to GRUB 2 to improve boot time.  The default desktop is Gnome 3.2.1.   They included a nice, easy-to-use, new virtual keyboard for tablet users.  This version offers many bug fixes over the previous release.  Fedora has improved their log-in manager, and added easy access to Google Online Accounts.  The Fedora Linux kernal has also been updated.  You also have a choice to  download Fedora with the new KDE 4.7. desktop, if you prefer.</p>
<div id="attachment_3907" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/11/Fedora25.png"><img class="size-full wp-image-3907" title="Fedora25" src="http://www.geekgumbo.com/wp-content/uploads/2011/11/Fedora25.png" alt="" width="600" height="449" /></a><p class="wp-caption-text">Fedora with Gnome 3.2.1</p></div>
<p>&nbsp;</p>
<p>The popular distros are moving forward with new features and a multitude of bug fixes, making Linux distros a stable and better alternative to Windows.  The desktop wars will continue on, but instead of the traditional KDE versus Gnome, I guess, we'll have to include Unity in that mix, or maybe not.  I would think that if Canonical reception of the Unity desktop continues to be negative, even for new users, Canonical might want to consider a Gnome 3 release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/11/09/mint-the-new-king-of-the-hill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the Directory Color in the Bash Shell</title>
		<link>http://www.geekgumbo.com/2011/11/04/changing-the-directory-color-in-the-bash-shell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changing-the-directory-color-in-the-bash-shell</link>
		<comments>http://www.geekgumbo.com/2011/11/04/changing-the-directory-color-in-the-bash-shell/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 12:16:58 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3876</guid>
		<description><![CDATA[When your running Linux and do a "ls -al --color" in your Bash shell,  on some systems the directory color is so dark you can barely make out the directory names? This is surprisingly a common problem. Here's the problem: &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/11/04/changing-the-directory-color-in-the-bash-shell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When your running Linux and do a "ls -al --color" in your Bash shell,  on some systems the directory color is so dark you can barely make out the directory names? This is surprisingly a common problem.</p>
<p>Here's the problem:</p>
<div id="attachment_3877" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir25.png"><img class="size-full wp-image-3877" title="ls-dir25" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir25.png" alt="" width="600" height="259" /></a><p class="wp-caption-text">Directory Colors are hard to read</p></div>
<p>&nbsp;</p>
<p>Here's a solution:</p>
<div id="attachment_3878" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir35.png"><img class="size-full wp-image-3878" title="ls-dir35" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir35.png" alt="" width="600" height="260" /></a><p class="wp-caption-text">Changing the directory color to make it more readable</p></div>
<p>&nbsp;</p>
<p>To change your directory colors, open up your .bashrc file with your vi editor and make the following entry.</p>
<p>LS_COLORS='di=0;35' ; export LS_COLORS</p>
<p>That's all there is to it.  Well not quite.</p>
<p>Your color choices in this case 0;35 is purple are:</p>
<p>Blue = 34<br />
Green = 32<br />
Light Green = 1;32<br />
Cyan = 36<br />
Red = 31<br />
Purple = 35<br />
Brown = 33<br />
Yellow = 1;33<br />
white = 1;37<br />
Light Grey = 0;37<br />
Black = 30<br />
Dark Grey= 1;30</p>
<p>The first number is how light or dark you want the color to be, followed by a semicolon, and then the actual number of the color.</p>
<p>After you alter your .bashrc file, to put the changes in effect you will have to restart your shell.</p>
<p>If you want to change any other colors in the listing output, that is also customizable.  Read my article on "<a title="Changing your Shell Prompt" href="http://www.geekgumbo.com/2011/09/25/changing-your-shell-prompt/">Changing your shell prompt</a>"</p>
<p>And finally, if you want the commands in the .bashrc to run whenever you open a new shell, or first start up a shell.  You will need to put this line in your .bash_profile file:</p>
<p>if [ -f ~/.bashrc ]; then . ~/.bashrc; fi</p>
<p>The .bash_profile runs when you first open a shell.  This line says run my .bashrc file when you first load a shell.  See my article on "<a title="bash_profile or bashrc" href="http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/ ">bash_profile or bashrc</a>" for more details.</p>
<p>In closing I thought you'd like to see you how I set up my .bashrc file</p>
<div id="attachment_3879" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir45.png"><img class="size-full wp-image-3879" title="ls-dir45" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/ls-dir45.png" alt="" width="600" height="428" /></a><p class="wp-caption-text">My .bashrc file</p></div>
<p>&nbsp;</p>
<p>As to my color choices, what you don't like purple, try cyan.   I change my colors around a lot, like my desktop, this is just my current color sensation.  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/11/04/changing-the-directory-color-in-the-bash-shell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Desktops</title>
		<link>http://www.geekgumbo.com/2011/10/31/linux-desktops/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-desktops</link>
		<comments>http://www.geekgumbo.com/2011/10/31/linux-desktops/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 23:31:33 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3836</guid>
		<description><![CDATA[Well, it's time to stick my head up from the clouds of my new job, learning my current new working environment, and the accompanying new systems funk, and take a look at the latest trends. Because of my tunnel vision &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/10/31/linux-desktops/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, it's time to stick my head up from the clouds of my new job, learning my current new working environment, and the accompanying new systems funk, and take a look at the latest trends. Because of my tunnel vision during this period, I admit to having missed the recent release of Ubuntu on the 13th of this month, Ubuntu 11.10. Having recovered and checked it today, I guess two weeks is not that far off, but I'm usually on top of the latest release, and this time, I got my butt handed to me. Talk about getting scooped.</p>
<div id="attachment_3896" class="wp-caption alignnone" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/unity5.jpg"><img class="size-full wp-image-3896" title="unity5" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/unity5.jpg" alt="" width="600" height="352" /></a><p class="wp-caption-text">Unity Desktop</p></div>
<p>&nbsp;</p>
<p>As my long time readers know, I moved over to the Linux Mint distro, because Mint runs the Gnome 2 interface that I have used for awhile. I wanted to escape the buggy Unity desktop of Ubuntu.  Mint is due out for a new release in a couple of weeks, however, after reading the much better reviews of the Unity desktop this time around, I am tempted to cut a DVD, and check it out for myself.  It seems like Ubuntu has tweaked the Unity desktop enough on this release to get rid of a lot of the previous bugs, and make it a much more pleasant experience.</p>
<div id="attachment_3847" class="wp-caption alignnone" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/unitydash15.jpg"><img class="size-full wp-image-3847" title="unitydash15" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/unitydash15.jpg" alt="" width="600" height="398" /></a><p class="wp-caption-text">Unity Desktop&#39;s new Dash in the latest release</p></div>
<p>What this means, though, is that Linux users are facing an array of desktop choices for their desktop experience. Three of these desktops are relatively new, bringing in snazzy 3d effects and improved interfaces, the new KDE 4.7 is out, Gnome3 has a new interface with improved graphics and 3d effects, from its original Gnome 2's 2d interface, and then there's Canonical's 3d Unity.</p>
<p>The difference between 2d and 3d is basically better graphics, and three dimensional effects, at the cost of performance, and perhaps needing a better video card. 3d makes it look more like the latest Windows desktop with transparency and widgets.</p>
<div id="attachment_3838" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/kde45.jpg"><img class="size-full wp-image-3838 " title="kde45" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/kde45.jpg" alt="" width="600" height="375" /></a><p class="wp-caption-text">KDE Desktop with Widgets</p></div>
<p>&nbsp;</p>
<p>I wonder why more users don't start using Linux, instead of putting up with Microsoft's increasingly domineering approach in their Windows environment; see my recent articles on Microsoft annoyances. The problem that I believe has kept mass defections from Windows to Linux, is the problem it has always had, too many cooks in the kitchen, too many choices. What Microsoft and Apple are smart about, and who knows, they may have gained this knowledge by watching Linux's struggles for acceptance, is that they stick to one interface, and you don't get any other choices. As a new user, how would I know which Linux desktop to use?</p>
<div id="attachment_3839" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/gnome35.png"><img class="size-full wp-image-3839 " title="gnome35" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/gnome35.png" alt="" width="600" height="450" /></a><p class="wp-caption-text">Gnome 3 Desktop</p></div>
<p>&nbsp;</p>
<p>Canonical is betting that newbie's to Linux will love Unity, so much so, that they don't give you the easy choice to go back to Gnome in this release. You can still use Gnome, but you have to load it yourself. At the risk of gross generalization, you're asking a relatively unsophisticated Window's user to know what desktop they want to use, and which Linux distro to pick from a list of 80 or so. A tall order for a newbie. The choices are overwhelming, just go to <a title="DistroWatch" href="http://distrowatch.com/">distrowatch.com</a> to see what I mean. As a new user, I would not want to go through loading and playing with each desktop on a different distro to make up my mind.</p>
<p>If you step back, what this effectively does is make for a much clearer separation of Linux distros.  If you load Ubuntu, you get Unity. If you load Linux Mint, you get Gnome 2.  If you load Fedora, you get Gnome 3.  KDE is available from all three providers as a different distro.  So maybe this is a good thing.</p>
<p>In this environment, for a new user, the most popular wins. If a lot of people are using a distro, a new user feels safer going with the popular distro. At the moment, we're in a horse race between Ubuntu, Mint and Fedora in that order.</p>
<div id="attachment_3840" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/10/GNOME_25.jpg"><img class="size-full wp-image-3840" title="GNOME_25" src="http://www.geekgumbo.com/wp-content/uploads/2011/10/GNOME_25.jpg" alt="" width="600" height="480" /></a><p class="wp-caption-text">Gnome 2 Desktop</p></div>
<p>&nbsp;</p>
<p>Just to make myself clear, and I'm tempted to say crystal, in thinking of Jack Nicholson in the 1992 movie, "A Few Good Men." I believe you get better performance, faster boot up, just as many polished applications, more security, less malware, less viruses, more stability, and far less annoyances, with Linux, regardless of which distro or desktop you use. Linux, at this point in time, hands down, is a much better operating system with sophisticated, free applications. Are you listening, Window's readers?</p>
<p>If you want to try Linux, I would have Ubuntu or Mint send you a cd, or <a title="Making your own Linux CD" href="http://www.geekgumbo.com/2009/12/26/creating-an-ubuntu-cd/">cut your own, see my article on doing this</a>.  Put the DVD in your DVD drive, and reboot your computer. You don't have to install Linux to try it out, and if you don't install it, it won't interfere with your Window's installation. Poke around the desktop, and you'll see you have everything you have in Windows, granted you may have to learn a slightly different interface, but you'd have to do that with Apple also. If you don 't like it, keep the DVD, and use it to restore corrupted Windows files sometime in the future. The Linux file system reads all your Windows files, that you may not be granted access to if your Windows system becomes corrupted, see me article on "<a title="Saving Windows Data with an Ubuntu CD" href="http://www.geekgumbo.com/2010/05/23/saving-your-windows-data-with-an-ubuntu-cd/">Saving Your Windows Data with a Linux CD</a>."</p>
<p>In the end, it doesn't really matter which distro or desktop you use, they all have the same functionality and the same operating system under the hood. All that changes is the interface on top. At least give it a look see, it may save you some money, and who knows, you may get to like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/10/31/linux-desktops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Your Shell Prompt</title>
		<link>http://www.geekgumbo.com/2011/09/25/changing-your-shell-prompt/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changing-your-shell-prompt</link>
		<comments>http://www.geekgumbo.com/2011/09/25/changing-your-shell-prompt/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 18:15:34 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3570</guid>
		<description><![CDATA[I'm still setting up my Linux systems at work, and one of the things that I like to change is the BASH shell's prompt. I've found when I'm rolling back through shell commands to see the output of past commands, &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/09/25/changing-your-shell-prompt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I'm still setting up my Linux systems at work, and one of the things that I like to change is the BASH shell's prompt. I've found when I'm rolling back through shell commands to see the output of past commands, there's not a good way to separate one command from another with the standard prompt. You end up straining to see where one command started as you scroll back through history.</p>
<p>What I like to do is <span style="color: blue;">customize the output</span> of the prompt, and <span style="color: blue;">change the color</span> to make it stand out. Let's do that.</p>
<p>The prompt variable is one of many variables in the BASH shell. It's name is <span style="color: blue;">PS1</span>, and you can change it simply by assigning it a new value. What were going to do is play a little, before we do the actual change. If you mess up, just re-start your shell, and you'll have the original prompt back.</p>
<p>First, let's see what the current PS1 variable looks like. At the shell prompt, type, not forgetting the $ in front, <span style="color: green;"> echo $PS1</span> and then return. You should get a long character string. This will make sense to you shortly.</p>
<p>Let's play, type, this time without the $, keeping the spaces between the colon.<br />
<span style="color: green;"><br />
PS1="This is my new Prompt : "<br />
</span><br />
Hit the return a couple of times to see that indeed it is your new prompt. If you mess up and want to start over, just restart the shell. The spaces were picked up between the colon to give you a nicer prompt.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt15.png"><img class="aligncenter size-full wp-image-3581" title="prompt15" src="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt15.png" alt="" width="600" height="203" /></a></p>
<p>Now let's get to business. I like to have my my current user name (\u), which you may change occasionally in a session, and the current directory I'm in (\w) shown in my prompt. The space between the \u and \w gives you a space in your prompt. Let's do that, type;<br />
<span style="color: green;"><br />
PS1=" [\u \w] $ "<br />
</span><br />
After a couple of returns we see our prompt has changed. The spaces we put in between the quotes mattered. "Dale" is my current user name. The tilde, ~ , represents my home directory, which in this case is, /home/Dale.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt25.png"><img class="aligncenter size-full wp-image-3584" title="prompt25" src="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt25.png" alt="" width="600" height="194" /></a></p>
<p>All other directories are shown as is. Let's change your directory, to show you this.<br />
<span style="color: green;"><br />
cd /<br />
</span><br />
which takes you to the root directory, then<br />
<span style="color: green;"><br />
cd etc<br />
</span><br />
Your prompt now changes to reflect your directory.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt45.png"><img class="aligncenter size-full wp-image-3585" title="prompt45" src="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt45.png" alt="" width="600" height="83" /></a></p>
<p>There are many options you can use to change your prompt other than \u or \w. Here's a few more.</p>
<p>\u   the current user<br />
\w   the current directory<br />
\d   the date, like so: "Wed Dec 20"<br />
\h   the hostname<br />
\s   the name of the shell<br />
\t   current time in 24 hour format<br />
\T   current time in 12 hour format<br />
\!   the history number of this command</p>
<p>There are a few more, but these are the main ones you'll want to consider. For a complete list see the BASH manual, under "<a title="Controlling the Prompt" href="http://www.gnu.org/s/bash/manual/bash.html">6.9 Controlling the Prompt</a>".</p>
<p>The last thing we'll do is <span style="color: blue;">change the color</span> of the prompt. To do this we take the prompt we've created so far and surround it with the color tags, <span style="color: blue;">\e</span>, like you do with HTML, you'll need an end tag. Type:<br />
<span style="color: green;"><br />
PS1="\e[1;32m [\u \w] $ \em"<br />
</span><br />
If you mess up, hit your up arrow, fix your typos and try again.</p>
<p>I like a light green color which translates to 1;32m, note the semicolon between the numbers. The "m" ends the color. You should recognize the "[\u \w] $ ", then \em end color tag. You'll now find all your text, including the prompt has changed color. An effect you might want to keep.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt55.png"><img class="aligncenter size-full wp-image-3601" title="prompt55" src="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt55.png" alt="" width="600" height="276" /></a></p>
<p>We add one little start bracket, "[" at the end between the e and m, to change the color in just the prompt, like so:<br />
<span style="color: green;"><br />
PS1="\e[1;32m [\u \w] $ \e[m"<br />
</span><br />
I know it looks crazy, but now just the prompt has color. What we wanted. On some systems \e will not work, if so, try \033 instead of \e as your color tag.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt75.png"><img class="aligncenter size-full wp-image-3605" title="prompt75" src="http://www.geekgumbo.com/wp-content/uploads/2011/09/prompt75.png" alt="" width="600" height="327" /></a></p>
<p>The colored prompt breaks the commands up nicely when your scanning back through history.</p>
<p>Now to the colors, the first number of the color, 1;32, is how light you want the color to be, a 0;32 is a darker green. If you prefer other colors here is the list:</p>
<p>Blue = 34<br />
Green = 32<br />
Light Green = 1;32<br />
Cyan = 36<br />
Red = 31<br />
Purple = 35<br />
Brown = 33<br />
Yellow = 1;33<br />
white = 1;37<br />
Light Grey = 0;37<br />
Black = 30<br />
Dark Grey= 1;30</p>
<p>Not a huge color selection. You can get 256 colors. I'll let you do the homework on that one.</p>
<p>For you adventuresome types, there's much more you can do with color. You can color each element of the prompt differently.<br />
<span style="color: green;"><br />
PS1="\[e[1;32m[\u] \[e[1;32m[\w] $ \e[m"<br />
</span></p>
<p>You can make your prompt one color and the command output another by altering the last end tag like so:<br />
<span style="color: green;"><br />
PS1="\[e[1;32m][\u \w] $ \e[0;33m"<br />
</span><br />
You now have green prompt, with yellow output. The only trouble with coloring the output, is you may not have your directories colored, which is something I like. You can check this by typing <span style="color: green;"> ls -al --color</span>.</p>
<p>I picked this up after publishing this article.  If you want your command line to wrap around to a new line when it reaches the side of the terminal window, instead of staying on the same line and typing over the prompt, start the PS1 prompt, like so.</p>
<p>PS1="<span style="color: #ff00ff;">\[</span>\[e[1;32m][\u \w] $ \e[0;33m"</p>
<p>Notice the addition of "<span style="color: #ff00ff;">\[</span>" at the start of the assignment.</p>
<p>How do we make what you've just been playing with permanent? We put the PS1 string that you now have carefully crafted in your .bashrc file. And then either close your shell and restart it, or type:<br />
<span style="color: green;"><br />
source .bashrc<br />
</span><br />
If this doesn't work, I strongly recommend you read my article on <a title="bash_profile od bashrc" href="http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/">bash_profile or bashrc?</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/09/25/changing-your-shell-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash_profile or bashrc?</title>
		<link>http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bash_profile-or-bashrc</link>
		<comments>http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 23:14:34 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3551</guid>
		<description><![CDATA[I'm setting up my systems at work which includes setting up my session terminal windows on various Linux servers.  At times like these, the question runs through my mind as to which configuration file to use for my login scripts, &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I'm setting up my systems at work which includes setting up my session terminal windows on various Linux servers.  At times like these, the question runs through my mind as to which configuration file to use for my login scripts, .bash_profile or .bashrc. For my Windows readers, we're talking Linux today.</p>
<p><a href="http://www.geekgumbo.com/wp-content/uploads/2011/09/bash5.jpg"><img src="http://www.geekgumbo.com/wp-content/uploads/2011/09/bash5.jpg" alt="" title="bash5" width="353" height="490" class="aligncenter size-full wp-image-3553" /></a></p>
<p>We're also talking the BASH shell here, not the CSH or KSH, although they have similar files on start up.  A shell is a terminal window with a command line prompt that you see when you login to a Linux server.  It gives you a command line interface to the Linux operating system, as opposed to a desktop like you have in Windows.</p>
<p>So when do you use one or the other?</p>
<p>When you first login to a Linux shell, you want a way to run shell commands, set your PATH, and set environmental options for that paricular server session.  The .bash_profile file is run when your first open your terminal window, or any window, that requires you to login.</p>
<p>Actually, when you first login, the shell first looks for an /etc/profile file, and if it exists, the shell runs it first.  This is where you would put set up variables that would apply to all users.</p>
<p>Then, the shell looks for one of three files in order: ~/.bash_profile,  then ~/.bash_login,  and then ~/.profile.  It will only run the first one of the three files it finds.  Since the ~/.bash_profile is the first file looked for, after the shell looks for /etc profile, it is the file everyone uses for login scripts.</p>
<p>There is another file that runs when you open a new terminal window that doesn't require you to enter a user name and password, ~/.bashrc.  When would this be run?</p>
<p>If you are in a GNOME or KDE desktop and open a terminal window, you normally don't need to login to the terminal window, and therefore, ~/.bash_profile will not run, but ~/.bashrc will run.   If you don't use a desktop, just the terminal window, and want to open another shell window with xterm, openvt, or GNU screen, for example.  If the new terminal window, or shell, doesn't require a login, then ~/.bash_profile will not run in the new window, but ~/.bashrc will.</p>
<p>The common practice is to put your shell scripts in the ~/.bashrc file, and then call the ~/.bashrc file when ~/.bash_profile runs during the login.</p>
<p>How do we set this up?</p>
<p>The recommended script in the BASH manual to put in your ~/.bash_profile file that starts the ~/.bashrc file is;</p>
<p><code></p>
<pre class="brush:php">

if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
</pre>
<p></code></p>
<p>This can be put at the beginning or the end of the .bash_profile file.</p>
<p>When you login, the .bash_profile file is run, which then points to and runs the .bashrc file where all your environmental set ups and aliases should reside.</p>
<p>By the way, there is a file run when the login shell exits at the close of a session, ~/.bash_logout, if you'd like to close things up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/09/20/bash_profile-or-bashrc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Distro War Unfolding</title>
		<link>http://www.geekgumbo.com/2011/07/09/linux-distro-war-unfolding/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-distro-war-unfolding</link>
		<comments>http://www.geekgumbo.com/2011/07/09/linux-distro-war-unfolding/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 16:53:39 +0000</pubDate>
		<dc:creator>daleV</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekgumbo.com/?p=3243</guid>
		<description><![CDATA[Ubuntu released their latest Linux distro, Natty Narwhal on April 28th. A little over two months ago.  Canonical, the maker of Ubuntu, took a major risk with this release. The risk was in replacing the Gnome Desktop with their own &#8230; <a class="more-link" href="http://www.geekgumbo.com/2011/07/09/linux-distro-war-unfolding/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu released their latest Linux distro, Natty Narwhal on April 28th. A little over two months ago.  Canonical, the maker of Ubuntu, took a major risk with this release. The risk was in replacing the Gnome Desktop with their own Unity Desktop.</p>
<p>I've written about the <a title="The Unity Desktop" href="http://www.geekgumbo.com/2011/05/09/the-unity-desktop-a-review-with-tips/">Unity Desktop</a> and the <a title="Natty Narwhall Release" href="http://www.geekgumbo.com/2011/04/28/ubuntu-11-04-natty-narwhal-is-released/">Natty Narwhal release</a> in previous articles. Basically, I felt, the first Unity Desktop release was not ready for prime time, and that Canonical maybe should have waited maybe one more release to bring out Unity. Hindsight is always 20-20.</p>
<div id="attachment_3246" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/07/unity25.png"><img class="size-full wp-image-3246" title="unity25" src="http://www.geekgumbo.com/wp-content/uploads/2011/07/unity25.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">The Unity Desktop</p></div>
<p>Canonical did leave the user the opportunity to switch to the Gnome desktop, which they called Ubuntu Classic.  There they tripped up again, by also introducing the new Gnome 3 desktop.  In order to run the new Gnome 3 Desktop, you needed a 3d graphic card, and a 3d video driver for that card.</p>
<p>The combination of a new Unity Desktop, which required previous users to learn, and like, a new way to get around their computer, and if they didn't like Unity, s<a title="Switching back to the Gnome Desktop" href="http://www.geekgumbo.com/2011/05/04/switching-the-unity-desktop-to-the-gnome-desktop/">witching back to the Gnome Desktop</a> with Ubuntu Classic, and finding either bugs in Gnome 3, or that Gnome 3 would not work on their computer,  could have driven users to a new distro.</p>
<p>Ubuntu by a wide margin has been the most popular Linux distro now since 2005. That's six long years in software development, and quite an accomplishment. Would Natty Narwhal's changed front end cause Ubuntu to lose its position as the most used Linux Distro?</p>
<p>There's a web site dedicated to the Linux Distros called <a title="DistroWatch" href="http://distrowatch.com/">DistroWatch</a> which monitors the various distros and their popularity.   We can go back to 2005, year by year, and see that Ubuntu has maintained its lead as the most popular distro.  So far this year, if you measure the last six months, Ubuntu is still in the lead with Linux Mint coming on strong. If you look at the last three months, remember Natty Narwhal was release just over two months ago, we find Ubuntu and Mint dead even.</p>
<p>However, in the last 30 days, Mint has taken the lead.  In the last 7 days, Ubuntu has taken the lead back.  In the meantime, a dark horse, the PCLinuxOS distro,  has gone from 7th, to 4th, to 3rd in the three month, one month, and seven day time frame.  We are in the middle of a distro war and it appears that Ubuntu has stubbed its toe with Natty Narwhal.</p>
<div id="attachment_3126" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/06/MintMenu5.png"><img class="size-full wp-image-3126" title="MintMenu5" src="http://www.geekgumbo.com/wp-content/uploads/2011/06/MintMenu5.png" alt="" width="600" height="375" /></a><p class="wp-caption-text">Linux Mint</p></div>
<p>I've written an article on installing <a title="Linux Mint" href="http://www.geekgumbo.com/2011/06/21/installing-linux-mint-11/">Linux Mint</a>. I moved to it when I got fed up with Unity, and my Gnome Desktop crashed. Linux Mint has been running fine with the Gnome 2 desktop. I do find it not quite as crisp as Ubuntu, and their package manager is not quite as good as Ubuntu in interface design, but I would not go back to Ubuntu in its current state.</p>
<p>I would go back and try Ubuntu again, provided they had a Gnome release, like their KDE release. Their current Unity Desktop is too much of a change in how I work to use. Quite frankly, despite all the icons and the Dash, I find it takes more mouse clicks to get to where I want to go.  I like the way Gnome Do works for bringing up applications, which you can't run with Unity without modification.</p>
<p>Canonical thought their Unity Desktop would appeal to Windows, non-developers, certainly a much bigger audience then the current Linux user base. They may have misjudged the size of the Windows users willing to switch, and the loyalty of their previous users.</p>
<p>What's interesting is the rise of PCLinuxOS. This distro was made for ease of use, ease of installation, and to bring Linux to PC Window's users.  It is user friendly, and has many graphic and sound card support built-in. It is loaded with applications. It's getting very good reviews, which is obvious from its sudden surge.</p>
<div id="attachment_3247" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.geekgumbo.com/wp-content/uploads/2011/07/distropclinuxos-screen5.gif"><img class="size-full wp-image-3247" title="distropclinuxos-screen5" src="http://www.geekgumbo.com/wp-content/uploads/2011/07/distropclinuxos-screen5.gif" alt="" width="600" height="450" /></a><p class="wp-caption-text">PCLinuxOS</p></div>
<p>Canonical wanted to gather more Windows users with it's release of Natty Narwhal. It has competition on the left from Linux Mint for its former Gnome users. It has competition on the right from PCLinuxOS for the Window's users it wanted to capture. In the middle sits Ubuntu with a Unity Desktop that is a pain to work with, and is not that close to how the Windows Desktop functions.</p>
<p>Right now, were in a war. It will be interesting to see how this shakes out, and to see if Canonical can recapture, and keep, its throne with its October release of Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekgumbo.com/2011/07/09/linux-distro-war-unfolding/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

