<?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/" xmlns:media="http://search.yahoo.com/mrss/" ><channel><title>Make Tech Easier &#187; Joshua Price</title> <atom:link href="http://www.maketecheasier.com/author/joshuaprice/feed" rel="self" type="application/rss+xml" /><link>http://www.maketecheasier.com</link> <description>Uncomplicating the complicated, making life easier</description> <lastBuildDate>Wed, 19 Jun 2013 14:50:21 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>How to Install Hundreds of Fonts at Once in Ubuntu [Quick Tips]</title><link>http://www.maketecheasier.com/install-hundreds-of-fonts-in-ubuntu/2012/06/27</link> <comments>http://www.maketecheasier.com/install-hundreds-of-fonts-in-ubuntu/2012/06/27#comments</comments> <pubDate>Wed, 27 Jun 2012 23:25:57 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[fonts]]></category> <category><![CDATA[Ubuntu]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=52553</guid> <description><![CDATA[<p>Of all the things we get asked about by users transitioning from Windows to Linux, fonts come up as among the most frequently confusing aspects. While installing fonts in Ubuntu (or any Linux) is not difficult, it is quite different from Windows. For those who just want to get it over with once and for [...]</p><p>The post <a href="http://www.maketecheasier.com/install-hundreds-of-fonts-in-ubuntu/2012/06/27">How to Install Hundreds of Fonts at Once in Ubuntu [Quick Tips]</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2012/06/hundredsoffonts-small.jpg" alt="hundredsoffonts" title="How to Install Hundreds of Fonts at Once in Ubuntu" class="lazy alignleft size-full wp-image-52554" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2012/06/hundredsoffonts-small.jpg" alt="hundredsoffonts" title="How to Install Hundreds of Fonts at Once in Ubuntu" class="alignleft size-full wp-image-52554" data-recalc-dims="1" /></noscript>Of all the things we get asked about by users transitioning from Windows to Linux, fonts come up as among the most frequently confusing aspects.  While installing fonts in Ubuntu (or any Linux) is not difficult, it is quite different from Windows.  For those who just want to get it over with once and for all &#8211; to just load up hundreds of fonts at once and be done with it &#8211; this post is for you.<br /> <span id="more-52553"></span></p><h2>A Few Hundred</h2><p>You <em>could</em> accomplish the following by using a graphical package installer like Synaptic or the Ubuntu Software Center, but in the spirit of <em>do-it-once-and-forget-it-forever</em>, try the following command which can be pasted into your command prompt (Terminal).</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> fonts-cantarell lmodern ttf-aenigma ttf-georgewilliams ttf-bitstream-vera ttf-sjfonts ttf-tuffy tv-fonts</pre></td></tr></table></div><h2>Even More</h2><p>If, somehow, the fonts installed by all of the above packages are not enough for you, try one more.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> ubuntustudio-font-meta</pre></td></tr></table></div><p>This is a <em>meta</em> package linking together many other packages.  It will install quite a bit to your system, including some bit for programs and languages you might not need.</p><p>One way or another, between all these, you&#8217;re not likely to run out of new fonts any time soon.</p><p>The post <a href="http://www.maketecheasier.com/install-hundreds-of-fonts-in-ubuntu/2012/06/27">How to Install Hundreds of Fonts at Once in Ubuntu [Quick Tips]</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/install-hundreds-of-fonts-in-ubuntu/2012/06/27/feed</wfw:commentRss> <slash:comments>2</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2012/06/hundredsoffonts-small.jpg?resize=200%2C178" medium="image"> <media:title type="html">How to Install Hundreds of Fonts at Once in Ubuntu</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2012/06/hundredsoffonts-small.jpg?resize=200%2C178" medium="image"> <media:title type="html">How to Install Hundreds of Fonts at Once in Ubuntu</media:title> </media:content> </item> <item><title>5 Alternatives to Unity in Ubuntu Oneiric</title><link>http://www.maketecheasier.com/5-alternatives-to-unity-in-ubuntu-oneiric/2011/10/27</link> <comments>http://www.maketecheasier.com/5-alternatives-to-unity-in-ubuntu-oneiric/2011/10/27#comments</comments> <pubDate>Thu, 27 Oct 2011 14:58:27 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[desktop manager]]></category> <category><![CDATA[Enlightenment]]></category> <category><![CDATA[gnome 3]]></category> <category><![CDATA[kde]]></category> <category><![CDATA[lxde]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[unity desktop]]></category> <category><![CDATA[xfce]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=40113</guid> <description><![CDATA[<p>With the past few releases, Ubuntu has been focusing more and more on their homegrown desktop Unity. Some people love it, but a lot of us don&#8217;t. Fortunately, as with all things Linux, there are many alternative options. For those of us who just can&#8217;t find a way to unite with Unity, here are 5 [...]</p><p>The post <a href="http://www.maketecheasier.com/5-alternatives-to-unity-in-ubuntu-oneiric/2011/10/27">5 Alternatives to Unity in Ubuntu Oneiric</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-small.png?resize=200%2C150" alt="unityalternatives-small" title="unityalternatives-small" class="lazy alignleft size-full wp-image-40127" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-small.png?resize=200%2C150" alt="unityalternatives-small" title="unityalternatives-small" class="alignleft size-full wp-image-40127" data-recalc-dims="1" /></noscript>With the past few releases, Ubuntu has been focusing more and more on their homegrown desktop Unity. Some people love it, but a lot of us don&#8217;t. Fortunately, as with all things Linux, there are many alternative options. For those of us who just can&#8217;t find a way to unite with Unity, here are 5 great options that you might find you like better.<br /> <span id="more-40113"></span></p><h2>1. Gnome 3 with Gnome Shell</h2><p>Let&#8217;s get the most obvious choice out of the way first. Historically, Ubuntu has always run the Gnome desktop environment. Gnome was one of the first DEs for Linux, and is still going strong. When they recently released version 3, it was a complete overhaul of both the desktop interface and much of the software behind it. Currently, Ubuntu uses Gnome 3&#8242;s backend software with the Unity desktop, but if you want the full Gnome 3 experience you need Gnome Shell.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-gnomeshell.jpg?resize=600%2C375" alt="unityalternatives-gnomeshell" title="unityalternatives-gnomeshell" class="lazy aligncenter size-full wp-image-40114" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-gnomeshell.jpg?resize=600%2C375" alt="unityalternatives-gnomeshell" title="unityalternatives-gnomeshell" class="aligncenter size-full wp-image-40114" data-recalc-dims="1" /></noscript></p><p>As regular readers may know, we&#8217;ve covered Gnome Shell in detail <a href="http://maketecheasier.com/gnome-shell-is-almost-ready-to-rock-your-desktop/2011/02/17">several</a> <a href="http://maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14">times</a> <a href="http://maketecheasier.com/install-custom-gnome-shell-themes/2011/09/27">before</a>.</p><p>Gnome shell can be installed through the Ubuntu Software Center, or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> gnome-shell</pre></td></tr></table></div><h2>2. KDE</h2><p>The other big kid on the block is KDE. It and Gnome have been battling for the Linux desktop for years, each with their own group of avid supporters. As one of the heavyweight contenders, KDE packs a full suite of mature and capable software, a beautiful desktop, and decades of Linux desktop design experience.</p><p><img alt="kde-fullscreen" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/kde-fullscreen.jpg?resize=577%2C361" title="KDE 4.6" class="lazy aligncenter" data-recalc-dims="1" /><noscript><img alt="kde-fullscreen" src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/kde-fullscreen.jpg?resize=577%2C361" title="KDE 4.6" class="aligncenter" data-recalc-dims="1" /></noscript></p><p>All of KDE&#8217;s power and flexibility does not come cheap. A full KDE installation is a pretty hefty thing, and for all its fine points, KDE might not be a great option for low end or mobile computers.</p><p>KDE can be installed through the Ubuntu Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> kde-standard</pre></td></tr></table></div><p>or if you want, download <a href="http://kubuntu.com">Kubuntu</a>, which comes with KDE as the default DE.</p><h2>3. XFCE</h2><p>For a long time, <a href="http://maketecheasier.com/a-long-overdue-look-at-xfce/2010/12/02">XFCE</a> was jokingly known as &#8220;Gnome Lite&#8221;. It uses similar backend software (such as GTK) and has an overall look and feel similar to the Gnome 2.x series. It&#8217;s generally regarded as lighter and faster than Gnome, however most of those comparisons were made prior to Gnome 3. Now the two desktops take such vastly different approaches, and such comparisons would have less meaning.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-xfce.jpg?resize=600%2C375" alt="unityalternatives-xfce" title="unityalternatives-xfce" class="lazy aligncenter size-full wp-image-40117" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-xfce.jpg?resize=600%2C375" alt="unityalternatives-xfce" title="unityalternatives-xfce" class="aligncenter size-full wp-image-40117" data-recalc-dims="1" /></noscript></p><p>Still, its resemblance to Gnome 2 is much of the reason why many people (including <a href="https://plus.google.com/106327083461132854143/posts/SbnL3KaVRtM" target="_blank">Linus Torvalds</a> himself) have migrated to XFCE due to dissatisfaction with Gnome 3.</p><p>XFCE can be installed through the Ubuntu Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> xfce4</pre></td></tr></table></div><p>or download <a href="http://xubuntu.com">Xubuntu</a> which comes with XFCE.</p><h2>4. LXDE</h2><p>A lightweight option that&#8217;s been growing in popularity lately is LXDE. It&#8217;s a desktop environment built around the OpenBox window manager. It includes several small apps and utilities like the PCManFM file manager and a custom panel and terminal.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-lxde.jpg?resize=600%2C375" alt="unityalternatives-lxde" title="unityalternatives-lxde" class="lazy aligncenter size-full wp-image-40129" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-lxde.jpg?resize=600%2C375" alt="unityalternatives-lxde" title="unityalternatives-lxde" class="aligncenter size-full wp-image-40129" data-recalc-dims="1" /></noscript></p><p>LXDE is a fairly nice setup, particularly on lower-end machines, but it&#8217;s been this author&#8217;s experience that LXDE and its related apps always seem to have the feel of being <em>almost</em> done. If you&#8217;re the type of user who likes everything to be smoothly polished, feature-complete, and rock-solid &#8211; LXDE might not be great for you. If, however, you need something light, fast, and simple &#8211; I highly recommend you try it out.  It may not be your dream desktop, but it&#8217;s <em>almost</em> there.</p><p>LXDE can be installed through the Ubuntu Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> lxde</pre></td></tr></table></div><h2>5. Enlightenment (E17)</h2><p>Once considered a thing of myth and legend, E17 is now a part of Ubuntu 11.10&#8242;s online repositories. Many years of development have gone in to this release, and it&#8217;s got loads of features. This is a desktop that aims to do it all &#8211; high performance, high productivity, extreme flexibility, and loads of eye candy. Chances are it does not much resemble any desktop environment you&#8217;ve used before, so if you decide to take the plunge, be prepared for a little bit of a learning curve.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-e17.jpg?resize=600%2C375" alt="unityalternatives-e17" title="unityalternatives-e17" class="lazy aligncenter size-full wp-image-40125" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/unityalternatives-e17.jpg?resize=600%2C375" alt="unityalternatives-e17" title="unityalternatives-e17" class="aligncenter size-full wp-image-40125" data-recalc-dims="1" /></noscript></p><p>Once you&#8217;ve learned to do things the &#8220;enlightened&#8221; way, it may be tough to switch back. E17 can be installed through the Ubuntu Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> e17</pre></td></tr></table></div><h2>Conclusion</h2><p>Each of these has its own pros and cons. Some people love Gnome 3, some think it&#8217;s garbage. Some people use KDE every day, others won&#8217;t go near it. The beauty of Linux is that whatever you like, you can have it &#8211; for free. If it doesn&#8217;t exist, make it. That&#8217;s what open source is all about: choice. Hopefully this guide has helped you make yours.</p><p>The post <a href="http://www.maketecheasier.com/5-alternatives-to-unity-in-ubuntu-oneiric/2011/10/27">5 Alternatives to Unity in Ubuntu Oneiric</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/5-alternatives-to-unity-in-ubuntu-oneiric/2011/10/27/feed</wfw:commentRss> <slash:comments>14</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/unityalternatives-small.png?resize=200%2C150" medium="image"> <media:title type="html">unityalternatives-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/unityalternatives-small.png?resize=200%2C150" medium="image"> <media:title type="html">unityalternatives-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/unityalternatives-gnomeshell.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-gnomeshell</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/unityalternatives-gnomeshell.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-gnomeshell</media:title> </media:content> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">KDE 4.6</media:title> </media:content> <media:content url="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/kde-fullscreen.jpg?resize=577%2C361" medium="image"> <media:title type="html">KDE 4.6</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/unityalternatives-xfce.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-xfce</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/unityalternatives-xfce.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-xfce</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/unityalternatives-lxde.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-lxde</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/unityalternatives-lxde.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-lxde</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/unityalternatives-e17.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-e17</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/unityalternatives-e17.jpg?resize=600%2C375" medium="image"> <media:title type="html">unityalternatives-e17</media:title> </media:content> </item> <item><title>Getting Started with Amazon EC2</title><link>http://www.maketecheasier.com/getting-started-with-amazon-ec2/2011/10/20</link> <comments>http://www.maketecheasier.com/getting-started-with-amazon-ec2/2011/10/20#comments</comments> <pubDate>Thu, 20 Oct 2011 14:58:48 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Web Stuff]]></category> <category><![CDATA[Amazon]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[server]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=39816</guid> <description><![CDATA[<p>When Amazon first launched their Elastic Compute Cloud (EC2) in 2006, many people were a bit surprised. Those of us who&#8217;d always just thought of Amazon as a retailer were skeptical that they&#8217;d have much to offer. In the 5 years since then, Amazon has proven that they&#8217;re serious about this business and in making [...]</p><p>The post <a href="http://www.maketecheasier.com/getting-started-with-amazon-ec2/2011/10/20">Getting Started with Amazon EC2</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/logo_aws.gif?resize=164%2C60" alt="logo_aws" title="logo_aws" class="lazy alignleft size-full wp-image-39848" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/logo_aws.gif?resize=164%2C60" alt="logo_aws" title="logo_aws" class="alignleft size-full wp-image-39848" data-recalc-dims="1" /></noscript>When Amazon first launched their <a href="http://aws.amazon.com/ec2/" target="_blank">Elastic Compute Cloud (EC2)</a> in 2006, many people were a bit surprised. Those of us who&#8217;d always just thought of Amazon as a retailer were skeptical that they&#8217;d have much to offer. In the 5 years since then, Amazon has proven that they&#8217;re serious about this business and in making EC2 a world-class cloud computing platform. While there have been <a href="http://aws.amazon.com/message/65648/" target="_blank">hiccups</a>, Amazon Web Services in general are typically regarded as among the best in the business. In this guide, we&#8217;re going to cover the basics of cloud computing in general and Amazon EC2 in particular.<br /> <span id="more-39816"></span></p><h2>A Bit About &#8220;The Cloud&#8221;</h2><p>As with many tech buzzwords, you might get a different definition of this term from each person you ask.  Some might describe it as a way of scaling your computing resources to fit your needs.</p><p>Let&#8217;s say ABC Books, a local book store wants to run a site where their customers can buy books online. The &#8220;traditional&#8221; approach would be for someone to dust off a server, install an OS, run a webserver application and load their site on it.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-dedicated.png?resize=76%2C124" alt="amazonec2-dedicated" title="amazonec2-dedicated" class="lazy aligncenter size-full wp-image-39817" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-dedicated.png?resize=76%2C124" alt="amazonec2-dedicated" title="amazonec2-dedicated" class="aligncenter size-full wp-image-39817" data-recalc-dims="1" /></noscript></p><p>When virtualization was becoming popular, people started using another method called the Virtual Private Server or VPS. With this method, you can have multiple operating systems running on the same machine, each with their own setup and applications.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-vps.png?resize=155%2C179" alt="amazonec2-vps" title="amazonec2-vps" class="lazy aligncenter size-full wp-image-39818" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-vps.png?resize=155%2C179" alt="amazonec2-vps" title="amazonec2-vps" class="aligncenter size-full wp-image-39818" data-recalc-dims="1" /></noscript></p><p>This allows each user to have full control over their system, but without the expense of dedicated hardware.  ABC Books, our example complany, would likely save money by switching to VPS, as they don&#8217;t need the server&#8217;s full power and can share the cost with other users. The &#8220;cloud&#8221; method takes virtualization even further. Since you&#8217;re already virtualizing the software, what happens if you virtualize the hardware too?  The essence of cloud computing is taking a huge collection of computing resources and intelligently assigning them as needed. Take this diagram for example.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-cloud.png?resize=492%2C367" alt="amazonec2-cloud" title="amazonec2-cloud" class="lazy aligncenter size-full wp-image-39820" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-cloud.png?resize=492%2C367" alt="amazonec2-cloud" title="amazonec2-cloud" class="aligncenter size-full wp-image-39820" data-recalc-dims="1" /></noscript></p><p>You can see that most of the portions are different sizes.  ABC Books might only need a portion of one server, but <em>Bob&#8217;s House of Free iPads</em> might generate more traffic and need multiple servers.  One of the greatest benefits of cloud computing is that you can scale your resources up and down as needed.</p><p>Let&#8217;s say a huge celebrity talks about their love of ABC Books, and suddenly the site is getting hundreds of times the amount of traffic it normally would. Their dedicated server is probably not equipped to handle that.  Likewise, a VPS (though more flexible) will still need a hardware transfer or upgrade to keep up. A cloud based server, however, could just be &#8220;turned up&#8221; to handle the excess traffic. When the buzz has died down, you just reduce your resources back to normal.</p><h3>Signing up for EC2</h3><p><strong>Note</strong>: The free account is indeed free, but during the signup, you will be asked for credit card information. See Amazon&#8217;s <a href="http://aws.amazon.com/free/terms/" target="_blank">terms</a> for details.</p><p><a href="http://www.amazon.com/gp/aws/registration/registration-form.html?utm_campaign=free" target="_blank">Log in or create</a> your Amazon EC2 account. Unfortunately, new user registrations can sometimes remain pending for several hours.</p><p>Once your Amazon Web Services account is set up, you can access your management console by clicking the <em>Sign In to AWS Management Console</em> link in the top-right corner of <a href="http://aws.amazon.com/" target="_blank">aws.amazon.com</a> or clicking <a href="https://console.aws.amazon.com/s3/home" target="_blank">here</a>.</p><h2>Creating an Instance</h2><p>Once your account is activated and you&#8217;re able to access the AWS Console, you&#8217;ll probably want to start by creating server instance to run some software.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance1.png?resize=586%2C362" alt="amazonec2-createinstance1" title="amazonec2-createinstance1" class="lazy aligncenter size-full wp-image-39823" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance1.png?resize=586%2C362" alt="amazonec2-createinstance1" title="amazonec2-createinstance1" class="aligncenter size-full wp-image-39823" data-recalc-dims="1" /></noscript></p><p>The first thing you&#8217;ll be asked to do is decide on a base platform. The <em>Amazon Linux</em> is a good bet if you&#8217;re looking to demo the service.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance2.png?resize=600%2C312" alt="amazonec2-createinstance2" title="amazonec2-createinstance2" class="lazy aligncenter size-full wp-image-39826" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance2.png?resize=600%2C312" alt="amazonec2-createinstance2" title="amazonec2-createinstance2" class="aligncenter size-full wp-image-39826" data-recalc-dims="1" /></noscript></p><p>The next page lets you set some details regarding your instance. You&#8217;ll probably want to leave these settings as they are, seeing as how the free tier only supports the <em>Micro</em> instance type, and <em>Availability Zone</em> should make no difference at this stage.</p><p>The next page, <em>Advanced Instance Options</em>, should be left at defaults unless you have a specific reason to do otherwise.</p><p>The last step of your <em>Instance Options</em> is the one where you choose tags. This step is optional, and nothing will be broken if you specify no tags, but it&#8217;s recommended to at least apply a value to the <em>Name</em> key to make this instance easy to identify.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance3-tags.jpg?resize=566%2C219" alt="amazonec2-createinstance3-tags" title="amazonec2-createinstance3-tags" class="lazy aligncenter size-full wp-image-39840" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance3-tags.jpg?resize=566%2C219" alt="amazonec2-createinstance3-tags" title="amazonec2-createinstance3-tags" class="aligncenter size-full wp-image-39840" data-recalc-dims="1" /></noscript></p><p>The next step is to create a key pair. Instead of passwords, EC2 uses cryptographic keys to identify users. If that sounds confusing don&#8217;t worry, it&#8217;s really not that complicated. The first step is to name and generate a key pair, then download that to your computer. I&#8217;d recommend saving it to <em>~/.ssh/</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance4-keys.png?resize=525%2C354" alt="amazonec2-createinstance4-keys" title="amazonec2-createinstance4-keys" class="lazy aligncenter size-full wp-image-39846" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance4-keys.png?resize=525%2C354" alt="amazonec2-createinstance4-keys" title="amazonec2-createinstance4-keys" class="aligncenter size-full wp-image-39846" data-recalc-dims="1" /></noscript></p><p>Once you&#8217;ve got the keys saved, you&#8217;ll need to make sure it&#8217;s private. You cannot skip this step, as SSH will refuse to use a publicly viewable key. It&#8217;s quick and easy to set this, just open your Linux or OSX terminal and type:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>MyEC2Key.pem</pre></td></tr></table></div><p>and to actually use it to connect, go with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#You will of course have to wait until your instance is actually running</span>
<span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-i</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>MyEC2Key.pem root<span style="color: #000000; font-weight: bold;">@</span>your-ec2-dns-address.com</pre></td></tr></table></div><p>Finally, you&#8217;ve just got to open a hole in the firewall for your app. The dropdown list contains several common network options such as SSH, DNS, and of course HTTP. If you want to enter a custom port, here&#8217;s your chance.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance5-firewall.png?resize=501%2C498" alt="amazonec2-createinstance5-firewall" title="amazonec2-createinstance5-firewall" class="lazy aligncenter size-full wp-image-39844" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-createinstance5-firewall.png?resize=501%2C498" alt="amazonec2-createinstance5-firewall" title="amazonec2-createinstance5-firewall" class="aligncenter size-full wp-image-39844" data-recalc-dims="1" /></noscript></p><p>Once you review and launch your instance, you&#8217;re set! You can now use SSH as indicated above to connect to your public DNS (highlighted in the screenshot below).</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-runninginstance.png?resize=600%2C383" alt="amazonec2-runninginstance" title="amazonec2-runninginstance" class="lazy aligncenter size-full wp-image-39845" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/10/amazonec2-runninginstance.png?resize=600%2C383" alt="amazonec2-runninginstance" title="amazonec2-runninginstance" class="aligncenter size-full wp-image-39845" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>From here on out, it&#8217;s your &#8220;server&#8221; to deal with as you wish. Applications can be installed and removed however you see fit. The service is can be tailored to exactly the application you have in mind &#8211; anything from a web server to VPN gateway to a place to host your files. Good luck and have fun on the cloud!</p><p>The post <a href="http://www.maketecheasier.com/getting-started-with-amazon-ec2/2011/10/20">Getting Started with Amazon EC2</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/getting-started-with-amazon-ec2/2011/10/20/feed</wfw:commentRss> <slash:comments>1</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/logo_aws.gif?resize=164%2C60" medium="image"> <media:title type="html">logo_aws</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/logo_aws.gif?resize=164%2C60" medium="image"> <media:title type="html">logo_aws</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-dedicated.png?resize=76%2C124" medium="image"> <media:title type="html">amazonec2-dedicated</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/amazonec2-dedicated.png?resize=76%2C124" medium="image"> <media:title type="html">amazonec2-dedicated</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-vps.png?resize=155%2C179" medium="image"> <media:title type="html">amazonec2-vps</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-vps.png?resize=155%2C179" medium="image"> <media:title type="html">amazonec2-vps</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-cloud.png?resize=492%2C367" medium="image"> <media:title type="html">amazonec2-cloud</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/amazonec2-cloud.png?resize=492%2C367" medium="image"> <media:title type="html">amazonec2-cloud</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance1.png?resize=586%2C362" medium="image"> <media:title type="html">amazonec2-createinstance1</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance1.png?resize=586%2C362" medium="image"> <media:title type="html">amazonec2-createinstance1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance2.png?resize=600%2C312" medium="image"> <media:title type="html">amazonec2-createinstance2</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance2.png?resize=600%2C312" medium="image"> <media:title type="html">amazonec2-createinstance2</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance3-tags.jpg?resize=566%2C219" medium="image"> <media:title type="html">amazonec2-createinstance3-tags</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance3-tags.jpg?resize=566%2C219" medium="image"> <media:title type="html">amazonec2-createinstance3-tags</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance4-keys.png?resize=525%2C354" medium="image"> <media:title type="html">amazonec2-createinstance4-keys</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance4-keys.png?resize=525%2C354" medium="image"> <media:title type="html">amazonec2-createinstance4-keys</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance5-firewall.png?resize=501%2C498" medium="image"> <media:title type="html">amazonec2-createinstance5-firewall</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/10/amazonec2-createinstance5-firewall.png?resize=501%2C498" medium="image"> <media:title type="html">amazonec2-createinstance5-firewall</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-runninginstance.png?resize=600%2C383" medium="image"> <media:title type="html">amazonec2-runninginstance</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/10/amazonec2-runninginstance.png?resize=600%2C383" medium="image"> <media:title type="html">amazonec2-runninginstance</media:title> </media:content> </item> <item><title>Linux Running Too Slow?  Here&#8217;s How to Find the Cause</title><link>http://www.maketecheasier.com/linux-running-too-slow-heres-how-to-find-the-cause/2011/09/29</link> <comments>http://www.maketecheasier.com/linux-running-too-slow-heres-how-to-find-the-cause/2011/09/29#comments</comments> <pubDate>Thu, 29 Sep 2011 14:58:38 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[performance]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=38879</guid> <description><![CDATA[<p>I think it&#8217;s safe to say that most people familiar with both Linux and Windows would tell you that your average Linux install would outperform an equivalent Windows install on the same machine. That may not always be the case, and some people might have contradictory stories to share, but that&#8217;s sure been this author&#8217;s [...]</p><p>The post <a href="http://www.maketecheasier.com/linux-running-too-slow-heres-how-to-find-the-cause/2011/09/29">Linux Running Too Slow?  Here&#8217;s How to Find the Cause</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-small.png?resize=200%2C157" alt="linuxperformance-small" title="linuxperformance-small" class="lazy alignleft size-full wp-image-38888" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-small.png?resize=200%2C157" alt="linuxperformance-small" title="linuxperformance-small" class="alignleft size-full wp-image-38888" data-recalc-dims="1" /></noscript>I think it&#8217;s safe to say that most people familiar with both Linux and Windows would tell you that your average Linux install would outperform an equivalent Windows install on the same machine. That may not always be the case, and some people might have contradictory stories to share, but that&#8217;s sure been this author&#8217;s experience. In fact <a href="http://www.top500.org/overtime/list/32/os" target="_blank">according to Top500.org</a>, about 90% of the world&#8217;s top supercomputers are running Linux. While the kernel and OS may lend themselves well to high-performance computing, there are often hardware and software issues on the desktop which can cause major lag. Today, we&#8217;ll cover some diagnostic tips and tools to help you figure out where your problem might be.<br /> <span id="more-38879"></span></p><h2>CPU Load</h2><p>We&#8217;ll start with the most obvious cause of PC slowness &#8211; processor overload. As you&#8217;re reading this website, it&#8217;s got various bits of JavaScript running. Each time you load the page, the JavaScript is read as text, interpreted by your browser, passed to your operating system which loads system libraries and passes the data to your kernel &#8211; which works through the hardware drivers to actually run the program through your CPU. We get the convenience of being able to have a single script run on nearly every computer, but all that interpretation and data passing can really hammer down your system performance.</p><p>The most basic way to check your CPU load is with the command-line utility <em>top</em>. It contains a lot of information, but it really shines when trying to make comparisons between the CPU and RAM usage of various applications.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-topcpu.png?resize=570%2C292" alt="linuxperformance-topcpu" title="linuxperformance-topcpu" class="lazy aligncenter size-full wp-image-38882" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-topcpu.png?resize=570%2C292" alt="linuxperformance-topcpu" title="linuxperformance-topcpu" class="aligncenter size-full wp-image-38882" data-recalc-dims="1" /></noscript></p><p>In that screenshot, you can see that <em>top</em> sorts the entries with the highest usage on top, so that you can see right away what&#8217;s using the most CPU or RAM, and the result is shown in percentages.</p><p>It&#8217;s worth noting that on a machine with multiple cores, it&#8217;s quite possible that the percentages <em>top</em> shows you will total up to more than 100% (ie, one core is 70% of max and another is 60%, top might show 130% usage).</p><h2>RAM Usage</h2><p>Next to CPU, your RAM (or lack thereof) is the mostly likely culprit of performance problems. Most MakeTechEasier readers are probably familiar with how RAM works, but here&#8217;s a quick primer for those who don&#8217;t.</p><p>Let&#8217;s say you&#8217;re at a library, and the new <em>Larry Porter and the Prince of Bologna</em> book is out.  Normally, fantasy books are kept in the basement, but these books are hugely popular, so the library staff keeps a stack of them right at the front desk. This means that the library patrons can grab their book quickly and easily without going to the basement, it&#8217;s a win-win for everyone. That all sounds great, but you can&#8217;t do that with EVERY book in the library. Since the staff cannot keep a single convenient shelf for every book they have, most of them get kept in sections such as the basement.</p><p>That&#8217;s similar to how hard drives and RAM work. The hard drive, in this analogy, would be the basement shelves. It&#8217;s well suited to long-term, organized storage. The RAM is the smaller area by the front desk, and space specifically suited to hold the most needed items so that they can be retrieved quickly.</p><p>If you&#8217;ve got too much in your RAM (too many programs and services running) then the computer&#8217;s ability to retrieve the needed information can be drastically reduced. Suddenly it&#8217;s got to sort through a giant stack of stuff instead of just grabbing what it needs.</p><p>While it&#8217;s true that the <em>free</em> command will give you basic memory info, this is another case where <em>top</em> can come in very handy. Instead of simply showing &#8220;X mb free&#8221;, <em>top</em> will give you the detailed numbers, percentages, and swap usage information.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-topmem.png?resize=569%2C323" alt="linuxperformance-topmem" title="linuxperformance-topmem" class="lazy aligncenter size-full wp-image-38883" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-topmem.png?resize=569%2C323" alt="linuxperformance-topmem" title="linuxperformance-topmem" class="aligncenter size-full wp-image-38883" data-recalc-dims="1" /></noscript></p><p>Take note of the swap usage information. On an average desktop, the percentage of used swap space should generally be very low. If it&#8217;s not, you may have to just go out and buy more RAM (or seriously reduce the amount of running programs.)</p><h2>Overworked Hard Drive</h2><p>Is your hard drive light constantly chugging along, yet you have no idea what it&#8217;s doing? Mysterious input/output can sure be a problem, so there is a top-like tool called <em>iotop</em> specifically meant to help diagnose this kind of problem.</p><p>It is not, however, built in to many distributions so you&#8217;ll likely have to install it separately. It should be available in your distro&#8217;s repositories, but if not you can download it <a href="http://guichaz.free.fr/iotop/" target="_blank">here</a>.</p><p>A normal, idle system should be mostly zeros across the board, sometimes with a few small bursts while data is being written, as in the screenshot below.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-iotop1.png?resize=569%2C227" alt="linuxperformance-iotop1" title="linuxperformance-iotop1" class="lazy aligncenter size-full wp-image-38884" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-iotop1.png?resize=569%2C227" alt="linuxperformance-iotop1" title="linuxperformance-iotop1" class="aligncenter size-full wp-image-38884" data-recalc-dims="1" /></noscript></p><p>If however, you run a disk-intensive utility like find, you&#8217;ll see its name and throughput listed clearly in <em>iotop</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-iotop2.png?resize=569%2C238" alt="linuxperformance-iotop2" title="linuxperformance-iotop2" class="lazy aligncenter size-full wp-image-38885" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-iotop2.png?resize=569%2C238" alt="linuxperformance-iotop2" title="linuxperformance-iotop2" class="aligncenter size-full wp-image-38885" data-recalc-dims="1" /></noscript></p><p>Now, you can easily find out what program is using your I/O (in this case I ran &#8220;find / -name chicken&#8221;), who ran it, the speed the data is being read, and more.</p><h2>GUI Tools</h2><p>The author of this post chose command line tools to gather this information for two main reasons. First, CLI tools generally require fewer resources than GUI tools, and second, tools like top can be found in just about any Linux system, where as GUI tools can be hit-or-miss.</p><p>Many people do not like the command line, and there are several GUI tools to perform system monitoring, but this author recommends Gnome System Monitor. It&#8217;s already available on just about any Gnome-based distribution, and includes a lot of useful information including realtime graphs for CPU, memory, and network.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-gsysmon.png?resize=591%2C523" alt="linuxperformance-gsysmon" title="linuxperformance-gsysmon" class="lazy aligncenter size-full wp-image-38886" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/linuxperformance-gsysmon.png?resize=591%2C523" alt="linuxperformance-gsysmon" title="linuxperformance-gsysmon" class="aligncenter size-full wp-image-38886" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>While there are many things that can potentially cause system slowness those three things (CPU, RAM, and disk I/O) are behind the vast majority of performance problems. Using the tools described here won&#8217;t solve your performance problem, but they&#8217;ll make the cause of the problem a whole lot easier to find.</p><p>The post <a href="http://www.maketecheasier.com/linux-running-too-slow-heres-how-to-find-the-cause/2011/09/29">Linux Running Too Slow?  Here&#8217;s How to Find the Cause</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/linux-running-too-slow-heres-how-to-find-the-cause/2011/09/29/feed</wfw:commentRss> <slash:comments>3</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-small.png?resize=200%2C157" medium="image"> <media:title type="html">linuxperformance-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/linuxperformance-small.png?resize=200%2C157" medium="image"> <media:title type="html">linuxperformance-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/linuxperformance-topcpu.png?resize=570%2C292" medium="image"> <media:title type="html">linuxperformance-topcpu</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/linuxperformance-topcpu.png?resize=570%2C292" medium="image"> <media:title type="html">linuxperformance-topcpu</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/linuxperformance-topmem.png?resize=569%2C323" medium="image"> <media:title type="html">linuxperformance-topmem</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-topmem.png?resize=569%2C323" medium="image"> <media:title type="html">linuxperformance-topmem</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/linuxperformance-iotop1.png?resize=569%2C227" medium="image"> <media:title type="html">linuxperformance-iotop1</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/linuxperformance-iotop1.png?resize=569%2C227" medium="image"> <media:title type="html">linuxperformance-iotop1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-iotop2.png?resize=569%2C238" medium="image"> <media:title type="html">linuxperformance-iotop2</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-iotop2.png?resize=569%2C238" medium="image"> <media:title type="html">linuxperformance-iotop2</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-gsysmon.png?resize=591%2C523" medium="image"> <media:title type="html">linuxperformance-gsysmon</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/linuxperformance-gsysmon.png?resize=591%2C523" medium="image"> <media:title type="html">linuxperformance-gsysmon</media:title> </media:content> </item> <item><title>More Useful and Interesting Bash Prompts</title><link>http://www.maketecheasier.com/more-useful-and-interesting-bash-prompts/2011/09/19</link> <comments>http://www.maketecheasier.com/more-useful-and-interesting-bash-prompts/2011/09/19#comments</comments> <pubDate>Mon, 19 Sep 2011 23:58:06 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bash]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=38494</guid> <description><![CDATA[<p>A while back, we listed 8 Useful and Interesting Bash Prompts. That turned out to be one of our most popular articles, and still generates user response and feedback. This time we&#8217;ve found a few more gems, as well as some handy tips and tricks for having the coolest shell prompt on the proverbial block. [...]</p><p>The post <a href="http://www.maketecheasier.com/more-useful-and-interesting-bash-prompts/2011/09/19">More Useful and Interesting Bash Prompts</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-small.png?resize=246%2C139" alt="morebashprompts-small" title="morebashprompts-small" class="lazy alignleft size-full wp-image-38543" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-small.png?resize=246%2C139" alt="morebashprompts-small" title="morebashprompts-small" class="alignleft size-full wp-image-38543" data-recalc-dims="1" /></noscript>A while back, we listed <a href="http://maketecheasier.com/8-useful-and-interesting-bash-prompts/2009/09/04" target="_blank">8 Useful and Interesting Bash Prompts</a>.  That turned out to be one of our most popular articles, and still generates user response and feedback.  This time we&#8217;ve found a few more gems, as well as some handy tips and tricks for having the coolest shell prompt on the proverbial block.<br /> <span id="more-38494"></span></p><h3>Using These Prompts</h3><p>Some of the following prompts are one-liners, and can be pasted directly into your terminal for (temporary) use.  To make them permanent, you&#8217;ll have to paste the code into your <em>.bashrc</em> or <em>.bash_profile</em>.</p><p>The larger, more complex prompts such as Twtty should be saved to their own script file (such as myprompt.sh), and you place a line like</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> myprompt.sh</pre></td></tr></table></div><p>in your .basrc file to &#8220;import&#8221; them.</p><h3>Twtty Prompt</h3><p>This is a two-line prompt that holds quite a bit of information including username, hostname, working directory, time, and command history number.  Because of the technical and visual complexity, it&#8217;s best to place this prompt script in its own file, then source it from your <em>.bashrc</em> or <em>.bash_profile</em> as described above.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-twtty.png?resize=561%2C111" alt="morebashprompts-twtty" title="morebashprompts-twtty" class="lazy aligncenter size-full wp-image-38528" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-twtty.png?resize=561%2C111" alt="morebashprompts-twtty" title="morebashprompts-twtty" class="aligncenter size-full wp-image-38528" data-recalc-dims="1" /></noscript></p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> prompt_command <span style="color: #7a0874; font-weight: bold;">&#123;</span>
&nbsp;
<span style="color: #007800;">TERMWIDTH</span>=<span style="color: #800000;">${COLUMNS}</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#   Calculate the width of the prompt:</span>
&nbsp;
<span style="color: #007800;">hostnam</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #007800;">$HOSTNAME</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;s/[\.].*//&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #666666; font-style: italic;">#   &quot;whoami&quot; and &quot;pwd&quot; include a trailing newline</span>
<span style="color: #007800;">usernam</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">whoami</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">cur_tty</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>tty <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;s/.*tty\(.*\)/\1/&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">newPWD</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PWD}</span>&quot;</span>
<span style="color: #666666; font-style: italic;">#   Add all the accessories below ...</span>
<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">promptsize</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;--(<span style="color: #007800;">${usernam}</span>@<span style="color: #007800;">${hostnam}</span>:<span style="color: #007800;">${cur_tty}</span>)---(<span style="color: #007800;">${PWD}</span>)--&quot;</span> \
                 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">fillsize</span>=<span style="color: #800000;">${TERMWIDTH}</span>-<span style="color: #800000;">${promptsize}</span>
<span style="color: #007800;">fill</span>=<span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$fillsize</span>&quot;</span> <span style="color: #660033;">-gt</span> <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> 
<span style="color: #000000; font-weight: bold;">do</span> 
    <span style="color: #007800;">fill</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${fill}</span>-&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">fillsize</span>=<span style="color: #800000;">${fillsize}</span><span style="color: #660033;">-1</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$fillsize</span>&quot;</span> <span style="color: #660033;">-lt</span> <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
   <span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">cut</span>=<span style="color: #000000;">3</span>-<span style="color: #800000;">${fillsize}</span>
	<span style="color: #007800;">newPWD</span>=<span style="color: #ff0000;">&quot;...<span style="color: #007800;">$(echo -n $PWD | sed -e &quot;s/\(^.\{$cut\}\)</span>\(.*\)/\2/&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
fi
}
&nbsp;
PROMPT_COMMAND=prompt_command
&nbsp;
function twtty {
&nbsp;
local GRAY=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>;30m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
local LIGHT_GRAY=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>;37m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
local WHITE=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>;37m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
local NO_COLOUR=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>0m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
&nbsp;
local LIGHT_BLUE=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>;34m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
local YELLOW=&quot;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span>;33m\<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #ff0000;">&quot;
&nbsp;
case <span style="color: #007800;">$TERM</span> in
    xterm*)
        TITLEBAR='\[\033]0;\u@\h:\w\007\]'
        ;;
    *)
        TITLEBAR=&quot;</span><span style="color: #ff0000;">&quot;
        ;;
esac
&nbsp;
PS1=&quot;</span><span style="color: #007800;">$TITLEBAR</span>\
<span style="color: #007800;">$YELLOW</span>-<span style="color: #007800;">$LIGHT_BLUE</span>-<span style="color: #7a0874; font-weight: bold;">&#40;</span>\
<span style="color: #007800;">$YELLOW</span>\<span style="color: #007800;">$usernam</span><span style="color: #007800;">$LIGHT_BLUE</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #007800;">$YELLOW</span>\<span style="color: #007800;">$hostnam</span><span style="color: #007800;">$LIGHT_BLUE</span>:<span style="color: #007800;">$WHITE</span>\<span style="color: #007800;">$cur_tty</span>\
<span style="color: #800000;">${LIGHT_BLUE}</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>-<span style="color: #800000;">${YELLOW}</span>-\<span style="color: #800000;">${fill}</span><span style="color: #800000;">${LIGHT_BLUE}</span>-<span style="color: #7a0874; font-weight: bold;">&#40;</span>\
<span style="color: #007800;">$YELLOW</span>\<span style="color: #800000;">${newPWD}</span>\
<span style="color: #007800;">$LIGHT_BLUE</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>-<span style="color: #007800;">$YELLOW</span>-\
\n\
<span style="color: #007800;">$YELLOW</span>-<span style="color: #007800;">$LIGHT_BLUE</span>-<span style="color: #7a0874; font-weight: bold;">&#40;</span>\
<span style="color: #007800;">$YELLOW</span>\$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>H<span style="color: #000000; font-weight: bold;">%</span>M<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #007800;">$LIGHT_BLUE</span>:<span style="color: #007800;">$YELLOW</span>\$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #000000; font-weight: bold;">\&quot;</span>+<span style="color: #000000; font-weight: bold;">%</span>a,<span style="color: #000000; font-weight: bold;">%</span>d <span style="color: #000000; font-weight: bold;">%</span>b <span style="color: #000000; font-weight: bold;">%</span>y<span style="color: #000000; font-weight: bold;">\&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>\
<span style="color: #007800;">$LIGHT_BLUE</span>:<span style="color: #007800;">$WHITE</span>\$<span style="color: #007800;">$LIGHT_BLUE</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>-\
<span style="color: #007800;">$YELLOW</span>-\
<span style="color: #007800;">$NO_COLOUR</span> <span style="color: #ff0000;">&quot; 
&nbsp;
PS2=&quot;</span><span style="color: #007800;">$LIGHT_BLUE</span>-<span style="color: #007800;">$YELLOW</span>-<span style="color: #007800;">$YELLOW</span>-<span style="color: #007800;">$NO_COLOUR</span> <span style="color: #ff0000;">&quot;
}</span></pre></td></tr></table></div><p>One important thing to note about this prompt is that the horizontal bar scales to fit the width of your terminal, and that the working directory line will truncate itself when it gets too large.</p><p>If you have any problems with the above code snippet, the plain text version can be downloaded <a href="http://dl.dropbox.com/u/6864546/twtty.sh">here</a>.</p><h3>High-Performance Minimalist Prompt</h3><p>All the complexities of a fancy prompt like Twtty do take up extra CPU cycles, and while it&#8217;s certainly not going to grind your system to a halt, it can add up.  If you want something that packs a lot of info without slowing you down, I suggest this:</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-minimal.png?resize=419%2C93" alt="morebashprompts-minimal" title="morebashprompts-minimal" class="lazy aligncenter size-full wp-image-38531" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-minimal.png?resize=419%2C93" alt="morebashprompts-minimal" title="morebashprompts-minimal" class="aligncenter size-full wp-image-38531" data-recalc-dims="1" /></noscript></p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;[\d | <span style="color: #000099; font-weight: bold;">\T</span> -&gt; \w ...<span style="color: #000099; font-weight: bold;">\$</span>?]<span style="color: #000099; font-weight: bold;">\n</span>#&quot;</span></pre></td></tr></table></div><p>One interesting thing to note here is the use of the variable <em>$?</em> at the end.  This signifies the exit status of the last command entered.  0 means all is well, any other number usually indicates an error.</p><h3>Rob&#8217;s Prompt</h3><p>This is one of the more popular prompts <a href="http://blog.ubrio.us/nix/best-bash-prompt/" target="_blank">floating around</a> the Internet.  The code is small and simple, yet it gives many of the features found in the larger, more complex examples.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-robs.png?resize=585%2C127" alt="morebashprompts-robs" title="morebashprompts-robs" class="lazy aligncenter size-full wp-image-38534" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-robs.png?resize=585%2C127" alt="morebashprompts-robs" title="morebashprompts-robs" class="aligncenter size-full wp-image-38534" data-recalc-dims="1" /></noscript></p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;\[\033[0;33m\][\!]\<span style="color: #780078;">`if [[ \$? = &quot;0&quot; ]]; then echo &quot;\\[\\033[32m\\]&quot;; else echo &quot;\\[\\033[31m\\]&quot;; fi\`</span>[\u.\h: \<span style="color: #780078;">`if [[ `</span>pwd|wc -c|tr -d &quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">` &gt; 18 ]]; then echo &quot;\\W&quot;; else echo &quot;\\w&quot;; fi\`</span>]<span style="color: #000099; font-weight: bold;">\$</span>\[\033[0m\] &quot;</span>; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-ne</span> <span style="color: #ff0000;">&quot;\033]0;<span style="color: #780078;">`hostname -s`</span>:<span style="color: #780078;">`pwd`</span>\007&quot;</span></pre></td></tr></table></div><h3>MegaFancyPrompt</h3><p>The name is entirely deserved &#8211; this prompt is quite large and extremely fancy.  It&#8217;s got color, titlebar control, user-awareness, proxy detection, <a href="http://maketecheasier.com/multitask-at-linux-command-line/2011/04/28" target="_blank">screen</a> detection, job count, and more.  In short, just about every feature found in the other prompts we&#8217;ve mentioned can be found here, and quite a few others.  If you want it ALL in your prompt, this is it.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-megafancy.png?resize=546%2C72" alt="morebashprompts-megafancy" title="morebashprompts-megafancy" class="lazy aligncenter size-full wp-image-38541" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-megafancy.png?resize=546%2C72" alt="morebashprompts-megafancy" title="morebashprompts-megafancy" class="aligncenter size-full wp-image-38541" data-recalc-dims="1" /></noscript></p><p><em>Note:  Not all features are visible at all times, so while it may not look like much in the screenshot, you can check out the full (documented, commented) script file <a href="http://dl.dropbox.com/u/6864546/megafancy.sh">here</a> for details on how to get the visible parts you want. </em></p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">COLOR_WHITE</span>=<span style="color: #ff0000;">'\033[1;37m'</span>
<span style="color: #007800;">COLOR_LIGHTGRAY</span>=<span style="color: #ff0000;">'033[0;37m'</span>
<span style="color: #007800;">COLOR_GRAY</span>=<span style="color: #ff0000;">'\033[1;30m'</span>
<span style="color: #007800;">COLOR_BLACK</span>=<span style="color: #ff0000;">'\033[0;30m'</span>
<span style="color: #007800;">COLOR_RED</span>=<span style="color: #ff0000;">'\033[0;31m'</span>
<span style="color: #007800;">COLOR_LIGHTRED</span>=<span style="color: #ff0000;">'\033[1;31m'</span>
<span style="color: #007800;">COLOR_GREEN</span>=<span style="color: #ff0000;">'\033[0;32m'</span>
<span style="color: #007800;">COLOR_LIGHTGREEN</span>=<span style="color: #ff0000;">'\033[1;32m'</span>
<span style="color: #007800;">COLOR_BROWN</span>=<span style="color: #ff0000;">'\033[0;33m'</span>
<span style="color: #007800;">COLOR_YELLOW</span>=<span style="color: #ff0000;">'\033[1;33m'</span>
<span style="color: #007800;">COLOR_BLUE</span>=<span style="color: #ff0000;">'\033[0;34m'</span>
<span style="color: #007800;">COLOR_LIGHTBLUE</span>=<span style="color: #ff0000;">'\033[1;34m'</span>
<span style="color: #007800;">COLOR_PURPLE</span>=<span style="color: #ff0000;">'\033[0;35m'</span>
<span style="color: #007800;">COLOR_PINK</span>=<span style="color: #ff0000;">'\033[1;35m'</span>
<span style="color: #007800;">COLOR_CYAN</span>=<span style="color: #ff0000;">'\033[0;36m'</span>
<span style="color: #007800;">COLOR_LIGHTCYAN</span>=<span style="color: #ff0000;">'\033[1;36m'</span>
<span style="color: #007800;">COLOR_DEFAULT</span>=<span style="color: #ff0000;">'\033[0m'</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Function to set prompt_command to.</span>
<span style="color: #000000; font-weight: bold;">function</span> promptcmd <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">history</span> <span style="color: #660033;">-a</span> 
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">SSH_FLAG</span>=<span style="color: #000000;">0</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">TTY</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>tty <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> -F<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${TTY}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
        <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">SESS_SRC</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">who</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TTY</span> &quot;</span>  <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $6 }'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Titlebar</span>
    <span style="color: #000000; font-weight: bold;">case</span> <span style="color: #800000;">${TERM}</span> <span style="color: #000000; font-weight: bold;">in</span> 
        xterm<span style="color: #000000; font-weight: bold;">*</span>  <span style="color: #7a0874; font-weight: bold;">&#41;</span>  
            <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">TITLEBAR</span>=<span style="color: #ff0000;">'\[\033]0;\u@\h: { \w }  \007\]'</span>
            <span style="color: #000000; font-weight: bold;">;;</span>
        <span style="color: #000000; font-weight: bold;">*</span>       <span style="color: #7a0874; font-weight: bold;">&#41;</span>  
            <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">TITLEBAR</span>=<span style="color: #ff0000;">''</span>                               
            <span style="color: #000000; font-weight: bold;">;;</span>
    <span style="color: #000000; font-weight: bold;">esac</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${TITLEBAR}</span>&quot;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Test for day change.</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #007800;">$DAY</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">DAY</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>A<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">today</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>A<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${DAY}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;<span style="color: #007800;">${today}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span><span style="color: #000099; font-weight: bold;">\n</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]Day changed to <span style="color: #007800;">$(date '+%A, %d %B %Y')</span>.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>
            <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">DAY</span>=<span style="color: #007800;">$today</span>
       <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># User</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${UID}</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USER}</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOGNAME}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SUDO_USER}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\]\u&quot;</span>
            <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_LIGHTRED}</span>\]\u&quot;</span>
            <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\]\u&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${USER}</span> == <span style="color: #800000;">${LOGNAME}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>     
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]\u&quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_BROWN}</span>\]\u&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># HTTP Proxy var configured or not</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$http_proxy</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]@&quot;</span>
    <span style="color: #000000; font-weight: bold;">else</span>                               
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_LIGHTRED}</span>\]@&quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Host</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SSH_CLIENT}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SSH2_CLIENT}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
        <span style="color: #007800;">SSH_FLAG</span>=<span style="color: #000000;">1</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SSH_FLAG}</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
       <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_CYAN}</span>\]\h &quot;</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #800000;">${SESS_SRC}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SESS_SRC}</span>&quot;</span> == <span style="color: #ff0000;">&quot;(:0.0)&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]\h &quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span> 
            <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">parent_process</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #800000;">${PPID}</span><span style="color: #000000; font-weight: bold;">/</span>cmdline<span style="color: #000000; font-weight: bold;">`</span>
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$parent_process</span>&quot;</span> == <span style="color: #ff0000;">&quot;in.rlogind*&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_BROWN}</span>\]\h &quot;</span>
            <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$parent_process</span>&quot;</span> == <span style="color: #ff0000;">&quot;in.telnetd*&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\]\h &quot;</span>
            <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_LIGHTRED}</span>\]\h &quot;</span>
            <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SESS_SRC}</span>&quot;</span> == <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]\h &quot;</span>
    <span style="color: #000000; font-weight: bold;">else</span>                                 
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\]\h &quot;</span> 
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Detached Screen Sessions</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">DTCHSCRN</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-ls</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-c</span> Detach <span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${DTCHSCRN}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\][scr:<span style="color: #007800;">${DTCHSCRN}</span>] &quot;</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${DTCHSCRN}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\][scr:<span style="color: #007800;">${DTCHSCRN}</span>] &quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Backgrounded running jobs</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">BKGJBS</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">jobs</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${BKGJBS}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\][bg:<span style="color: #007800;">${BKGJBS}</span>]&quot;</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${BKGJBS}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\][bg:<span style="color: #007800;">${BKGJBS}</span>] &quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Stopped Jobs</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">STPJBS</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">jobs</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${STPJBS}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\][stp:<span style="color: #007800;">${STPJBS}</span>]&quot;</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${STPJBS}</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\][stp:<span style="color: #007800;">${STPJBS}</span>] &quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Bracket {</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${UID}</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>              
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USER}</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOGNAME}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SUDO_USER}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\]&quot;</span>
            <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_LIGHTRED}</span>\]&quot;</span>
            <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">else</span>                                 
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USER}</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOGNAME}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_BROWN}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>{ &quot;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Working directory</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-w</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PWD}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]<span style="color: #007800;">$(prompt_workingdir)</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">else</span>                                 
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\]<span style="color: #007800;">$(prompt_workingdir)</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># Closing bracket } and $\#</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${UID}</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>              
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USER}</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOGNAME}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${SUDO_USER}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_RED}</span>\]&quot;</span>
            <span style="color: #000000; font-weight: bold;">else</span>
                <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_LIGHTRED}</span>\]&quot;</span>
            <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_YELLOW}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">else</span>                                 
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USER}</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">${LOGNAME}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> 
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_GREEN}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">else</span>                               
            <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span>\[<span style="color: #007800;">${COLOR_BROWN}</span>\]&quot;</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PS1}</span> }<span style="color: #000099; font-weight: bold;">\$</span>\[<span style="color: #007800;">${COLOR_DEFAULT}</span>\] &quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>     
&nbsp;
<span style="color: #666666; font-style: italic;"># Trim working dir to 1/4 the screen width</span>
<span style="color: #000000; font-weight: bold;">function</span> prompt_workingdir <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">pwdmaxlen</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$COLUMNS</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
  <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">trunc_symbol</span>=<span style="color: #ff0000;">&quot;...&quot;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$PWD</span> == <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">*</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">newPWD</span>=<span style="color: #ff0000;">&quot;~<span style="color: #007800;">${PWD#$HOME}</span>&quot;</span> 
  <span style="color: #000000; font-weight: bold;">else</span>
    <span style="color: #007800;">newPWD</span>=<span style="color: #800000;">${PWD}</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${#newPWD}</span> <span style="color: #660033;">-gt</span> <span style="color: #007800;">$pwdmaxlen</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">pwdoffset</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #800000;">${#newPWD}</span> - <span style="color: #007800;">$pwdmaxlen</span> + <span style="color: #000000;">3</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #007800;">newPWD</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${trunc_symbol}</span><span style="color: #007800;">${newPWD:$pwdoffset:$pwdmaxlen}</span>&quot;</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$newPWD</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Determine what prompt to display:</span>
<span style="color: #666666; font-style: italic;"># 1.  Display simple custom prompt for shell sessions started</span>
<span style="color: #666666; font-style: italic;">#     by script.  </span>
<span style="color: #666666; font-style: italic;"># 2.  Display &quot;bland&quot; prompt for shell sessions within emacs or </span>
<span style="color: #666666; font-style: italic;">#     xemacs.</span>
<span style="color: #666666; font-style: italic;"># 3   Display promptcmd for all other cases.</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> load_prompt <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #666666; font-style: italic;"># Get PIDs</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">parent_process</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$PPID</span><span style="color: #000000; font-weight: bold;">/</span>cmdline <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> \. <span style="color: #660033;">-f</span> <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">my_process</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$$</span><span style="color: #000000; font-weight: bold;">/</span>cmdline <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> \. <span style="color: #660033;">-f</span> <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">if</span>  <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$parent_process</span> == script<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PROMPT_COMMAND</span>=<span style="color: #ff0000;">&quot;&quot;</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span> - \# - \u@\H { \w }<span style="color: #000099; font-weight: bold;">\$</span> &quot;</span>
    <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$parent_process</span> == emacs<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">$parent_process</span> == xemacs<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #007800;">PROMPT_COMMAND</span>=<span style="color: #ff0000;">&quot;&quot;</span>
        <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;\u@\h { \w }<span style="color: #000099; font-weight: bold;">\$</span> &quot;</span>
    <span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">DAY</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>A<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #007800;">PROMPT_COMMAND</span>=promptcmd
     <span style="color: #000000; font-weight: bold;">fi</span> 
    <span style="color: #7a0874; font-weight: bold;">export</span> PS1 PROMPT_COMMAND
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
load_prompt</pre></td></tr></table></div><h3>Bonus &#8211; Finding the Right Colors</h3><p>As you may have noticed, most of these prompts use color, and the color is often represented in a coded form like <em>&#8216;\033[1;30m&#8217;</em>, which is quite difficult to read or remember.  An easy way to see all your available colors, and preview what they&#8217;ll look like, is to simply paste the following snippet into your browser:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">seq</span> <span style="color: #000000;">1</span> <span style="color: #000000;">7</span> ; <span style="color: #c20cb9; font-weight: bold;">seq</span> <span style="color: #000000;">30</span> <span style="color: #000000;">48</span> ; <span style="color: #c20cb9; font-weight: bold;">seq</span> <span style="color: #000000;">90</span> <span style="color: #000000;">107</span> <span style="color: #000000; font-weight: bold;">`</span> ; <span style="color: #000000; font-weight: bold;">do</span> 
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\e[<span style="color: #007800;">${i}</span>mtest\e[0m<span style="color: #007800;">$i</span>&quot;</span> 
<span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div><p>Which will output each color code with its number.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-colortest.png?resize=506%2C291" alt="morebashprompts-colortest" title="morebashprompts-colortest" class="lazy aligncenter size-full wp-image-38537" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/morebashprompts-colortest.png?resize=506%2C291" alt="morebashprompts-colortest" title="morebashprompts-colortest" class="aligncenter size-full wp-image-38537" data-recalc-dims="1" /></noscript></p><h3>Conclusion</h3><p>There are, of course infinite variations that could be packed into your prompt.  Nearly any kind of textual data can be added in, and bash&#8217;s developers have had decades to add in functionality.  Some readers have even commented about running custom Python or Ruby scripts from within the prompt.  Whatever you do, make it functional, and if it&#8217;s REALLY cool, drop us a link in the comments!</p><p>The post <a href="http://www.maketecheasier.com/more-useful-and-interesting-bash-prompts/2011/09/19">More Useful and Interesting Bash Prompts</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/more-useful-and-interesting-bash-prompts/2011/09/19/feed</wfw:commentRss> <slash:comments>2</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/morebashprompts-small.png?resize=246%2C139" medium="image"> <media:title type="html">morebashprompts-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morebashprompts-small.png?resize=246%2C139" medium="image"> <media:title type="html">morebashprompts-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morebashprompts-twtty.png?resize=561%2C111" medium="image"> <media:title type="html">morebashprompts-twtty</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/morebashprompts-twtty.png?resize=561%2C111" medium="image"> <media:title type="html">morebashprompts-twtty</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/morebashprompts-minimal.png?resize=419%2C93" medium="image"> <media:title type="html">morebashprompts-minimal</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morebashprompts-minimal.png?resize=419%2C93" medium="image"> <media:title type="html">morebashprompts-minimal</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/morebashprompts-robs.png?resize=585%2C127" medium="image"> <media:title type="html">morebashprompts-robs</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/morebashprompts-robs.png?resize=585%2C127" medium="image"> <media:title type="html">morebashprompts-robs</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morebashprompts-megafancy.png?resize=546%2C72" medium="image"> <media:title type="html">morebashprompts-megafancy</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/morebashprompts-megafancy.png?resize=546%2C72" medium="image"> <media:title type="html">morebashprompts-megafancy</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morebashprompts-colortest.png?resize=506%2C291" medium="image"> <media:title type="html">morebashprompts-colortest</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/09/morebashprompts-colortest.png?resize=506%2C291" medium="image"> <media:title type="html">morebashprompts-colortest</media:title> </media:content> </item> <item><title>4 More Things You Didn&#8217;t Know VLC Could Do</title><link>http://www.maketecheasier.com/4-more-things-you-didnt-know-vlc-could-do/2011/09/08</link> <comments>http://www.maketecheasier.com/4-more-things-you-didnt-know-vlc-could-do/2011/09/08#comments</comments> <pubDate>Thu, 08 Sep 2011 14:58:39 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[mouse gestures]]></category> <category><![CDATA[transcoding]]></category> <category><![CDATA[vlc]]></category> <category><![CDATA[Watermark]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=37857</guid> <description><![CDATA[<p>VLC is great &#8211; it&#8217;s as simple as that. It&#8217;s so full of useful features that we&#8217;re already on our second article about some of the lesser known (but still really great) things it can do. Last time, we covered some gems such as the ability to normalize the audio tracks or transcode videos. This [...]</p><p>The post <a href="http://www.maketecheasier.com/4-more-things-you-didnt-know-vlc-could-do/2011/09/08">4 More Things You Didn&#8217;t Know VLC Could Do</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img alt="VLC logo" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn.maketecheasier.com/2010/05/vlc5-logo1.png?resize=200%2C200" title="VLC logo" class="lazy alignleft" data-recalc-dims="1" /><noscript><img alt="VLC logo" src="http://i1.wp.com/imagecdn.maketecheasier.com/2010/05/vlc5-logo1.png?resize=200%2C200" title="VLC logo" class="alignleft" data-recalc-dims="1" /></noscript><a href="http://maketecheasier.com/tag/vlc">VLC </a>is great &#8211; it&#8217;s as simple as that. It&#8217;s so full of useful features that we&#8217;re already on our second article about some of the lesser known (but still really great) things it can do. <a href="http://maketecheasier.com/5-things-you-didnt-know-vlc-could-do/2010/05/06">Last time</a>, we covered some gems such as the ability to normalize the audio tracks or transcode videos. This time we&#8217;ve got a few more great features from this fantastic media player that your average user may not know.<br /> <span id="more-37857"></span></p><h2>1. Fix Audio/Video/Subtitle Sync Problems</h2><p>One of the most annoying things that can happen on video playback is when the audio and video tracks do not sync up properly. Sometimes it&#8217;s a result of bad encoding software, sometimes it&#8217;s a result of a mistake by the person doing the encoding, but it&#8217;s always annoying. VLC feels your pain and includes a tool to adjust the delay for the audio and/or subtitle tracks to let you adjust things as needed. Just open <em>Tools -&gt; Track Synchronization</em> to make your adjustments.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/moreVLCtips-audiosync.png?resize=412%2C384" alt="moreVLCtips-audiosync" title="moreVLCtips-audiosync" class="lazy aligncenter size-full wp-image-37861" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/moreVLCtips-audiosync.png?resize=412%2C384" alt="moreVLCtips-audiosync" title="moreVLCtips-audiosync" class="aligncenter size-full wp-image-37861" data-recalc-dims="1" /></noscript></p><h2>2. Watermarks/Overlays</h2><p>Sometimes you may need to place some text or watermark into your video display (particularly when transcoding), and you don&#8217;t need a video editor suite to accomplish this. VLC&#8217;s got that too. Like some of our other tips, this can be found in <em>Tools -&gt; Effects and Filters</em>, but this time under the <em>Video Effects</em> tab under <em>Vout/Overlay</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/morevlctips-overlay.png?resize=472%2C437" alt="morevlctips-overlay" title="morevlctips-overlay" class="lazy aligncenter size-full wp-image-37935" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/09/morevlctips-overlay.png?resize=472%2C437" alt="morevlctips-overlay" title="morevlctips-overlay" class="aligncenter size-full wp-image-37935" data-recalc-dims="1" /></noscript></p><p>If you want a graphic instead of plain text, you can do that with the <em>Logo </em>tab in the same section.</p><h3>3. Control Playback Through the Web</h3><p>If you&#8217;ve got your videos hooked up to play through a home theater PC, or just like to do remote control, you can command VLC from anywhere through its network interfaces for Telnet or Web. Just open<em> View -&gt; Add Interface -&gt; Web Interface</em>. It starts a small web server (you may need to adjust your system firewall settings to allow it) which can be accessed on port 8080. The web interface will let you start, stop, and set current playback and even adjust volume just as if you were clicking the buttons on the player window itself.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/moreVLCtips-webinterface.png?resize=598%2C425" alt="moreVLCtips-webinterface" title="moreVLCtips-webinterface" class="lazy aligncenter size-full wp-image-37867" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/moreVLCtips-webinterface.png?resize=598%2C425" alt="moreVLCtips-webinterface" title="moreVLCtips-webinterface" class="aligncenter size-full wp-image-37867" data-recalc-dims="1" /></noscript></p><h2>4. Mouse Gestures</h2><p>Many people find mouse gestures to be a more natural way to interact with a computer than using buttons, and VLC has got those people taken care of as well. If you&#8217;re not familiar with them, mouse gestures let you use various click-and-drag motions to tell the application what to do. In web browsers, for example, you might drag the mouse anywhere on the screen from right to left to go back, instead of moving up to the corner for the button. It may not sound like much but many mouse gesture users will say it adds up.</p><p>To enable this feature, go to <em>View -&gt; Add Interface -&gt; Mouse Gestures</em>. You may need to restart VLC for the changes to take effect. The list of supported gestures can be found <a href="http://wiki.videolan.org/Mouse_Gestures">here</a>.</p><h2>Conclusion</h2><p>As always, VLC delivers more than expected from a media player.  There have been times when this author has run into some type of problem with a video and thought &#8220;I bet VLC is clever enough to have something for this&#8230;&#8221; and most of the time, I&#8217;ve been right.  In case you can&#8217;t tell, I&#8217;m a fan.</p><p>The post <a href="http://www.maketecheasier.com/4-more-things-you-didnt-know-vlc-could-do/2011/09/08">4 More Things You Didn&#8217;t Know VLC Could Do</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/4-more-things-you-didnt-know-vlc-could-do/2011/09/08/feed</wfw:commentRss> <slash:comments>4</slash:comments> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">VLC logo</media:title> </media:content> <media:content url="http://i1.wp.com/imagecdn.maketecheasier.com/2010/05/vlc5-logo1.png?resize=200%2C200" medium="image"> <media:title type="html">VLC logo</media:title> </media:content> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">moreVLCtips-audiosync</media:title> </media:content> <media:content url="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/moreVLCtips-audiosync.png?resize=412%2C384" medium="image"> <media:title type="html">moreVLCtips-audiosync</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/09/morevlctips-overlay.png?resize=472%2C437" medium="image"> <media:title type="html">morevlctips-overlay</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/09/morevlctips-overlay.png?resize=472%2C437" medium="image"> <media:title type="html">morevlctips-overlay</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/moreVLCtips-webinterface.png?resize=598%2C425" medium="image"> <media:title type="html">moreVLCtips-webinterface</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/moreVLCtips-webinterface.png?resize=598%2C425" medium="image"> <media:title type="html">moreVLCtips-webinterface</media:title> </media:content> </item> <item><title>Crave Invoice Review + Free Giveaway [Update: Contest Closed]</title><link>http://www.maketecheasier.com/crave-invoice-review-free-giveaway/2011/09/01</link> <comments>http://www.maketecheasier.com/crave-invoice-review-free-giveaway/2011/09/01#comments</comments> <pubDate>Thu, 01 Sep 2011 22:00:52 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[free giveaways]]></category> <category><![CDATA[invoice]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=37827</guid> <description><![CDATA[<p>As I recently learned while trying to start up my own business, finances are hard. REALLY hard. I mean, I&#8217;ve written software and compiled custom kernels and built unique Linux systems for years, but trying to track assets and liabilities and equity and invoices and balance sheets&#8230; it&#8217;s just beyond me, and I need software [...]</p><p>The post <a href="http://www.maketecheasier.com/crave-invoice-review-free-giveaway/2011/09/01">Crave Invoice Review + Free Giveaway [Update: Contest Closed]</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-small.png?resize=200%2C172" alt="craveinvoice-small" title="craveinvoice-small" class="lazy alignleft size-full wp-image-37842" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-small.png?resize=200%2C172" alt="craveinvoice-small" title="craveinvoice-small" class="alignleft size-full wp-image-37842" data-recalc-dims="1" /></noscript>As I recently learned while trying to start up my own business, finances are hard. REALLY hard. I mean, I&#8217;ve written software and compiled custom kernels and built unique Linux systems for years, but trying to track assets and liabilities and equity and invoices and balance sheets&#8230; it&#8217;s just beyond me, and I need software to help. Judging by the sheer number of financial applications online, I&#8217;m certainly not the only one. I went in search of software to make things easier and one I came across was <a href="http://www.craveinvoice.com/">Crave Invoice</a>. While not specifically intended for my type of business, I wanted to give it a shot. Here&#8217;s that experience, both the good and the bad.<br /> <span id="more-37827"></span></p><h2>A bit about Crave Invoice</h2><p>This is a Windows application and comes in three versions &#8211; Pro, Enterprise, and Ultimate. Each builds on the last, so where Pro includes invoicing along with customer and product management, Enterprise adds inventory management and Ultimate includes all of Enterprise plus a plugin for managing production.</p><p>All versions have a <a href="http://www.craveinvoice.com/download-craveinvoice.html">30-day free trial</a> where you can decide if you like the program before <a href="http://www.craveinvoice.com/order-craveinvoice.asp">purchasing a license</a>.</p><h2>Setup</h2><p>As a Windows program, it installs like any other, and you&#8217;re greeted on the first run with a brief 3-step wizard to enter company information and, optionally, tax and currency info.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard1.png?resize=600%2C468" alt="craveinvoice-wizard" title="craveinvoice-wizard1" class="lazy aligncenter size-full wp-image-37829" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard1.png?resize=600%2C468" alt="craveinvoice-wizard" title="craveinvoice-wizard1" class="aligncenter size-full wp-image-37829" data-recalc-dims="1" /></noscript></p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard2-taxes.png?resize=600%2C467" alt="craveinvoice-wizard2-taxes" title="craveinvoice-wizard2-taxes" class="lazy aligncenter size-full wp-image-37831" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard2-taxes.png?resize=600%2C467" alt="craveinvoice-wizard2-taxes" title="craveinvoice-wizard2-taxes" class="aligncenter size-full wp-image-37831" data-recalc-dims="1" /></noscript></p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard3-currency.png?resize=600%2C468" alt="craveinvoice-wizard3-currency" title="craveinvoice-wizard3-currency" class="lazy aligncenter size-full wp-image-37832" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-wizard3-currency.png?resize=600%2C468" alt="craveinvoice-wizard3-currency" title="craveinvoice-wizard3-currency" class="aligncenter size-full wp-image-37832" data-recalc-dims="1" /></noscript></p><p>As far as wizards go, this one&#8217;s quick and simple, and I appreciate that you can choose to skip the tax and currency screens once you&#8217;ve completed the initial company info screen.</p><h2>Basic Usage</h2><p>Of the three editions mentioned above, we&#8217;re reviewing the Pro edition. It is the most limited of the three, but it provides the core modules used by all editions and demonstrated the functionality of the program. Once you&#8217;re done with the First Run Setup Wizard, you&#8217;ll get the main application screen</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-mainscreen.png?resize=600%2C538" alt="craveinvoice-mainscreen" title="craveinvoice-mainscreen" class="lazy aligncenter size-full wp-image-37834" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-mainscreen.png?resize=600%2C538" alt="craveinvoice-mainscreen" title="craveinvoice-mainscreen" class="aligncenter size-full wp-image-37834" data-recalc-dims="1" /></noscript></p><p>which is pretty straighforward. The first thing I did was to try making a new customer, and this is where I ran into the first of a few &#8220;quirks&#8221; in the application. When creating my fictional customer I decided to enter a London, UK address to see how the application would handle a non-US address, and got the following response</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-customererror.png?resize=600%2C400" alt="craveinvoice-customererror" title="craveinvoice-customererror" class="lazy aligncenter size-full wp-image-37835" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-customererror.png?resize=600%2C400" alt="craveinvoice-customererror" title="craveinvoice-customererror" class="aligncenter size-full wp-image-37835" data-recalc-dims="1" /></noscript></p><p>In short, it&#8217;s telling me that I did not enter a ZIP code (not applicable in UK). It doesn&#8217;t like that I did not enter any information for delivery address (in the next tab over). Crave did accept a London-style postcode in the ZIP box, and I was able to set the delivery information to <em>Same As Billing Address</em> so this was not a deal-breaker, but I can&#8217;t predict how the system might respond to countries without a ZIP equivalent. As deliveries have nothing to do with my business, and many others, I was a bit surprised that the Delivery tab would be a required field.</p><h2>Managing Products</h2><p>To simplify your bookkeeping, you can specify individual products and their prices with Crave and easily add them to your invoices later. Just choose the <em>Create New Product</em> button from the <em>Quick Access Panel</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-newproduct.png?resize=500%2C331" alt="craveinvoice-newproduct" title="craveinvoice-newproduct" class="lazy aligncenter size-full wp-image-37836" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-newproduct.png?resize=500%2C331" alt="craveinvoice-newproduct" title="craveinvoice-newproduct" class="aligncenter size-full wp-image-37836" data-recalc-dims="1" /></noscript></p><p>While it&#8217;s one relatively small portion of the overall application, I actually had two complaints about this section. The first is the lack of a description field, or any other way to include additional info/comments/notes about a product. Second, the <em>Units of Measure</em> field provides four options &#8211; NOS, KGS, LTR, and MTR without any tooltip or other information about exactly what those mean. From the looks of it, I&#8217;d think those might mean number of units, kilograms, liters and meters but there&#8217;s no clarification in the GUI or even the online docs to confirm that. A Google search for those terms brought me to a Foreign Trade Department website which confirmed my suspicions, but the software shouldn&#8217;t necessarily assume I&#8217;m up on the latest FTD abbreviation standards.</p><h2>Invoicing</h2><p>Surely, if there&#8217;s one place this software should shine, it should be invoicing. Why else put that in the name? For the most part, I&#8217;d say it&#8217;s justified. Crave makes it easy to pull up customer and products and combine them into a simple-to-use invoice generator.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-newinvoice.png?resize=600%2C499" alt="craveinvoice-newinvoice" title="craveinvoice-newinvoice" class="lazy aligncenter size-full wp-image-37838" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-newinvoice.png?resize=600%2C499" alt="craveinvoice-newinvoice" title="craveinvoice-newinvoice" class="aligncenter size-full wp-image-37838" data-recalc-dims="1" /></noscript></p><p>This screen contains all the invoice generation options I need (plus a few more) and is fairly straightforward and intuitive.</p><p>Once I finished entering my invoice details, I hit a snag which very nearly caused me to completely dismiss Crave as useless &#8211; until I realized it was another GUI &#8220;quirk&#8221;. If you look at the above screenshot, you might notice two important things missing. You can print, but there&#8217;s nothing to email your invoice, or export it to a file! All is not lost, however, as both those functions are present, but for some reason they&#8217;re both hidden behind the <em>Print</em> button. Click that, and you&#8217;ll see a preview window which DOES have the controls to email and export.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-export.png?resize=549%2C472" alt="craveinvoice-export" title="craveinvoice-export" class="lazy aligncenter size-full wp-image-37840" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/craveinvoice-export.png?resize=549%2C472" alt="craveinvoice-export" title="craveinvoice-export" class="aligncenter size-full wp-image-37840" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>It&#8217;s hard to nail down a single, solid opinion about Crave Invoice. Its primary focus &#8211; creating simple and nice-looking invoices, it does well. The graphics are good, but there are some downright silly usability choices (such as loading all screens into one overlapping space with no tabs/tiling/other sane organization). There&#8217;s very good reporting capabilities, but the usability troubles make it difficult to want to take advantage of that. I suppose if I had to sum it all up, I&#8217;d say that Crave Invoice has some pretty impressive functionality, but lacks quite a bit in form. It appears to be designed for a somewhat limited type of business, but for that type (small manufacturing) it could be extremely useful, provided you can get past those quirks.</p><h2>Free Giveaway</h2><p>The developer of Crave Invoice has gladly sponsored 10 license keys to giveaway to all of you. Here is how you can participate:</p><p><strong>Update</strong>: Contest Closed</p><p>[giveaway]<strong>Step 1</strong>:</p><p>Share this giveaway post in Facebook or Twitter.</p><table><tr><td width="300"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fmaketecheasier.com%2Fcrave-invoice-review-free-giveaway%2F2011%2F08%2F31?&amp;layout=box_count&amp;show_faces=false&amp;width=200&amp;action=like&amp;font&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:65px;" allowTransparency="true"></iframe></td><td><div id="tbox"></div><p><script type="text/javascript">twttr.anywhere(function(T){T("#tbox").tweetBox({height:100,width:400,defaultContent:"Giveaway of the Week: Generate Invoice easily with Crave Invoice @maketecheasier http://mte.gs/oxiFV2",label:"Share via Twitter"});});</script></td></tr></table><p><strong>Step 2</strong><br /> Leave a comment below with the link to the facebook/twitter post status.  [/giveaway]</p><p>This giveaway begins now and ends Sunday, 4th September 2011 at 2359hrs Pacific Time. The winners will be selected at random and announced via email.</p><p>Share and enjoy!</p><p>Check out <a href="http://www.craveinvoice.com/">Crave Invoice</a>.</p><p>MakeTechEasier would like to thank craveinvoice.com for their generosity in sponsoring this giveaway. Interested in sponsoring? We’d love to hear from you. <a href="http://maketecheasier.com/contact/software-review-request">Get in touch with us</a>.</p><p>The post <a href="http://www.maketecheasier.com/crave-invoice-review-free-giveaway/2011/09/01">Crave Invoice Review + Free Giveaway [Update: Contest Closed]</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/crave-invoice-review-free-giveaway/2011/09/01/feed</wfw:commentRss> <slash:comments>1</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-small.png?resize=200%2C172" medium="image"> <media:title type="html">craveinvoice-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/craveinvoice-small.png?resize=200%2C172" medium="image"> <media:title type="html">craveinvoice-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard1.png?resize=600%2C468" medium="image"> <media:title type="html">craveinvoice-wizard1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard1.png?resize=600%2C468" medium="image"> <media:title type="html">craveinvoice-wizard1</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard2-taxes.png?resize=600%2C467" medium="image"> <media:title type="html">craveinvoice-wizard2-taxes</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard2-taxes.png?resize=600%2C467" medium="image"> <media:title type="html">craveinvoice-wizard2-taxes</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard3-currency.png?resize=600%2C468" medium="image"> <media:title type="html">craveinvoice-wizard3-currency</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-wizard3-currency.png?resize=600%2C468" medium="image"> <media:title type="html">craveinvoice-wizard3-currency</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/craveinvoice-mainscreen.png?resize=600%2C538" medium="image"> <media:title type="html">craveinvoice-mainscreen</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-mainscreen.png?resize=600%2C538" medium="image"> <media:title type="html">craveinvoice-mainscreen</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/craveinvoice-customererror.png?resize=600%2C400" medium="image"> <media:title type="html">craveinvoice-customererror</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/craveinvoice-customererror.png?resize=600%2C400" medium="image"> <media:title type="html">craveinvoice-customererror</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-newproduct.png?resize=500%2C331" medium="image"> <media:title type="html">craveinvoice-newproduct</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-newproduct.png?resize=500%2C331" medium="image"> <media:title type="html">craveinvoice-newproduct</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-newinvoice.png?resize=600%2C499" medium="image"> <media:title type="html">craveinvoice-newinvoice</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/craveinvoice-newinvoice.png?resize=600%2C499" medium="image"> <media:title type="html">craveinvoice-newinvoice</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/craveinvoice-export.png?resize=549%2C472" medium="image"> <media:title type="html">craveinvoice-export</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/craveinvoice-export.png?resize=549%2C472" medium="image"> <media:title type="html">craveinvoice-export</media:title> </media:content> </item> <item><title>How to Build a Lightweight Linux for your Low-End Laptop</title><link>http://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/2011/08/31</link> <comments>http://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/2011/08/31#comments</comments> <pubDate>Wed, 31 Aug 2011 14:58:38 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[lightweight]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=37386</guid> <description><![CDATA[<p>Like many of you, I occasionally come into possession of an older laptop. Usually, it&#8217;s something that used to run Windows XP, sometimes even older. You always hear that Linux is supposed to be so great for resurrecting old hardware, but many modern desktop distributions with all their bells and whistles end up chugging along [...]</p><p>The post <a href="http://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/2011/08/31">How to Build a Lightweight Linux for your Low-End Laptop</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/l4-oldlaptop.jpg?resize=200%2C196" alt="l4-oldlaptop" title="l4-oldlaptop" class="lazy alignleft size-full wp-image-37410" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/l4-oldlaptop.jpg?resize=200%2C196" alt="l4-oldlaptop" title="l4-oldlaptop" class="alignleft size-full wp-image-37410" data-recalc-dims="1" /></noscript>Like many of you, I occasionally come into possession of an older laptop. Usually, it&#8217;s something that used to run Windows XP, sometimes even older. You always hear that Linux is supposed to be so great for resurrecting old hardware, but many modern desktop distributions with all their bells and whistles end up chugging along just as slowly as Windows did. In those circumstances, you can either throw the machine away, or build your own custom install tailored toward the needs of the machine. Today we&#8217;re going to put together a Debian installation tailored specifically toward the needs of an older laptop.<br /> <span id="more-37386"></span></p><h2>Why Debian?</h2><p>There are a few distributions out there, such as Puppy or Damn Small Linux which focus almost entirely on this niche. Why not use one of them? You certainly can, but Debian&#8217;s characteristics make it ideal as a platform for building up your software stack the way you want it. Debian&#8217;s greatest strength (though some might call it a weakness) is that it is not a unified, cohesive whole in the way that Windows, OSX, and even Ubuntu are. Instead, Debian is more like a box of Legos, where you&#8217;re provided with a solid base and access to all the pieces you need. This is what makes it such a popular starting point for custom Linux systems, and why it&#8217;s the core behind many of today&#8217;s most popular desktop Linux distributions.</p><h2>Installing the Core System</h2><p><strong>Before we begin installing</strong>, it&#8217;s important to note that Debian install CDs are strictly composed of 100% free software. That means it does not contain any non-free hardware drivers, so there is a good chance that your laptop&#8217;s wireless network device will not function from the install media. Therefore it is <strong>highly recommended</strong> that you proceed with the installation using cabled Ethernet.</p><p>For many reasons, I suggest using the tiny <a href="http://www.debian.org/distrib/netinst">Network Install CD</a> instead of the full 700MB ISO. This will likely end up saving you a lot of time that would otherwise be wasted downloading and upgrading packages that you don&#8217;t want or need.</p><p>We&#8217;ve <a href="http://maketecheasier.com/perform-debian-50-network-install/2009/02/20" target="_blank">previously covered</a> the process of performing a Debian network install, so I won&#8217;t go into detail here, but there is one important suggestion. Once the Software Selection screen comes up (after partitioning and such), I strongly recommend that you uncheck the box for <em>Desktop Environment</em>, and check <em>Laptop</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/l4-debselection.png?resize=557%2C420" alt="l4-debselection" title="l4-debselection" class="lazy aligncenter size-full wp-image-37393" data-recalc-dims="1"/><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/l4-debselection.png?resize=557%2C420" alt="l4-debselection" title="l4-debselection" class="aligncenter size-full wp-image-37393" data-recalc-dims="1"/></noscript></p><p>You certainly can leave <em>Desktop Environment </em>checked if you wish, which will install a vanilla Gnome 2 desktop. I suggest removing it because that will add a LOT of weight to your install, and will most likely include several packages and services you do not need.</p><h2>Post-Install Configuration</h2><p>Getting the OS installed is only the first step. Now, let&#8217;s include some packages. Once you&#8217;ve booted up and logged in, you&#8217;ll probably want to start by installing your own graphical environment to replace Gnome. First, however, we&#8217;ll need to add a few core pieces that will be needed by any desktop software. Run the following command (as root) to add these core utilities.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get install</span> xorg <span style="color: #c20cb9; font-weight: bold;">sudo</span> iceweasel pulseaudio</pre></td></tr></table></div><ul><li>X.org is the backend graphical system used by all major desktop environments</li><li>sudo allows you to run individual commands as root</li><li>Iceweasel is Debian&#8217;s 100% free rebranding of Firefox</li><li>PulseAudio is one of the sound systems most commonly used in Linux*</li></ul><p><em>* Some people have had a lot of trouble with PulseAudio, which can be difficult to get working properly. If you have trouble, try installing </em>alsa-base<em> and </em>alsa-utils<em> instead, which will make your system use the Advanced Linux Sound Architecture. </em></p><p>Once finished, <a href="http://www.gratisoft.us/sudo/intro.html" target="_blank">make sure your username has sudo rights</a> and you&#8217;re ready to install your desktop.</p><p><strong>Option 1: LXDE</strong></p><p>Based on OpenBox, LXDE is a very small and fast desktop environment. It includes several small applications such as a file manager terminal, and music player designed specifically for use in LXDE.</p><p><img alt="lxde-bigscreen" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn.maketecheasier.com/2009/04/lxde-bigscreen.png?resize=550%2C344" title="LXDE Desktop" class="lazy aligncenter" data-recalc-dims="1" /><noscript><img alt="lxde-bigscreen" src="http://i2.wp.com/imagecdn.maketecheasier.com/2009/04/lxde-bigscreen.png?resize=550%2C344" title="LXDE Desktop" class="aligncenter" data-recalc-dims="1" /></noscript></p><p>LXDE is well suited to those who want to get up and running right away, or those who are used to the Windows-style desktop and <em>Start</em> menu interface.</p><p>It can be installed easily from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> lxde</pre></td></tr></table></div><p><strong>Option 2:  Window Maker</strong></p><p>If you&#8217;re a little more adventurous, or a little more willing to tinker with settings, I very highly recommend Window Maker. It&#8217;s a bit old, it&#8217;s a bit ugly, <a href="http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank">but with a few tweaks</a>, it becomes quite possibly the most productivity-oriented desktop around.</p><p><img alt="final-screenshot" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn.maketecheasier.com/2009/02/final-screenshot.png?resize=500%2C400" title="Window Maker screenshot" class="lazy aligncenter" data-recalc-dims="1" /><noscript><img alt="final-screenshot" src="http://i0.wp.com/imagecdn.maketecheasier.com/2009/02/final-screenshot.png?resize=500%2C400" title="Window Maker screenshot" class="aligncenter" data-recalc-dims="1" /></noscript></p><p>And it&#8217;s fast. Blazing fast. This entire article was written on an old HP laptop running Debian and Window Maker as described, and my desktop is more responsive than most of the higher-end Windows 7 and even Linux desktop running larger, fatter environments.</p><p>(This is, of course, a completely subjective statement and depends on a lot of variables)</p><p>Like LXDE, it&#8217;s easily installed from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> wmaker</pre></td></tr></table></div><h2>Software Suite</h2><p>Presumably, by this point, you&#8217;ve got your lean and mean Debian system running with little more than a window manager and a web browser.  I recommend the following applications for keeping productivity high and resource usage low.</p><ul><li>NDISWrapper Driver Tool &#8211; Allows you to use many Windows drivers to run devices on Linux (<em>extremely</em> handy for WiFi)</li><li>PCManFM File Manager &#8211; Even if you&#8217;re not using LXDE, this is a great lightweight file manager that stays out of your way.</li><li>Geany Code Editor &#8211; If you do software development, Geany is an excellent editor that has many useful features, but manages to remain small and fast.</li><li>VLC Media Player &#8211; It doesn&#8217;t matter the distro or even the OS, VLC is just a great player.</li><li>Audacious Music Player &#8211; This is one of the last remaining WinAmp style players, and still does a great job.</li><li>LightDM &#8211; A desktop login manager intended as an alternative to large ones like GDM and KDM</li></ul><h2>Conclusion</h2><p>Hopefully, by the time you&#8217;re done reading this, you&#8217;re well on your way to a custom Debian setup that allows your old laptop to run fast and smooth. I&#8217;ve toyed with many a Linux distribution and desktop environment, yet time after time I come back to Debian and Window Maker, with a few lightweight utilities. Together they make for fantastically productive and useful computing with minimal clutter. This laptop, for one, is never going to have to try to run Linux Mint again.</p><p>The post <a href="http://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/2011/08/31">How to Build a Lightweight Linux for your Low-End Laptop</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/2011/08/31/feed</wfw:commentRss> <slash:comments>7</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/l4-oldlaptop.jpg?resize=200%2C196" medium="image"> <media:title type="html">l4-oldlaptop</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/l4-oldlaptop.jpg?resize=200%2C196" medium="image"> <media:title type="html">l4-oldlaptop</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/l4-debselection.png?resize=557%2C420" medium="image"> <media:title type="html">l4-debselection</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/l4-debselection.png?resize=557%2C420" medium="image"> <media:title type="html">l4-debselection</media:title> </media:content> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">LXDE Desktop</media:title> </media:content> <media:content url="http://i2.wp.com/imagecdn.maketecheasier.com/2009/04/lxde-bigscreen.png?resize=550%2C344" medium="image"> <media:title type="html">LXDE Desktop</media:title> </media:content> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">Window Maker screenshot</media:title> </media:content> <media:content url="http://i0.wp.com/imagecdn.maketecheasier.com/2009/02/final-screenshot.png?resize=500%2C400" medium="image"> <media:title type="html">Window Maker screenshot</media:title> </media:content> </item> <item><title>How to Integrate Google Reader and Google+</title><link>http://www.maketecheasier.com/integrate-google-reader-and-google/2011/08/25</link> <comments>http://www.maketecheasier.com/integrate-google-reader-and-google/2011/08/25#comments</comments> <pubDate>Thu, 25 Aug 2011 14:58:35 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[Google Stuff]]></category> <category><![CDATA[extension]]></category> <category><![CDATA[google plus]]></category> <category><![CDATA[google reader]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=37012</guid> <description><![CDATA[<p>Like many of you, I use a lot of Google products. It&#8217;s hard not to &#8211; they&#8217;re usually useful and free. To date, nearly everything Google has released has been a game-changer in its field. Earth, Maps, Gmail, Android, and countless other tools have each raised the bar for what we expect out of software, [...]</p><p>The post <a href="http://www.maketecheasier.com/integrate-google-reader-and-google/2011/08/25">How to Integrate Google Reader and Google+</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-small.jpg?resize=200%2C197" alt="plusandreader-small" title="plusandreader-small" class="lazy alignleft size-full wp-image-37025" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-small.jpg?resize=200%2C197" alt="plusandreader-small" title="plusandreader-small" class="alignleft size-full wp-image-37025" data-recalc-dims="1" /></noscript>Like many of you, I use a lot of Google products. It&#8217;s hard not to &#8211; they&#8217;re usually useful and free. To date, nearly everything Google has released has been a game-changer in its field. Earth, Maps, Gmail, Android, and countless other tools have each raised the bar for what we expect out of software, particularly on the web. When Google released Google+ a short while ago, that left many of us &#8220;power users&#8221; wondering if/when it would be integrated with Google Reader, the fantastic RSS feed reader. There have been a few plugins/extensions/etc released by third parties with the aim to fill this gap until Google makes it official, but so far the best of the bunch seems to be <em>RSS Share for Google+ and Google Reader</em>. It connects the two services so seamlessly that it&#8217;s easy to forget that it&#8217;s an addon.<br /> <span id="more-37012"></span></p><h2>Installation</h2><p><em>RSS Share for Google+ and Google Reader</em> (henceforth referred to as RSS Share) is a Chrome/Chromium extension, so yes, you will need to be running Google&#8217;s browser. If you haven&#8217;t already tried Chrome, you may be surprised by the speed and simplicity of the UI.</p><p>The extension can be installed from this page. It&#8217;s a simple one-click install that should operate like any other Chrome extension.</p><h2>What it Does</h2><p>The features, as described by the developer, are as follows:</p><ul><li>&#8220;Share on Google+&#8221; button in Google Reader</li><li>(Optional) Add Google Reader section to Google+</li><li>Show read and unread RSS items on Google Plus</li><li>Choose if read items are shown</li><li>Instantly share any link</li><li>Google Reader unread count on Google Plus</li><li>j/k key bindings for scrolling through RSS items on Google Plus</li><li>Infinite scrolling for RSS items</li><li>Click on title to refresh unread count</li><li>Tree view of feeds</li></ul><h3>Usage</h3><p>First, if you have any Google+ or Reader tabs open, you&#8217;ll want to fully refresh them after the extension is installed to make sure the page is rendered with the new bits included. In Reader, you&#8217;ll now see a Share with Google+ option at the bottom of each post.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-shareonplus.png?resize=557%2C285" alt="plusandreader-shareonplus" title="plusandreader-shareonplus" class="lazy aligncenter size-full wp-image-37016" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-shareonplus.png?resize=557%2C285" alt="plusandreader-shareonplus" title="plusandreader-shareonplus" class="aligncenter size-full wp-image-37016" data-recalc-dims="1" /></noscript></p><p>which will bring up the sharing interface familiar to any Google+ user.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-shareonplus2.png?resize=502%2C448" alt="plusandreader-shareonplus2" title="plusandreader-shareonplus2" class="lazy aligncenter size-full wp-image-37018" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-shareonplus2.png?resize=502%2C448" alt="plusandreader-shareonplus2" title="plusandreader-shareonplus2" class="aligncenter size-full wp-image-37018" data-recalc-dims="1" /></noscript></p><p>That&#8217;s nice and all, but <em>RSS Share</em> actually has another trick up it&#8217;s sleeve, and it&#8217;s a good one. If you open up your Google+, you&#8217;ll see that you&#8217;ve now got a list of your feeds in the sidebar, under your stream options.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-readersidebar.jpg?resize=599%2C522" alt="plusandreader-readersidebar" title="plusandreader-readersidebar" class="lazy aligncenter size-full wp-image-37022" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-readersidebar.jpg?resize=599%2C522" alt="plusandreader-readersidebar" title="plusandreader-readersidebar" class="aligncenter size-full wp-image-37022" data-recalc-dims="1" /></noscript></p><p>Clicking on any of the titles will bring up the feed in Google+.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-feedsinplus.png?resize=600%2C459" alt="plusandreader-feedsinplus" title="plusandreader-feedsinplus" class="lazy aligncenter size-full wp-image-37023" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/plusandreader-feedsinplus.png?resize=600%2C459" alt="plusandreader-feedsinplus" title="plusandreader-feedsinplus" class="aligncenter size-full wp-image-37023" data-recalc-dims="1" /></noscript></p><p>Unfortunately, I have yet to find a way to post entries from Google+ to Reader, but I suppose when you consider that those items are in an entirely different format from RSS and have security and other considerations applied, it makes some technical sense.</p><h2>Conclusion</h2><p>It&#8217;s been this author&#8217;s experience that many similar extensions tend to feel clunky and tacked-on.  RSS Share for Google+ and Google Reader is the first I&#8217;ve found that integrates seamlessly, and feels like it belongs in the base applications.  There are times when such things seem useful at first but quickly get forgotten, but RSS Share is something I&#8217;ll be keeping around for a while.</p><p>The post <a href="http://www.maketecheasier.com/integrate-google-reader-and-google/2011/08/25">How to Integrate Google Reader and Google+</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/integrate-google-reader-and-google/2011/08/25/feed</wfw:commentRss> <slash:comments>2</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/plusandreader-small.jpg?resize=200%2C197" medium="image"> <media:title type="html">plusandreader-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-small.jpg?resize=200%2C197" medium="image"> <media:title type="html">plusandreader-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-shareonplus.png?resize=557%2C285" medium="image"> <media:title type="html">plusandreader-shareonplus</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-shareonplus.png?resize=557%2C285" medium="image"> <media:title type="html">plusandreader-shareonplus</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-shareonplus2.png?resize=502%2C448" medium="image"> <media:title type="html">plusandreader-shareonplus2</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/plusandreader-shareonplus2.png?resize=502%2C448" medium="image"> <media:title type="html">plusandreader-shareonplus2</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/plusandreader-readersidebar.jpg?resize=599%2C522" medium="image"> <media:title type="html">plusandreader-readersidebar</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-readersidebar.jpg?resize=599%2C522" medium="image"> <media:title type="html">plusandreader-readersidebar</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/plusandreader-feedsinplus.png?resize=600%2C459" medium="image"> <media:title type="html">plusandreader-feedsinplus</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/plusandreader-feedsinplus.png?resize=600%2C459" medium="image"> <media:title type="html">plusandreader-feedsinplus</media:title> </media:content> </item> <item><title>6 More of the Coolest Chrome Web Apps</title><link>http://www.maketecheasier.com/6-more-of-the-coolest-chrome-web-apps/2011/08/17</link> <comments>http://www.maketecheasier.com/6-more-of-the-coolest-chrome-web-apps/2011/08/17#comments</comments> <pubDate>Wed, 17 Aug 2011 23:58:40 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[extensions]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=36806</guid> <description><![CDATA[<p>Almost a year ago, we shared a few of the more fun and useful web applications for Google Chrome. Since then, several great new apps have been added to the Web Store, and a few of them really stand out. Sure, many of them are little more than links to a existing web app, and [...]</p><p>The post <a href="http://www.maketecheasier.com/6-more-of-the-coolest-chrome-web-apps/2011/08/17">6 More of the Coolest Chrome Web Apps</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-small.jpg?resize=180%2C175" alt="more chrome web apps" title="more chrome web apps-small" class="lazy alignleft size-full wp-image-36816" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-small.jpg?resize=180%2C175" alt="more chrome web apps" title="more chrome web apps-small" class="alignleft size-full wp-image-36816" data-recalc-dims="1" /></noscript>Almost a year ago, we shared a few of the more fun and useful <a href="http://maketecheasier.com/six-best-chrome-webapps-for-your-daily-use/2010/12/31">web applications for Google Chrome</a>. Since then, several great new apps have been added to the Web Store, and a few of them really stand out. Sure, many of them are little more than links to a existing web app, and have little to do with Chrome, but the convenience and availability (and in some cases, the price) is often tied to the Web Store. Angry Birds, for example, is normally a paid app which is free for all Chrome users, and the Chrome version also includes a few extra features and levels. Today we&#8217;ve gathered up some of the very best from the Web Store, and you may be surprised at what we found.<br /> <span id="more-36806"></span></p><h2>1. <a href="https://chrome.google.com/webstore/detail/bkgoccjhfjgjedhkiefaclppgbmoobnk?hl=en-US&#038;hc=hp&#038;hcp=pop-all" target="_blank">Audiotool </a>- Music Creation</h2><p>Ever wish you could play around with all that amazing gear some electronic musicians have? Audiotool gives you digital representations of synthesizers, drum machines, and effects pedals that you can combine and tweak in any way you wish. Each component is isolated, and it&#8217;s up to you as the user to connect them however you see fit.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-audiotool.jpg?resize=600%2C387" alt="morechromewebapps-audiotool" title="morechromewebapps-audiotool" class="lazy aligncenter size-full wp-image-36807" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-audiotool.jpg?resize=600%2C387" alt="morechromewebapps-audiotool" title="morechromewebapps-audiotool" class="aligncenter size-full wp-image-36807" data-recalc-dims="1" /></noscript></p><p>Is it a full replacement for expensive hardware? Probably not, but it sure is a lot of fun.</p><h2>2. <a href="https://chrome.google.com/webstore/detail/nbdmccoknlfggadpfkmcpnamfnbkmkcp?hl=en-US&#038;hc=search&#038;hcp=main" target="_blank">Cloud9 </a>- Software Development</h2><p>One of the biggest hurdles to widespread adoption of the browser-based &#8220;cloud desktop&#8221; model (such as with Google&#8217;s Chromebooks) is the inability to do even simple software development.  Much (though not all) of that can be solved with cleverly designed web apps such as Cloud9. It&#8217;s a multi-language IDE with many of the features you&#8217;d expect in a desktop code editor (tabs, syntax highlighting, etc) and a few neat features of its own, like GitHub integration.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-cloud9.png?resize=595%2C326" alt="morechromewebapps-cloud9" title="morechromewebapps-cloud9" class="lazy aligncenter size-full wp-image-36808" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-cloud9.png?resize=595%2C326" alt="morechromewebapps-cloud9" title="morechromewebapps-cloud9" class="aligncenter size-full wp-image-36808" data-recalc-dims="1" /></noscript></p><p>It&#8217;s this author&#8217;s opinion that the GitHub integration is probably the most valuable feature of Cloud9. Not only can you sync up with the code in your GitHub repository, you can even use your normal GitHub credentials to log in to Cloud9.</p><h2>3. <a href="https://chrome.google.com/webstore/detail/akpelnjfckgfiplcikojhomllgombffc?hl=en-US&#038;hc=hp&#038;hcp=pop-all" target="_blank">Chrome Theme Creator</a> &#8211; Browser Customization</h2><p>We previously touched on ways to <a href="http://maketecheasier.com/create-google-chrome-themes/2011/03/29">create Chrome themes</a>, but this one based out of ChromeTheme.net has proven itself to be quite simple and capable. You can choose the colors and images you desire for your theme and once everything&#8217;s ready, just download the pack.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-themecreator.png?resize=600%2C393" alt="morechromewebapps-themecreator" title="morechromewebapps-themecreator" class="lazy aligncenter size-full wp-image-36809" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-themecreator.png?resize=600%2C393" alt="morechromewebapps-themecreator" title="morechromewebapps-themecreator" class="aligncenter size-full wp-image-36809" data-recalc-dims="1" /></noscript></p><h2>4. <a href="https://chrome.google.com/webstore/detail/bkgoccjhfjgjedhkiefaclppgbmoobnk?hl=en-US&#038;hc=hp&#038;hcp=pop-all" target="_blank">Flixster </a>- Movie Reviews and Showtimes</h2><p>If you&#8217;re a movie nut, this app from the infamous RottenTomatoes.com will likely keep you happy. It includes film details, trailers, reviews, an extensive rating system, and even helps you look up local showtimes.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-flixster.jpg?resize=600%2C446" alt="morechromewebapps-flixster" title="morechromewebapps-flixster" class="lazy aligncenter size-full wp-image-36811" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-flixster.jpg?resize=600%2C446" alt="morechromewebapps-flixster" title="morechromewebapps-flixster" class="aligncenter size-full wp-image-36811" data-recalc-dims="1" /></noscript></p><h2>5. <a href="https://chrome.google.com/webstore/detail/algoakekcdmbbikdjgjdahbfihboglmi?hl=en-US&#038;hc=hp&#038;hcp=pop-all" target="_blank">3DTin</a></h2><p>A few years ago, the idea of a functional 3D modeling program inside a browser might have seemed pretty ridiculous. Through advances in technology (and the valiant efforts of standards boards) we&#8217;re now closer than ever to having our browsers as fully capable gaming platforms. 3DTin is a fine example of one way these new technologies can be used.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-3dtin.png?resize=600%2C396" alt="morechromewebapps-3dtin" title="morechromewebapps-3dtin" class="lazy aligncenter size-full wp-image-36812" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-3dtin.png?resize=600%2C396" alt="morechromewebapps-3dtin" title="morechromewebapps-3dtin" class="aligncenter size-full wp-image-36812" data-recalc-dims="1" /></noscript></p><h2>6. <a href="https://chrome.google.com/webstore/detail/aknpkdffaafgjchaibgeefbgmgeghloj?hl=en-US" target="_blank">Angry Birds</a> &#8211; Game</h2><p>This list would not have been complete without at least one game, and when it comes to free Chrome games it&#8217;s hard to beat Angry Birds (though some would argue in favor of <a href="https://chrome.google.com/webstore/detail/mmcegpfdgcoclcdfkjahiimlikdpnina?hl=en-US&#038;hc=hp&#038;hcp=pop-all" target="_blank">Plants vs Zombies</a>). Chances are you&#8217;ve at least heard of this game &#8211; it&#8217;s shown up in commercials and movies and it&#8217;s even shown up during <a href="http://www.rifftrax.com/" target="_blank">Rifftrax </a>commentaries.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-angrybirds.jpg?resize=599%2C441" alt="morechromewebapps-angrybirds" title="morechromewebapps-angrybirds" class="lazy aligncenter size-full wp-image-36813" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/morechromewebapps-angrybirds.jpg?resize=599%2C441" alt="morechromewebapps-angrybirds" title="morechromewebapps-angrybirds" class="aligncenter size-full wp-image-36813" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>While many Chrome apps are indeed just links to existing independent web apps, the Chrome Web Store always provides an easy way to browse and rate them, and often provides something new. Perhaps it&#8217;s a free version of a paid app, perhaps it&#8217;s new features, perhaps it&#8217;s nothing. Whatever the details, Chrome Apps can be a great place to find the application you never knew you were looking for.</p><p>The post <a href="http://www.maketecheasier.com/6-more-of-the-coolest-chrome-web-apps/2011/08/17">6 More of the Coolest Chrome Web Apps</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/6-more-of-the-coolest-chrome-web-apps/2011/08/17/feed</wfw:commentRss> <slash:comments>2</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-small.jpg?resize=240%2C233" medium="image"> <media:title type="html">more chrome web apps-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-small.jpg?resize=240%2C233" medium="image"> <media:title type="html">more chrome web apps-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-audiotool.jpg?resize=600%2C387" medium="image"> <media:title type="html">morechromewebapps-audiotool</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-audiotool.jpg?resize=600%2C387" medium="image"> <media:title type="html">morechromewebapps-audiotool</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-cloud9.png?resize=595%2C326" medium="image"> <media:title type="html">morechromewebapps-cloud9</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-cloud9.png?resize=595%2C326" medium="image"> <media:title type="html">morechromewebapps-cloud9</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-themecreator.png?resize=600%2C393" medium="image"> <media:title type="html">morechromewebapps-themecreator</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-themecreator.png?resize=600%2C393" medium="image"> <media:title type="html">morechromewebapps-themecreator</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-flixster.jpg?resize=600%2C446" medium="image"> <media:title type="html">morechromewebapps-flixster</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-flixster.jpg?resize=600%2C446" medium="image"> <media:title type="html">morechromewebapps-flixster</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-3dtin.png?resize=600%2C396" medium="image"> <media:title type="html">morechromewebapps-3dtin</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-3dtin.png?resize=600%2C396" medium="image"> <media:title type="html">morechromewebapps-3dtin</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-angrybirds.jpg?resize=599%2C441" medium="image"> <media:title type="html">morechromewebapps-angrybirds</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/morechromewebapps-angrybirds.jpg?resize=599%2C441" medium="image"> <media:title type="html">morechromewebapps-angrybirds</media:title> </media:content> </item> <item><title>How to Play MP3s From The Linux Command Line</title><link>http://www.maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11</link> <comments>http://www.maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11#comments</comments> <pubDate>Thu, 11 Aug 2011 14:58:10 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[music player]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=36594</guid> <description><![CDATA[<p>At first, this may sound pointless. After all, aren&#8217;t there dozens of perfectly good GUI music apps out there? Haven&#8217;t we all found something we like, or at least don&#8217;t hate? Perhaps that&#8217;s true, but how much happier would you be if your music app of choice used a whole lot less resources? Or what [...]</p><p>The post <a href="http://www.maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11">How to Play MP3s From The Linux Command Line</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-logo.png?resize=190%2C178" alt="mpg123-logo" title="mpg123-logo" class="lazy alignleft size-full wp-image-36601" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-logo.png?resize=190%2C178" alt="mpg123-logo" title="mpg123-logo" class="alignleft size-full wp-image-36601" data-recalc-dims="1" /></noscript>At first, this may sound pointless. After all, aren&#8217;t there dozens of perfectly good GUI music apps out there? Haven&#8217;t we all found something we like, or at least <a href="http://maketecheasier.com/exaile-the-first-media-player-i-dont-hate/2010/05/04" target="_blank">don&#8217;t hate</a>? Perhaps that&#8217;s true, but how much happier would you be if your music app of choice used a <em>whole lot less</em> resources? Or what if you could type in a command on your laptop from anywhere, and have music start playing from the speakers on your desktop? If you&#8217;re in to pranks, that works just as well on a friend/co-worker&#8217;s computer. Today&#8217;s topic is <a href="http://www.mpg123.de/" target="_blank">mpg123</a>, an app which can (among other things) make a great GUI-free media player.<br /> <span id="more-36594"></span></p><h2>Get the app</h2><p>Just about any Linux distribution with online repositories will have this package available, normally as just <em>mpg123</em>. Ubuntu users can find it in the Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> mpg123</pre></td></tr></table></div><p>In the event that your distribution does not have binaries available, you can download the source code <a href="http://www.mpg123.de/download.shtml" target="_blank">here</a>.</p><h2>The Basics</h2><p>A single track can be played in a simple and pretty obvious way, just <em>mpg123</em> followed by the filename, as in:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mpg123 MySong.mp3</pre></td></tr></table></div><p>Which will play the single track from start to finish with output something like this:</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-singletrack.png?resize=597%2C193" alt="mpg123-singletrack" title="mpg123-singletrack" class="lazy aligncenter size-full wp-image-36596" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-singletrack.png?resize=597%2C193" alt="mpg123-singletrack" title="mpg123-singletrack" class="aligncenter size-full wp-image-36596" data-recalc-dims="1" /></noscript></p><h2>Playlists</h2><p>You can also use shell wildcards to send <em>mpg123</em> several files at once. The simplest example is to use the above method, but replace the filename with a quick and easy <em>*.mp3</em>.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mpg123 <span style="color: #000000; font-weight: bold;">*</span>.mp3</pre></td></tr></table></div><p>To set your playlist to shuffle mode, just add a -Z in there</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-playlist.png?resize=600%2C209" alt="mpg123-playlist" title="mpg123-playlist" class="lazy aligncenter size-full wp-image-36598" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/08/mpg123-playlist.png?resize=600%2C209" alt="mpg123-playlist" title="mpg123-playlist" class="aligncenter size-full wp-image-36598" data-recalc-dims="1" /></noscript></p><p>Optionally, you can use normal bash redirect characters to feed <em>mpg123</em> a list of filenames.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>my-remote-machine-address
mpg123  <span style="color: #660033;">-Z</span>  -<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000; font-weight: bold;">&lt;</span> myplaylistfile</pre></td></tr></table></div><p>The -@ flag tells <em>mpg123</em> to treat the following input as a playlist (it&#8217;s the shortened form of &#8211;list), and the < is a standard bash redirect to pull the text out of the file and use it as <em>mpg123</em>&#8216;s input.</p><h2>Remote Play Control</h2><p>This isn&#8217;t exactly a &#8220;feature&#8221; of <em>mpg123</em>, it&#8217;s more like a side effect, but for this author, it&#8217;s the most handy thing about this application. You see, regular readers or Linux pros probably already know about SSH, the fantastically useful remote shell application with 1001 uses. Since SSH gives you a shell on a remote machine, you can run programs on that remote machine. As <em>mpg123</em> is just another shell application, the normal rules apply. If you SSH into a machine and run <em>mpg123</em>, it will play out that machine&#8217;s speakers.</p><p>This is great for me. If I&#8217;m sitting on the porch with my netbook on a fine summer day, I can SSH into my desktop (which is hooked up to a home theater) and run a mpg123 to start my music without ever leaving the chair, or being forced to deal with the low-quality underpowered netbook speakers. Just SSH into the machine and run <em>mpg123</em> as if you were sitting at the keyboard, as in</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>my-remote-machine-address
mpg123  <span style="color: #660033;">-Z</span>  --<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000; font-weight: bold;">&lt;</span> myplaylistfile</pre></td></tr></table></div><h2>Conclusion</h2><p>If you like tag-based music libraries, album art, device synchronization, and other fancy features &#8211; <em>mpg123</em> is clearly not a solution for you. In fact, I doubt there are many people who&#8217;d want to use this as their primary music player on a day-to-day basis, but there are certainly times when it comes in handy. We&#8217;ve explored just a few of them, and I&#8217;m sure our readers can come up with quite a few more. If you&#8217;ve found a great use for <em>mpg123</em>, please let us know in the comments.</p><p>The post <a href="http://www.maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11">How to Play MP3s From The Linux Command Line</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11/feed</wfw:commentRss> <slash:comments>1</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/mpg123-logo.png?resize=190%2C178" medium="image"> <media:title type="html">mpg123-logo</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/08/mpg123-logo.png?resize=190%2C178" medium="image"> <media:title type="html">mpg123-logo</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/mpg123-singletrack.png?resize=597%2C193" medium="image"> <media:title type="html">mpg123-singletrack</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/08/mpg123-singletrack.png?resize=597%2C193" medium="image"> <media:title type="html">mpg123-singletrack</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/mpg123-playlist.png?resize=600%2C209" medium="image"> <media:title type="html">mpg123-playlist</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/08/mpg123-playlist.png?resize=600%2C209" medium="image"> <media:title type="html">mpg123-playlist</media:title> </media:content> </item> <item><title>4 of the Best Economy Games for Linux</title><link>http://www.maketecheasier.com/4-of-the-best-economy-games-for-linux/2011/08/04</link> <comments>http://www.maketecheasier.com/4-of-the-best-economy-games-for-linux/2011/08/04#comments</comments> <pubDate>Thu, 04 Aug 2011 14:58:00 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Gaming]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[games]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=36384</guid> <description><![CDATA[<p>If you&#8217;re anything like me, sometimes you just crave a particular kind of game. Maybe it&#8217;s an FPS, maybe a puzzle game, maybe a new Real Time Strategy. Lately for me, it&#8217;s been games of economy. SimCity and Tycoon type games &#8211; where you build up your business/city to greatness through clever monetary strategy. As [...]</p><p>The post <a href="http://www.maketecheasier.com/4-of-the-best-economy-games-for-linux/2011/08/04">4 of the Best Economy Games for Linux</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxgames-main.jpg?resize=180%2C197" alt="linuxgames-main.png" title="linuxgames-main.png" class="lazy alignleft size-full wp-image-36473" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxgames-main.jpg?resize=180%2C197" alt="linuxgames-main.png" title="linuxgames-main.png" class="alignleft size-full wp-image-36473" data-recalc-dims="1" /></noscript>If you&#8217;re anything like me, sometimes you just crave a particular kind of game. Maybe it&#8217;s an FPS, maybe a puzzle game, maybe a new Real Time Strategy.  Lately for me, it&#8217;s been games of economy. SimCity and Tycoon type games &#8211; where you build up your business/city to greatness through clever monetary strategy. As a Linux user that naturally left the question &#8220;<em>Are there any good economic games for Linux?</em>&#8221; The following should be a helpful (though certainly not exhaustive) guide to a few of the best economic games for Linux.<br /> <span id="more-36384"></span></p><h2>1. OpenTTD</h2><p><a href="http://www.openttd.org/" target="_blank">OpenTTD</a> is a clone of the commercial game Transport Tycoon Deluxe. It&#8217;s extremely detailed, and has remained one of the highest rated Linux games of this type for years. You&#8217;re given a world that&#8217;s populated by several small towns, mines, factories, etc.  Each of them is a source of supply or demand, and your job is to build an efficient and profitable transportation system to keep everyone happy.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-openttd.jpg?resize=525%2C300" alt="linuxeconomygames-openttd" title="linuxeconomygames-openttd" class="lazy aligncenter size-full wp-image-36385" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-openttd.jpg?resize=525%2C300" alt="linuxeconomygames-openttd" title="linuxeconomygames-openttd" class="aligncenter size-full wp-image-36385" data-recalc-dims="1" /></noscript></p><p>The only thing that makes me reluctant to recommend OpenTTD is that it&#8217;s got a very high learning curve. Don&#8217;t expect to sit down the first time and just figure it out. Even a simple thing like connecting a mine to a factory with a rail line involves half a dozen steps involving multiple menus. The website does provide some info for help <a href="http://wiki.openttd.org/Getting_Started" target="_blank">get started</a>, and <a href="http://www.youtube.com/results?search_query=openttd&#038;aq=f" target="_blank">YouTube</a> has a few helper videos as well.</p><h2>2. Unknown Horizons</h2><p>This is a great game that so far hasn&#8217;t received much attention. This is probably due to the fact that it&#8217;s still in Alpha status, and while its quite fun, it is still lacking some features, and comes with a very limited supply of game maps. As a player in <a href="http://www.unknown-horizons.org/" target="_blank">Unknown Horizons</a>, you try to colonize various pieces of land to produce new resources like wool, lumber, and liquor.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-unknownhorizons.jpg?resize=555%2C393" alt="linuxeconomygames-unknownhorizons" title="linuxeconomygames-unknownhorizons" class="lazy aligncenter size-full wp-image-36386" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-unknownhorizons.jpg?resize=555%2C393" alt="linuxeconomygames-unknownhorizons" title="linuxeconomygames-unknownhorizons" class="aligncenter size-full wp-image-36386" data-recalc-dims="1" /></noscript></p><p>The downside here is that to the best of my knowledge, they have not yet implemented a &#8220;smart&#8221; AI to play against. Because of this, the game is fun, but only for a limited time. At some point, you&#8217;ve built and colonized all you want, and there&#8217;s essentially nothing left to do.</p><p>I mention this game because it&#8217;s got great potential, and I&#8217;m hoping some code-savvy readers might try it out and enjoy it enough to pitch in with development.</p><h2>3. CorsixTH</h2><p><a href="http://code.google.com/p/corsix-th/" target="_blank">CorsixTH</a> is somewhere between a clone and a port of the commercial game Theme Hospital. In fact, to get the game running, you need at least some of the game files from Theme Hospital itself. Don&#8217;t let that stop you though, as most of those files can be acquired from the free demo, which is linked from the same page as the CorsixTH <a href="http://code.google.com/p/corsix-th/" target="_blank">download</a>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-corsixth.png?resize=463%2C409" alt="linuxeconomygames-corsixth" title="linuxeconomygames-corsixth" class="lazy aligncenter size-full wp-image-36387" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-corsixth.png?resize=463%2C409" alt="linuxeconomygames-corsixth" title="linuxeconomygames-corsixth" class="aligncenter size-full wp-image-36387" data-recalc-dims="1" /></noscript></p><p>The demo does not include ALL the files found in the normal game, so you may eventually come across something you can&#8217;t do without the original game files.</p><h2>4. LinCity</h2><p>In spite of the name, this is not actually a clone of SimCity, but it is certainly inspired by that game. The idea is quite similar, you build up a small villiage into a thriving metropolis. As your city grows, you unlock new ways to improve it. Even those unfamiliar with SimCity should be able to pick it up without much trouble, but learning to efficiently satisfy your citizens and your wallet can take a lot of practice.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-lincity.jpg?resize=476%2C315" alt="linuxeconomygames-lincity" title="linuxeconomygames-lincity" class="lazy aligncenter size-full wp-image-36388" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/linuxeconomygames-lincity.jpg?resize=476%2C315" alt="linuxeconomygames-lincity" title="linuxeconomygames-lincity" class="aligncenter size-full wp-image-36388" data-recalc-dims="1" /></noscript></p><p>The post <a href="http://www.maketecheasier.com/4-of-the-best-economy-games-for-linux/2011/08/04">4 of the Best Economy Games for Linux</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/4-of-the-best-economy-games-for-linux/2011/08/04/feed</wfw:commentRss> <slash:comments>2</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/linuxgames-main.png.jpg?resize=180%2C197" medium="image"> <media:title type="html">linuxgames-main.png</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/linuxgames-main.png.jpg?resize=180%2C197" medium="image"> <media:title type="html">linuxgames-main.png</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-openttd.jpg?resize=525%2C300" medium="image"> <media:title type="html">linuxeconomygames-openttd</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-openttd.jpg?resize=525%2C300" medium="image"> <media:title type="html">linuxeconomygames-openttd</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-unknownhorizons.jpg?resize=555%2C393" medium="image"> <media:title type="html">linuxeconomygames-unknownhorizons</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-unknownhorizons.jpg?resize=555%2C393" medium="image"> <media:title type="html">linuxeconomygames-unknownhorizons</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-corsixth.png?resize=463%2C409" medium="image"> <media:title type="html">linuxeconomygames-corsixth</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-corsixth.png?resize=463%2C409" medium="image"> <media:title type="html">linuxeconomygames-corsixth</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-lincity.jpg?resize=476%2C315" medium="image"> <media:title type="html">linuxeconomygames-lincity</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/linuxeconomygames-lincity.jpg?resize=476%2C315" medium="image"> <media:title type="html">linuxeconomygames-lincity</media:title> </media:content> </item> <item><title>How to Check for Rootkits on Linux, BSD, and OSX</title><link>http://www.maketecheasier.com/check-for-rootkits-on-linux-bsd-and-osx/2011/07/28</link> <comments>http://www.maketecheasier.com/check-for-rootkits-on-linux-bsd-and-osx/2011/07/28#comments</comments> <pubDate>Thu, 28 Jul 2011 14:58:14 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[malware]]></category> <category><![CDATA[scan]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=35866</guid> <description><![CDATA[<p>Those of us in UNIX-land (and yes, Mac people, that includes you) don&#8217;t often have to deal with malware. There is room for debate about the exact reasons for that, but few would argue that Linux, BSD and OSX get hit as hard or as often as Windows. This does not, however, make us immune [...]</p><p>The post <a href="http://www.maketecheasier.com/check-for-rootkits-on-linux-bsd-and-osx/2011/07/28">How to Check for Rootkits on Linux, BSD, and OSX</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-main.jpg?resize=200%2C140" alt="rootkits-main" title="rootkits-main" class="lazy alignleft size-full wp-image-36111" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-main.jpg?resize=200%2C140" alt="rootkits-main" title="rootkits-main" class="alignleft size-full wp-image-36111" data-recalc-dims="1" /></noscript>Those of us in UNIX-land (and yes, Mac people, that includes you) don&#8217;t often have to deal with malware. There is room for debate about the exact reasons for that, but few would argue that Linux, BSD and OSX get hit as hard or as often as Windows. This does not, however, make us immune to malware. We all download software online, and even those who stick with only their software provider&#8217;s packages can still be afflicted by bugs or security holes which may allow nasty people or software inside. As the old saying goes, &#8220;an ounce of prevention is worth a pound of cure&#8221;. Today we&#8217;d like to show you some ways that you can scan your system to make sure there are no nasty <a href="http://en.wikipedia.org/wiki/Rootkit" target="_blank">rootkits</a> lurking in the shadows.<br /> <span id="more-35866"></span></p><h2>The Quick and Dirty Personal Scan</h2><p>A common technique used by some malware authors is to replace a normal system binary with one that takes additional or alternative actions. Many of them try to protect themselves by making their corrupted versions <em>immutable</em> in an attempt to make the infection harder to remove. Fortunately, this leaves traces behind that can be picked up by normal system tools.</p><p>Use the lsattr command to display the attributes of your system&#8217;s binary files in locations such as<em> /bin</em>, <em>/sbin</em>, and <em>/usr/bin</em>, as shown here.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">lsattr</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin</pre></td></tr></table></div><p>Normal, non-suspicious output should look something like this.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-lsattr.png?resize=580%2C293" alt="rootkits-lsattr" title="rootkits-lsattr" class="lazy aligncenter size-full wp-image-35867" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-lsattr.png?resize=580%2C293" alt="rootkits-lsattr" title="rootkits-lsattr" class="aligncenter size-full wp-image-35867" data-recalc-dims="1" /></noscript></p><p>You may need root privileges to scan some places like <em>/sbin</em>. If the output contains other attributes like <em>s</em>, <em>i</em>, or <em>a</em>, that could possibly be a sign that something is wrong, and you may wish to try a deeper scan as shown below.</p><h2>Scanner #1 &#8211; Chkrootkit</h2><p><a href="http://www.chkrootkit.org/" target="_blank">Chkrootkit</a> is a tool to scan your systems vital files to determine if any of them show signs of known malware. It&#8217;s a group of scripts that use existing system tools and commands to validate your system files and<em> /proc</em> information. Because of this, it&#8217;s recommended than it be run from a live CD, where there can be higher confidence that the base tools have not already been compromised. You can run it from the command line with just</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># You might need &quot;sudo&quot; for root privileges</span>
chkrootkit</pre></td></tr></table></div><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-chkrootkit.png?resize=593%2C223" alt="rootkits-chkrootkit" title="rootkits-chkrootkit" class="lazy aligncenter size-full wp-image-35869" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-chkrootkit.png?resize=593%2C223" alt="rootkits-chkrootkit" title="rootkits-chkrootkit" class="aligncenter size-full wp-image-35869" data-recalc-dims="1" /></noscript></p><p>but since <em>chkrootkit</em> does not create a log file by default, I&#8217;d recommend redirecting the output to a log file, like with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">chkrootkit <span style="color: #000000; font-weight: bold;">&gt;</span> mylogfile.txt</pre></td></tr></table></div><p>and when it finishes, just open up the log file in your text editor of choice.</p><h2>Scanner #2 &#8211; Rootkit Hunter (rkhunter)</h2><p><a href="http://www.rootkit.nl/projects/rootkit_hunter.html" target="_blank">Rootkit Hunter</a> acts a lot like <em>chkrootkit</em>, but bases much of its functionality on hash checks. The software includes known good SHA-1 hashes of common system files, and if it finds that yours differ, it will issue an error or warning as appropriate. Rootkit Hunter could also be called more thorough than <em>chkrootkit</em>, as it includes additional checks regarding network status, kernel modules and other pieces that <em>chkrootkit</em> does not scan.</p><p>To start a normal local scan, just run</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># You might need &quot;sudo&quot; for root privileges</span>
rkhunter <span style="color: #660033;">-c</span></pre></td></tr></table></div><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-rkhunter1.png?resize=600%2C322" alt="rootkits-rkhunter" title="rootkits-rkhunter1" class="lazy aligncenter size-full wp-image-35871" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-rkhunter1.png?resize=600%2C322" alt="rootkits-rkhunter" title="rootkits-rkhunter1" class="aligncenter size-full wp-image-35871" data-recalc-dims="1" /></noscript></p><p>When it&#8217;s completed, you&#8217;ll be shown a summary with the results of your scan.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-rkhunter2.png?resize=558%2C364" alt="rootkits-rkhunter2" title="rootkits-rkhunter2" class="lazy aligncenter size-full wp-image-35872" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/rootkits-rkhunter2.png?resize=558%2C364" alt="rootkits-rkhunter2" title="rootkits-rkhunter2" class="aligncenter size-full wp-image-35872" data-recalc-dims="1" /></noscript></p><p>Rootkit Hunter does create a log file by default, and saves it to <em>/var/log/rkhunter.log</em>.</p><h2>Conclusion</h2><p>Be warned &#8211; both of these applications, as well as the &#8220;manual&#8221; method, may produce false positives. If you get a positive result, investigate it thoroughly before taking any action. Hopefully, one of these methods can help you identify a threat before it becomes a problem. If you&#8217;ve got any other suggestions for ways to detect nasty files or appliations, please let us know in the comments below.</p><p>Image credit: <a href="http://www.flickr.com/photos/rykerstribe/3222969466/" target="_blank" rel="nofollow">rykerstribe</a></p><p>The post <a href="http://www.maketecheasier.com/check-for-rootkits-on-linux-bsd-and-osx/2011/07/28">How to Check for Rootkits on Linux, BSD, and OSX</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/check-for-rootkits-on-linux-bsd-and-osx/2011/07/28/feed</wfw:commentRss> <slash:comments>3</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/rootkits-main.jpg?resize=200%2C140" medium="image"> <media:title type="html">rootkits-main</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/rootkits-main.jpg?resize=200%2C140" medium="image"> <media:title type="html">rootkits-main</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/rootkits-lsattr.png?resize=580%2C293" medium="image"> <media:title type="html">rootkits-lsattr</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/rootkits-lsattr.png?resize=580%2C293" medium="image"> <media:title type="html">rootkits-lsattr</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/rootkits-chkrootkit.png?resize=593%2C223" medium="image"> <media:title type="html">rootkits-chkrootkit</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/rootkits-chkrootkit.png?resize=593%2C223" medium="image"> <media:title type="html">rootkits-chkrootkit</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/rootkits-rkhunter1.png?resize=600%2C322" medium="image"> <media:title type="html">rootkits-rkhunter1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/rootkits-rkhunter1.png?resize=600%2C322" medium="image"> <media:title type="html">rootkits-rkhunter1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/rootkits-rkhunter2.png?resize=558%2C364" medium="image"> <media:title type="html">rootkits-rkhunter2</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/rootkits-rkhunter2.png?resize=558%2C364" medium="image"> <media:title type="html">rootkits-rkhunter2</media:title> </media:content> </item> <item><title>Living with Fedora &#8211; A Debian/Ubuntu User&#8217;s Take on Fedora 15</title><link>http://www.maketecheasier.com/living-with-fedora-15/2011/07/21</link> <comments>http://www.maketecheasier.com/living-with-fedora-15/2011/07/21#comments</comments> <pubDate>Thu, 21 Jul 2011 14:58:00 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[fedora]]></category> <category><![CDATA[gnome 3]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=35662</guid> <description><![CDATA[<p>I&#8217;ve been a die-hard Debian fan for about 10 years, and I&#8217;ve written several articles on the subject. That said, most of our Linux-savvy readers are Ubuntu users, so that&#8217;s been my main desktop OS for as long as I&#8217;ve been a MakeTechEasier writer. Ubuntu has always been fine, and generally got the job done [...]</p><p>The post <a href="http://www.maketecheasier.com/living-with-fedora-15/2011/07/21">Living with Fedora &#8211; A Debian/Ubuntu User&#8217;s Take on Fedora 15</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-logo.jpg?resize=180%2C173" alt="usingfed15-logo" title="usingfed15-logo" class="lazy alignleft size-full wp-image-35701" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-logo.jpg?resize=180%2C173" alt="usingfed15-logo" title="usingfed15-logo" class="alignleft size-full wp-image-35701" data-recalc-dims="1" /></noscript>I&#8217;ve been a die-hard Debian fan for about 10 years, and I&#8217;ve written several <a href="http://maketecheasier.com/become-an-apt-guru/2009/02/24">articles</a> <a href="http://maketecheasier.com/create-custom-debian-live-cd-through-the-web/2010/09/14">on</a> <a href="http://maketecheasier.com/how-to-customize-your-startup-routine-in-debian/2009/04/08">the</a> <a href="http://maketecheasier.com/perform-debian-50-network-install/2009/02/20">subject</a>. That said, most of our Linux-savvy readers are Ubuntu users, so that&#8217;s been my main desktop OS for as long as I&#8217;ve been a MakeTechEasier writer. Ubuntu has always been fine, and generally got the job done without hassle, however this past release (11.04, Natty Narwhal) has been the cause of a rift among many Ubuntu users. This release pushed Unity, their homegrown desktop environment, front and center. Like many others, I&#8217;ve never managed to get a feel for Unity. After weighing my options, I decided to jump ship and try out Fedora 15. It&#8217;s the first Fedora I&#8217;ve tried since Core 1, and things certainly have changed.<br /> <span id="more-35662"></span></p><h2>Basic Differences</h2><p>We already spent come time <a href="http://maketecheasier.com/fedora-15-vs-ubuntu-natty-narwhal-the-battle-for-your-next-desktop/2011/03/17">comparing Ubuntu 11.04 and Fedora 15</a>, so I won&#8217;t dwell on that here. In short, both have decided to move beyond the traditional Gnome 2 desktop and move into hardware-accelerated modern setups. Ubuntu created Unity and aimed it squarely at casual computer users.</p><div id="attachment_35663" class="wp-caption aligncenter" style="width: 610px"><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-unityexample.jpg?resize=600%2C352" alt="Ubuntu Unity" title="usingfed15-unityexample" class="lazy size-full wp-image-35663" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-unityexample.jpg?resize=600%2C352" alt="Ubuntu Unity" title="usingfed15-unityexample" class="size-full wp-image-35663" data-recalc-dims="1" /></noscript><p class="wp-caption-text">Ubuntu Unity</p></div><p>whereas Fedora bet their farm on Gnome 3, a newly redesigned and radically different Gnome desktop.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-gnome3example.jpg?resize=600%2C375" alt="usingfed15-gnome3example" title="usingfed15-gnome3example" class="lazy aligncenter size-full wp-image-35665" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/usingfed15-gnome3example.jpg?resize=600%2C375" alt="usingfed15-gnome3example" title="usingfed15-gnome3example" class="aligncenter size-full wp-image-35665" data-recalc-dims="1" /></noscript></p><p>It&#8217;s certainly <a href="http://maketecheasier.com/gnome-shell-your-next-desktop-environment/2009/09/09">no</a> <a href="http://maketecheasier.com/gnome-shell-is-almost-ready-to-rock-your-desktop/2011/02/17">secret</a> that this author prefers Gnome 3, and that was a major factor in my decision to try Fedora. It&#8217;s among the first major distributions to put their full weight behind this relatively new project.</p><p>There are of course many differences between Ubuntu and Fedora, but this review will focus on the desktop user experience.</p><h2>The Good</h2><p>As mentioned above, the most noticeable difference between Fedora and Ubuntu, or even Fedora 15 compared to earlier versions, is that it now runs the Gnome 3 desktop. This is a near-complete rewrite of the Gnome interface and many of its underlying libraries. It takes advantage of hardware-based 3d acceleration to provide extraordinarily smooth effects when creating, destroying, or moving Windows. In fact, it&#8217;s this author&#8217;s opinion that Gnome 3 has mastered this aspect better than any other desktop interface from any operating system. There are no visual events at all in Gnome 3 that feel jerky or sudden &#8211; absolutely everything is smooth and cozy.</p><p>Next up for positive traits is the fact that Gnome 3 can be scripted and themed with&#8230; wait for it&#8230; <a href="https://live.gnome.org/GnomeShell/Development">JavaScript and CSS</a>! This means that thousands of developers can immediately apply these popular web technologies to their desktop, customizing it any way they wish using skills they already possess.</p><h2>The Bad</h2><p>It&#8217;s new. It&#8217;s really new, and that has some consequences. Most notably, it means that Gnome 3 lacks a lot of the features users have come to expect from Gnome 2, such as integrated chat and social features and many system configuration options.</p><p>Regarding performance, that&#8217;s a little bit tricky. I am uncertain whether the problem is caused by Gnome itself, or perhaps some misbehaving application, but on my desktop (and I&#8217;m not the only one, judging by some posts I&#8217;ve found online) the system seems to get progressively slower the longer it&#8217;s used. It&#8217;s not normal to have to reboot a Linux system every day, especially to fix a problem like this, but until I&#8217;m able to determine the cause of the problem, I can&#8217;t rest the blame solely on Gnome.</p><p>One thing I can clearly define as a software problem is the apparent trouble Fedora has with saving my application preferences. Google Chrome is repeatedly insisting that it&#8217;s not the default browser, and Nautllus refuses to accept any changes to its application associations. No matter how many times I tell it to use VLC for video, it always defaults back to the built-in player next time Nautilus is opened. This is true for all file types I have attempted to change.</p><p>Regarding workspace management, I&#8217;m torn. The initial builds of Gnome Shell that we originally reviewed <a href="http://maketecheasier.com/gnome-shell-your-next-desktop-environment/2009/09/09">here</a> used an excellent grid-based layout (similar to what you can do with <a href="http://maketecheasier.com/extreme-desktop-makeover-josh-edition/2010/04/22">Gnome 2 and Compiz</a>) that I adored, and that alone was just about enough to make me fall in love with this desktop setup.</p><p><img alt="" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2009/09/gnome-shell-multi-desktop.jpg?resize=577%2C361" title="Early Gnome Shell workspace setup" class="lazy aligncenter" data-recalc-dims="1" /><noscript><img alt="" src="http://i1.wp.com/imagecdn5.maketecheasier.com/2009/09/gnome-shell-multi-desktop.jpg?resize=577%2C361" title="Early Gnome Shell workspace setup" class="aligncenter" data-recalc-dims="1" /></noscript></p><p>Later builds moved it to a linear approach, and eventually landed on an <em>automatic</em> linear approach. Personally I can&#8217;t stand it when my PC makes such decisions for me, so my first task was to set about learning how to <a href="http://maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14">disable that functionality</a>.</p><p>If extensions were available allowing users to choose which workspace management method they prefer, this would instantly because one of Gnome 3&#8242;s killer features. It is my opinion that no other desktop environment offers matching workspace management capability. Unity is pretty good at that, but I&#8217;ve seen Gnome do better.</p><h2>Conclusion</h2><p>If I was to sum up my opinion on Fedora 15 in one sentence, it&#8217;d have to be &#8220;<em>Rough, but with great potential</em>&#8220;. Gnome 3 is still a baby, and Fedora took a bold step by pushing it to the forefront, and I applaud them for that. As cozy as it may be, there&#8217;s still a whole lot of polish left to be done. The front-end is still rough, and the back-end doesn&#8217;t seem to have yet caught up with all the changes. If Fedora can manage to take the successes in this release (which are many) and smooth out some of those rough spots (which are also many), then Fedora 16 is likely to pull a lot of users away from Ubuntu permanently. From the looks of it, I&#8217;ll be one of them.</p><p>Unity image credit &#8211; <a href="http://www.flickr.com/photos/andrewcurrie/" target="_blank" rel="nofollow">Andrew Currie</a></p><p>The post <a href="http://www.maketecheasier.com/living-with-fedora-15/2011/07/21">Living with Fedora &#8211; A Debian/Ubuntu User&#8217;s Take on Fedora 15</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/living-with-fedora-15/2011/07/21/feed</wfw:commentRss> <slash:comments>45</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/usingfed15-logo.jpg?resize=180%2C173" medium="image"> <media:title type="html">usingfed15-logo</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/usingfed15-logo.jpg?resize=180%2C173" medium="image"> <media:title type="html">usingfed15-logo</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/usingfed15-unityexample.jpg?resize=600%2C352" medium="image"> <media:title type="html">Ubuntu Unity</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/07/usingfed15-unityexample.jpg?resize=600%2C352" medium="image"> <media:title type="html">Ubuntu Unity</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/usingfed15-gnome3example.jpg?resize=600%2C375" medium="image"> <media:title type="html">usingfed15-gnome3example</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/usingfed15-gnome3example.jpg?resize=600%2C375" medium="image"> <media:title type="html">usingfed15-gnome3example</media:title> </media:content> <media:content url="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" medium="image"> <media:title type="html">Early Gnome Shell workspace setup</media:title> </media:content> <media:content url="http://i1.wp.com/imagecdn5.maketecheasier.com/2009/09/gnome-shell-multi-desktop.jpg?resize=577%2C361" medium="image"> <media:title type="html">Early Gnome Shell workspace setup</media:title> </media:content> </item> <item><title>How to Disable Automatic Workspaces in Gnome 3 (And Other Shell Tweaks)</title><link>http://www.maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14</link> <comments>http://www.maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14#comments</comments> <pubDate>Thu, 14 Jul 2011 14:58:23 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[gnome 3]]></category> <category><![CDATA[workspace]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=35393</guid> <description><![CDATA[<p>As we&#8217;ve mentioned several times before, a few of us here at MakeTechEasier are big fans of Gnome 3. Sadly, since the project is still fairly young, it&#8217;s not nearly as configurable or feature-rich as its 2.x cousins. At the moment, the standard install provides no quick and obvious way to change many of the [...]</p><p>The post <a href="http://www.maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14">How to Disable Automatic Workspaces in Gnome 3 (And Other Shell Tweaks)</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-small.jpg?resize=200%2C190" alt="gnome3workspaces-small" title="gnome3workspaces-small" class="lazy alignleft size-full wp-image-35401" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-small.jpg?resize=200%2C190" alt="gnome3workspaces-small" title="gnome3workspaces-small" class="alignleft size-full wp-image-35401" data-recalc-dims="1" /></noscript>As we&#8217;ve mentioned <a href="http://maketecheasier.com/gnome-shell-your-next-desktop-environment/2009/09/09">several</a> <a href="http://maketecheasier.com/gnome-shell-is-almost-ready-to-rock-your-desktop/2011/02/17">times</a> <a href="http://maketecheasier.com/fedora-15-vs-ubuntu-natty-narwhal-the-battle-for-your-next-desktop/2011/03/17">before</a>, a few of us here at MakeTechEasier are big fans of Gnome 3. Sadly, since the project is still fairly young, it&#8217;s not nearly as configurable or feature-rich as its 2.x cousins. At the moment, the standard install provides no quick and obvious way to change many of the settings, so applications like the <a href="https://live.gnome.org/GnomeTweakTool">Gnome Tweak Tool</a> have been created to give users a few more options. Even those tools, however, still leave many desirable options out &#8211; such as the ability to manage your workspaces by hand. Initial builds of Gnome Shell showed a linear or grid-based approach that this author, for one, prefers to the current automatic approach. Here&#8217;s how to get some of that back.<br /> <span id="more-35393"></span></p><h2>The Extensions</h2><p>The Gnome developers expected that users would want to customize the shell in unpredictable ways, so they made just about everything in the system extensible through JavaScript and CSS. I hope you web developers out there take notice of this, because it gives your desktop a LOT of potential. The extensions we&#8217;re going to be using here come from the Frippery pack, which can be downloaded <a href="http://intgat.tigress.co.uk/rmy/extensions/index.html" target="_blank">here</a>.</p><p>It contains more than just the ability to disable the auto workspace management, it&#8217;s intended to give back some features that Gnome 2 users might miss. There are additional extensions to add an Applications menu, Shutdown menu, and lower panel.</p><p>Fedora 15 users will find an RPM at the above link, other should be warned that the files in the tarball may not extract quite the way you&#8217;d expect. The compressed file contains not just a single directory with the extension files, but <strong>a full directory tree that expects to be extracted from your home directory</strong>, as shown here:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># If the file is in, say, your Downloads directory</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> Downloads
<span style="color: #666666; font-style: italic;"># Filename may vary</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> gnome-shell-frippery-0.2.3.tgz ~
<span style="color: #7a0874; font-weight: bold;">cd</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> gnome-shell-frippery-0.2.3.tgz</pre></td></tr></table></div><h2>Activating/Deactivating Extensions</h2><p>As mentioned earlier, there is an application called Gnome Tweak Tool that can provide a few configuration options. One feature is that it lets you easily activate and deactivate shell extensions. If your distribution natively supports Gnome 3 (such as Fedora 15), then you may be able to find it in your repositories.</p><p>If not, then you&#8217;ll have to do it manually. Use your normal package manager to install <em>git</em>, and then issue the following commands at your terminal:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git clone</span> http:<span style="color: #000000; font-weight: bold;">//</span>git.gnome.org<span style="color: #000000; font-weight: bold;">/</span>browse<span style="color: #000000; font-weight: bold;">/</span>gnome-tweak-tool
<span style="color: #7a0874; font-weight: bold;">cd</span> gnome-tweak-tool
.<span style="color: #000000; font-weight: bold;">/</span>autogen.sh
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div><p>If all goes well you should be able to launch the program and have full control over your extensions.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-tweaktool.png?resize=642%2C514" alt="gnome3workspaces-tweaktool" title="gnome3workspaces-tweaktool" class="lazy aligncenter size-full wp-image-35397" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-tweaktool.png?resize=642%2C514" alt="gnome3workspaces-tweaktool" title="gnome3workspaces-tweaktool" class="aligncenter size-full wp-image-35397" data-recalc-dims="1" /></noscript></p><p>Regarding the auto-workspaces &#8211; if you want to set a specific number to remain permanently, you&#8217;ve got to first use the builtin Auto functionality to create them, and once you have the desired number, use the Tweak tool to disable it. Workpaces will no longer be added or removed by Gnome.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-done.jpg?resize=600%2C570" alt="gnome3workspaces-done" title="gnome3workspaces-done" class="lazy aligncenter size-full wp-image-35402" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/07/gnome3workspaces-done.jpg?resize=600%2C570" alt="gnome3workspaces-done" title="gnome3workspaces-done" class="aligncenter size-full wp-image-35402" data-recalc-dims="1" /></noscript></p><h2>One Last Thing</h2><p>While it serves its purpose, this is still a hack. It provides no way to add or remove manually, just enabling and disabling the Auto feature. Many Gnome Shell users, this author included, would love the option to use any of the previous workspace systems, as shown <a href="http://maketecheasier.com/gnome-shell-is-almost-ready-to-rock-your-desktop/2011/02/17">here</a>. To me, all the earlier workspace management designs were more usable, particularly the original grid. This is my plea to the Gnome developers or any JavaScript gurus &#8211; since all those approaches have, at some point, been implemented in Gnome 3, could we please, pretty please, have them in the form of extensions?</p><p>The post <a href="http://www.maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14">How to Disable Automatic Workspaces in Gnome 3 (And Other Shell Tweaks)</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/disable-automatic-workspaces-in-gnome-3/2011/07/14/feed</wfw:commentRss> <slash:comments>3</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-small.jpg?resize=200%2C190" medium="image"> <media:title type="html">gnome3workspaces-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-small.jpg?resize=200%2C190" medium="image"> <media:title type="html">gnome3workspaces-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-tweaktool.png?resize=642%2C514" medium="image"> <media:title type="html">gnome3workspaces-tweaktool</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-tweaktool.png?resize=642%2C514" medium="image"> <media:title type="html">gnome3workspaces-tweaktool</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-done.jpg?resize=600%2C570" medium="image"> <media:title type="html">gnome3workspaces-done</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/07/gnome3workspaces-done.jpg?resize=600%2C570" medium="image"> <media:title type="html">gnome3workspaces-done</media:title> </media:content> </item> <item><title>The 7 Best Minecraft Editors and Utilities for Linux</title><link>http://www.maketecheasier.com/7-best-minecraft-editors-and-utilities-for-linux/2011/07/07</link> <comments>http://www.maketecheasier.com/7-best-minecraft-editors-and-utilities-for-linux/2011/07/07#comments</comments> <pubDate>Thu, 07 Jul 2011 14:58:18 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Gaming]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[editor]]></category> <category><![CDATA[minecraft]]></category> <category><![CDATA[Utilities]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=30073</guid> <description><![CDATA[<p>For an independent game with no storyline, no tutorial, and graphics that make Windows 95 look slick, Minecraft has developed an amazing following. Who could have ever predicted that shuffling virtual cubes around could be so fun and so full of possibilities? And if, somehow, you find yourself running out of ideas for your virtual [...]</p><p>The post <a href="http://www.maketecheasier.com/7-best-minecraft-editors-and-utilities-for-linux/2011/07/07">The 7 Best Minecraft Editors and Utilities for Linux</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img class="lazy alignleft size-full wp-image-30074" title="minecrafteditors-small" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-small.jpg?resize=200%2C147" alt="minecrafteditors-small" data-recalc-dims="1" /><noscript><img class="alignleft size-full wp-image-30074" title="minecrafteditors-small" src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-small.jpg?resize=200%2C147" alt="minecrafteditors-small" data-recalc-dims="1" /></noscript>For an independent game with no storyline, no tutorial, and graphics that make Windows 95 look slick, Minecraft has developed an amazing following. Who could have ever predicted that shuffling virtual cubes around could be so fun and so full of possibilities? And if, somehow, you find yourself running out of ideas for your virtual world, many clever folks have come up with tools to improve, extend, and just plain cheat. While there are dozens of such tools out there, not all of them are Linux friendly. Of those, several seem to do the same job. We decided to run through all the Minecraft utilities for Linux we could get our hands on, several from each category, to find out what works and what&#8217;s better left to the Creepers.<br /> <span id="more-30073"></span><br /> Note: <em>While there are many fine Minecraft utilities for Windows that may work through Wine or other such tools, this article focuses on those which are specifically listed as supporting Linux. Additionally, this will not cover in-game mods, though we&#8217;d be happy to provide such a review if there is reader interest.</em></p><h2>Mappers/Viewers</h2><h3><a href="http://triangularpixels.net/games/tectonicus/">Tectonicus</a></h3><p>Tectonicus offers several impressive features, most notably the high-detail zoomable rendering and integration with Google Maps. With setup it can work with your server to show player location on the map in near real time, allowing you a virtual window into your world.</p><p><img class="lazy aligncenter size-full wp-image-30077" title="minecrafteditors-tec" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-tec.jpg?resize=577%2C438" alt="minecrafteditors-tec" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30077" title="minecrafteditors-tec" src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-tec.jpg?resize=577%2C438" alt="minecrafteditors-tec" data-recalc-dims="1" /></noscript></p><p>Be warned though. With all the detail and layers of zoomability, the initial rendering of the map is <em>sloooooooowwwwww</em>. On the Core 2 Duo test machine used for this article, it took almost 30 minutes for a fairly small map.</p><h3><a href="http://apocalyptech.com/minecraft/xray/">Minecraft X-Ray</a></h3><p>A fine example of software that does one thing and does it well.  Minecraft X-Ray lets you fly around, over and under your world. The particularly useful feature is that you can use the function keys to specify certain block types to highlight. These blocks will pulse with light, making it extremely easy to spot their locations.</p><p><img class="lazy aligncenter size-full wp-image-30078" title="minecrafteditors-xray" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-xray.jpg?resize=577%2C433" alt="minecrafteditors-xray" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30078" title="minecrafteditors-xray" src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-xray.jpg?resize=577%2C433" alt="minecrafteditors-xray" data-recalc-dims="1" /></noscript></p><h2>Map Editors</h2><h3><a href="http://davidvierra.com/mcedit.html">MCEdit</a></h3><p>While MCEdit&#8217;s interface takes some getting used to, it is undoubtedly a very useful map editor. It includes brushes for manual edits as well as 3D region selection for fills and clones. As a bonus, MCEdit also lets you edit a few of the properties of your world such as player location and spawn point.</p><p>To run MCEdit, you may need to also install PyGame and OpenGL bindings for Python. Ubuntu users can do this from the Software Center or from the command line with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> python-pygame python-opengl</pre></td></tr></table></div><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/mceditors-mcedit.jpg?resize=469%2C345" alt="mceditors-mcedit" title="mceditors-mcedit" class="lazy aligncenter size-full wp-image-34996" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/mceditors-mcedit.jpg?resize=469%2C345" alt="mceditors-mcedit" title="mceditors-mcedit" class="aligncenter size-full wp-image-34996" data-recalc-dims="1" /></noscript></p><p>Unfortunately, MCEdit seems to be the only full featured map editor for Linux that supports the current map format (McRegion). If any readers are aware of another functional editor, please let us know in the comments!</p><h3>Skinning</h3><h3><a href="http://minecraftbr.com/novaskin/">Novaskin</a></h3><p>This is a web-based skin editor for Minecraft.  Not only can you draw your own as needed, but it also includes a library of skins already made by other users. Everything from zombie suits to Star Trek uniforms is already there and can be used in your own game.</p><p><img class="lazy aligncenter size-full wp-image-30088" title="minecrafteditors-novaskin" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-novaskin.jpg?resize=280%2C515" alt="minecrafteditors-novaskin" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30088" title="minecrafteditors-novaskin" src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-novaskin.jpg?resize=280%2C515" alt="minecrafteditors-novaskin" data-recalc-dims="1" /></noscript></p><h3><a href="http://www.minecraftforum.net/topic/3796-skinedit-new-version-13-april-alpha-3-pre-7/">SkinEdit</a></h3><p>Where Novaskin is the fancy new web skinner, SkinEdit is the tried-and-true local editor. You&#8217;re given a grid with pixel space for all body textures, and whatever you paint is immediately apparent on the comically running preview person.</p><p><img class="lazy aligncenter size-full wp-image-30093" title="minecrafteditors-skinedit" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-skinedit.png?resize=577%2C528" alt="minecrafteditors-skinedit" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30093" title="minecrafteditors-skinedit" src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-skinedit.png?resize=577%2C528" alt="minecrafteditors-skinedit" data-recalc-dims="1" /></noscript></p><p>SkinEdit hasn&#8217;t been updated in a while, but (so far) Minecraft&#8217;s skin system doesn&#8217;t seem to have changed in the mean time.</p><h2>Player/Inventory Editors</h2><h3><a href="http://www.minecraftforum.net/topic/38214-invgrid-inventory-editor-os-x-linux-may-30-2011/">InvGrid</a></h3><p>This is a simple, no-nonsense approach to inventory control. Each toolbar and inventory slot is accounted for and you can set the value of each as you wish. The other tabs of the program allow you to define scripts and set game properties such as time of day and player position.</p><p><img class="lazy aligncenter size-full wp-image-30097" title="minecrafteditors-invgrid" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-invgrid.png?resize=570%2C446" alt="minecrafteditors-invgrid" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30097" title="minecrafteditors-invgrid" src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-invgrid.png?resize=570%2C446" alt="minecrafteditors-invgrid" data-recalc-dims="1" /></noscript></p><h3><a href="http://www.electricmonk.nl/Programmings/MCPlayerEdit">MCPlayerEdit</a></h3><p>MCPlayerEdit, a console application, can do many of the same things the best GUI applications can do, and a bit more. With this application you can set bookmarked locations, change time of day, warp between zones, and of course edit your inventory.</p><p><img class="lazy aligncenter size-full wp-image-30095" title="minecrafteditors-mcplayeredit" src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-mcplayeredit.png?resize=502%2C326" alt="minecrafteditors-mcplayeredit" data-recalc-dims="1" /><noscript><img class="aligncenter size-full wp-image-30095" title="minecrafteditors-mcplayeredit" src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/02/minecrafteditors-mcplayeredit.png?resize=502%2C326" alt="minecrafteditors-mcplayeredit" data-recalc-dims="1" /></noscript></p><h2>Bonus &#8211; <a href="http://minecraftstructureplanner.com/">Minecraft Structure Planner</a></h2><p>Ever start a new project, then realize partway through that it&#8217;s going to take a LOT more work than you expected? If so, you&#8217;ll probably appreciate the value in the Minecraft Structure Generator. This handy little tool does just what it says &#8211; it helps you plan out structures and keeps track of all the materials you&#8217;ll need to build it. It&#8217;s even got prebuilt templates for things like suspension bridges, domes, and mazes.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/mceditors-planner.jpg?resize=570%2C466" alt="mceditors-planner" title="mceditors-planner" class="lazy aligncenter size-full wp-image-35002" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/mceditors-planner.jpg?resize=570%2C466" alt="mceditors-planner" title="mceditors-planner" class="aligncenter size-full wp-image-35002" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>What we&#8217;ve included here is only a handful of the applications available to enhance this already great game. Combining several of them can let players accomplish amazing things. If you think we&#8217;ve missed any of the best utilities, or just want to show off some of your creations, sound off in the comments.</p><p>The post <a href="http://www.maketecheasier.com/7-best-minecraft-editors-and-utilities-for-linux/2011/07/07">The 7 Best Minecraft Editors and Utilities for Linux</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/7-best-minecraft-editors-and-utilities-for-linux/2011/07/07/feed</wfw:commentRss> <slash:comments>0</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-small.jpg?resize=200%2C147" medium="image"> <media:title type="html">minecrafteditors-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-small.jpg?resize=200%2C147" medium="image"> <media:title type="html">minecrafteditors-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-tec.jpg?resize=577%2C438" medium="image"> <media:title type="html">minecrafteditors-tec</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-tec.jpg?resize=577%2C438" medium="image"> <media:title type="html">minecrafteditors-tec</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-xray.jpg?resize=577%2C433" medium="image"> <media:title type="html">minecrafteditors-xray</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-xray.jpg?resize=577%2C433" medium="image"> <media:title type="html">minecrafteditors-xray</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/mceditors-mcedit.jpg?resize=469%2C345" medium="image"> <media:title type="html">mceditors-mcedit</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/mceditors-mcedit.jpg?resize=469%2C345" medium="image"> <media:title type="html">mceditors-mcedit</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-novaskin.jpg?resize=280%2C515" medium="image"> <media:title type="html">minecrafteditors-novaskin</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-novaskin.jpg?resize=280%2C515" medium="image"> <media:title type="html">minecrafteditors-novaskin</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-skinedit.png?resize=577%2C528" medium="image"> <media:title type="html">minecrafteditors-skinedit</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-skinedit.png?resize=577%2C528" medium="image"> <media:title type="html">minecrafteditors-skinedit</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-invgrid.png?resize=570%2C446" medium="image"> <media:title type="html">minecrafteditors-invgrid</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-invgrid.png?resize=570%2C446" medium="image"> <media:title type="html">minecrafteditors-invgrid</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-mcplayeredit.png?resize=502%2C326" medium="image"> <media:title type="html">minecrafteditors-mcplayeredit</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/02/minecrafteditors-mcplayeredit.png?resize=502%2C326" medium="image"> <media:title type="html">minecrafteditors-mcplayeredit</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/mceditors-planner.jpg?resize=570%2C466" medium="image"> <media:title type="html">mceditors-planner</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/mceditors-planner.jpg?resize=570%2C466" medium="image"> <media:title type="html">mceditors-planner</media:title> </media:content> </item> <item><title>The Beginner Guide to Writing Linux Shell Scripts</title><link>http://www.maketecheasier.com/write-linux-shell-scripts/2011/06/30</link> <comments>http://www.maketecheasier.com/write-linux-shell-scripts/2011/06/30#comments</comments> <pubDate>Thu, 30 Jun 2011 14:58:29 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[script]]></category> <category><![CDATA[shell]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=34658</guid> <description><![CDATA[<p>For starters &#8211; let&#8217;s clarify that headline. Linux has more than one possible shell, and scripting any of them is a subject that can easily pack a full book. What we&#8217;re going to be doing is covering the basic elements of a bash script. If you don&#8217;t know what shell you&#8217;re using, it&#8217;s probably bash. [...]</p><p>The post <a href="http://www.maketecheasier.com/write-linux-shell-scripts/2011/06/30">The Beginner Guide to Writing Linux Shell Scripts</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-small.png?resize=200%2C150" alt="bashscripting-small" title="bashscripting-small" class="lazy alignleft size-full wp-image-34667" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-small.png?resize=200%2C150" alt="bashscripting-small" title="bashscripting-small" class="alignleft size-full wp-image-34667" data-recalc-dims="1" /></noscript>For starters &#8211; let&#8217;s clarify that headline. Linux has more than one possible shell, and scripting any of them is a subject that can easily pack a full book. What we&#8217;re going to be doing is covering the basic elements of a <em>bash</em> script. If you don&#8217;t know what shell you&#8217;re using, it&#8217;s probably <em>bash</em>. The process will be familiar to anyone who&#8217;s worked with DOS&#8217;s <em>bat</em> files, it&#8217;s essentially the same concept. You just put a series of commands into a text file and run it. The difference comes from the fact that bash scripts can do a LOT more than batch files. In fact, bash scripting isn&#8217;t all that far from a full-fledged language like Python. Today we&#8217;ll be covering a few basics like input, output, arguments and variables.<br /> <span id="more-34658"></span><br /> <strong>Note</strong>: <em>If we want to get really technical, bash is not a Linux-only shell.  Much (though possibly not all) of the following would apply to any UNIX-type system, including Mac OSX and the BSDs.</em></p><h2>Hello World</h2><p>It&#8217;s tradition to begin a new &#8220;language&#8221; by creating a simple script to output the words &#8220;Hello World!&#8221;. That&#8217;s easy enough, just open your favorite text editor and enter the following:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> Hello World<span style="color: #000000; font-weight: bold;">!</span></pre></td></tr></table></div><p>With only two lines, it couldn&#8217;t be a whole lot simpler, but that first line, <em>#!/bin/bash</em>, may not be immediately obvious. The first two characters (often called a hashbang) are a special signal. It tells Linux that this script should be run through the /bin/bash shell, as opposed to the C shell or Korn shell or anything else you might have installed. Without it, there&#8217;s no easy way for Linux to tell exactly what type of shell script this is. A Python script, for example, would likely start with something like <em>#!/usr/bin/python</em>.</p><p>After that is just the <em>echo</em> statement, which prints the words after it to the terminal (technically, to <em>standard output</em>).</p><h2>Running Your Script</h2><p>As is often the case with Linux, there are multiple ways to do this job. The most basic way would be to call bash manually and feed it the script file, as in</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#Filename can be anything, .sh is a common practice for shell scripts.</span>
<span style="color: #c20cb9; font-weight: bold;">bash</span> myscript.sh</pre></td></tr></table></div><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-hello1.png?resize=246%2C66" alt="bashscripting-hello1" title="bashscripting-hello1" class="lazy aligncenter size-full wp-image-34660" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-hello1.png?resize=246%2C66" alt="bashscripting-hello1" title="bashscripting-hello1" class="aligncenter size-full wp-image-34660" data-recalc-dims="1" /></noscript></p><p>Clever readers may be thinking &#8220;<em>But wait, didn&#8217;t we put that hashbang thing in so it would know to use bash?  Why did I have to run bash manually?</em>&#8221; and the answer is &#8220;<em>You didn&#8217;t</em>&#8220;. At least, you wouldn&#8217;t have if we had taken a moment to make the script executable on its own.</p><p>In the previous example, we launched bash and sent it the script. Now we&#8217;ll save ourselves some future time by making the script executable so we dont need to run bash manually. That&#8217;s as easy as a single command.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x myscript.sh</pre></td></tr></table></div><p>And now it can be run with the filename directly.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-hello2.png?resize=243%2C109" alt="bashscripting-hello2" title="bashscripting-hello2" class="lazy aligncenter size-full wp-image-34661" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-hello2.png?resize=243%2C109" alt="bashscripting-hello2" title="bashscripting-hello2" class="aligncenter size-full wp-image-34661" data-recalc-dims="1" /></noscript></p><h2>Variables and Arguments</h2><p>Variables in bash can be a little more confusing than some other scripting languages, partly because they sometimes need to be prefaced with a <em>$</em> character and sometimes not &#8211; depending on what you&#8217;re doing.  Take the following example.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>josh<span style="color: #000000; font-weight: bold;">/</span>scripts</pre></td></tr></table></div><p>We refer to the same variable, PATH, two times. Once there&#8217;s no <em>$</em>, but the other time there is.  There are a few ways that you can remember when a $ is appropriate, but this author uses a &#8220;talking&#8221; metaphor. If I&#8217;m talking TO the variable (such as assigning it a new value) I call it by the short name, in this case PATH. If I&#8217;m talking ABOUT a variable (such as getting its current value) it gets a more formal title ($PATH). The precise reasoning and inner workings of this design are beyond the scope of this guide, so just try to remember that you need to include a $ if you&#8217;re trying to fetch the information in a variable.</p><p>Now we&#8217;re going to use a variable in our script. Change the second line to look like the following:</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> Hello <span style="color: #007800;">$1</span><span style="color: #000000; font-weight: bold;">!</span></pre></td></tr></table></div><p>And re-run your script, but this time include your name after the script name.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-arg1.png?resize=232%2C59" alt="bashscripting-arg1" title="bashscripting-arg1" class="lazy aligncenter size-full wp-image-34662" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/bashscripting-arg1.png?resize=232%2C59" alt="bashscripting-arg1" title="bashscripting-arg1" class="aligncenter size-full wp-image-34662" data-recalc-dims="1" /></noscript></p><p>Bash auto-assigns certain variables for you, including a few such as $1, $2 etc which hold each of the arguments passed to the script. Variables can be reassigned and renamed any way you wish, so you could rewrite the previous script as</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">firstname</span>=<span style="color: #007800;">$1</span>
<span style="color: #007800;">lastname</span>=<span style="color: #007800;">$2</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> Hello <span style="color: #007800;">$firstname</span> <span style="color: #007800;">$lastname</span><span style="color: #000000; font-weight: bold;">!</span></pre></td></tr></table></div><p>As you can see, there are no $ signs when assigning the value to the variable, but you do need them when pulling the info out.</p><h2>Conditionals and Loops</h2><p>No script could get very far without the ability to analyse or loop through data. The most common method of determining a course of action is to use the if statement. It works much like you&#8217;d expect &#8211; IF something THEN do stuff ELSE do something different. This example compares the string of characters that we stored in the variable <em>firstname</em> and compares it to some hardcoded text. If they match, it prints special output.  Otherwise, it continues as normal.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">firstname</span>=<span style="color: #007800;">$1</span>
<span style="color: #007800;">lastname</span>=<span style="color: #007800;">$2</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$firstname</span>&quot;</span> == <span style="color: #ff0000;">&quot;Josh&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;What a great name&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> Hello <span style="color: #007800;">$firstname</span> <span style="color: #007800;">$lastname</span><span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></td></tr></table></div><p>Finally, the next core component is bash&#8217;s ability to loop over data. The normal looping mechanisms for bash are FOR, WHILE, and UNTIL. We&#8217;ll start with while, as it&#8217;s the simplest.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash </span>
         <span style="color: #007800;">counter</span>=<span style="color: #000000;">0</span>
         <span style="color: #666666; font-style: italic;">#While the counter is less than 10, keep looping</span>
         <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>  <span style="color: #007800;">$counter</span> <span style="color: #660033;">-lt</span> <span style="color: #000000;">50</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
             <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$counter</span>
             <span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #007800;">counter</span>=counter+<span style="color: #000000;">1</span> 
         <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div><p>That example creates a <em>counter</em> variable, begins a <em>while</em> loop, and continues looping (and adding one to the counter) until it reaches the limit, in this case 50. Anything after the <em>done</em> statement will execute once the loop is complete.</p><p>UNTIL operates similarly, but as the reverse of WHILE. A while loop will continue as long as its expression is true (counter less than 50). The until loop takes the opposite approach, and would be written as</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">until</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>  <span style="color: #007800;">$counter</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">50</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span></pre></td></tr></table></div><p>In this example, &#8220;while less than 50&#8243; and &#8220;until greater than 50&#8243; will have nearly identical results (the difference being that one will include the number 50 itself, and the other will not. Try it out for yourself to see which one, and why.)</p><h2>Conclusion</h2><p>As stated above, it would take a lot more than a single Getting Started article to fully demonstrate the power of bash scripting. The pieces shown here can be seen as the core components of how bash operates, and should suffice to show you the basic principles behind shell scripting in Linux. If you really want to get into the guts and start making some great scripts, check out GNU&#8217;s official bash reference guide <a href="http://www.gnu.org/software/bash/manual/bashref.html">here</a>. Happy scripting!</p><p>The post <a href="http://www.maketecheasier.com/write-linux-shell-scripts/2011/06/30">The Beginner Guide to Writing Linux Shell Scripts</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/write-linux-shell-scripts/2011/06/30/feed</wfw:commentRss> <slash:comments>4</slash:comments> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/bashscripting-small.png?resize=200%2C150" medium="image"> <media:title type="html">bashscripting-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/bashscripting-small.png?resize=200%2C150" medium="image"> <media:title type="html">bashscripting-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/bashscripting-hello1.png?resize=246%2C66" medium="image"> <media:title type="html">bashscripting-hello1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/bashscripting-hello1.png?resize=246%2C66" medium="image"> <media:title type="html">bashscripting-hello1</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/bashscripting-hello2.png?resize=243%2C109" medium="image"> <media:title type="html">bashscripting-hello2</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/bashscripting-hello2.png?resize=243%2C109" medium="image"> <media:title type="html">bashscripting-hello2</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/bashscripting-arg1.png?resize=232%2C59" medium="image"> <media:title type="html">bashscripting-arg1</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/bashscripting-arg1.png?resize=232%2C59" medium="image"> <media:title type="html">bashscripting-arg1</media:title> </media:content> </item> <item><title>How to Create Tilt Shift Effect in Gimp</title><link>http://www.maketecheasier.com/create-tilt-shift-effect-in-gimp/2011/06/23</link> <comments>http://www.maketecheasier.com/create-tilt-shift-effect-in-gimp/2011/06/23#comments</comments> <pubDate>Thu, 23 Jun 2011 14:58:50 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[GIMP]]></category> <category><![CDATA[photo editing]]></category> <category><![CDATA[photography]]></category> <category><![CDATA[tilt shift]]></category> <category><![CDATA[tutorial]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=34374</guid> <description><![CDATA[<p>This isn&#8217;t something you&#8217;ll often do for work or a real project, but it&#8217;s fun and it can look cool. Tilt shifting a photo is something that can be done by expensive fancy camera equipment or, fortunately for us, free software. The idea is that when you take a photo of small scale objects like [...]</p><p>The post <a href="http://www.maketecheasier.com/create-tilt-shift-effect-in-gimp/2011/06/23">How to Create Tilt Shift Effect in Gimp</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-small.jpg?resize=200%2C150" alt="tiltshiftgimp-small" title="tiltshiftgimp-small" class="lazy alignleft size-full wp-image-34384" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-small.jpg?resize=200%2C150" alt="tiltshiftgimp-small" title="tiltshiftgimp-small" class="alignleft size-full wp-image-34384" data-recalc-dims="1" /></noscript>This isn&#8217;t something you&#8217;ll often do for work or a real project, but it&#8217;s fun and it can look cool. Tilt shifting a photo is something that can be done by expensive fancy camera equipment or, fortunately for us, free software. The idea is that when you take a photo of small scale objects like model towns, part of what reveals them as miniature is the difference in focus. When a camera is up close to small objects, it can&#8217;t focus on other nearby objects, making them blurry. Tilt shifting is applying this blur effect deliberately, to make large-scale objects appear small. Getting it just right can take a lot of time and effort, but the basic method is quite simple, and that&#8217;s what we&#8217;re covering today.<br /> <span id="more-34374"></span></p><h2>Selecting the Right Photo</h2><p>There&#8217;s nothing actually <em>preventing</em> you from using any photo you wish, but there are a few guidelines to follow if you want the effect to be somewhat realistic.</p><ul><li>Avoid clouds/sky as much as possible. A &#8220;miniature&#8221; cloud tends to ruin the illusion</li><li>Keep distances simple. Too many objects floating in and out of the background will make the effect very difficult to achieve.</li><li>If possible, avoid large people and animals. It won&#8217;t look like a small scale photo if you can see Grandma on the porch.</li></ul><p>For this guide, we&#8217;re using this source photo.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-harbor-original.jpg?resize=580%2C435" alt="tiltshiftgimp-harbor-original" title="tiltshiftgimp-harbor-original" class="lazy aligncenter size-full wp-image-34376" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-harbor-original.jpg?resize=580%2C435" alt="tiltshiftgimp-harbor-original" title="tiltshiftgimp-harbor-original" class="aligncenter size-full wp-image-34376" data-recalc-dims="1" /></noscript></p><p>This particular image was chosen because it shows some of the potential good aspects, as well as some complications. Before explaining those in detail, let&#8217;s apply the basic effect and see what happens.</p><h2>The Focus Blur</h2><p>The idea here is that the area you wish to emphasize is at a certain distance from the camera, and objects at other distances are out of focus. In our example image, this is pretty simple to plan out. With the building at the far side of the water as our focal point, we can assume that everything above it (the sky) and everything below it (the nearby boats) would be out of focus.</p><p>Still with me? Ok, here&#8217;s how we make that happen. What we&#8217;re going to do is use 2 layers of the same image, one crisp and one blurry, and use a <em>layer mask</em> to fade between them. If you haven&#8217;t used layer masks before, now&#8217;s a great time to learn because they&#8217;re incredibly useful in many ways.</p><p>First, duplicate your layer so that you&#8217;ve got two identical shots.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-dup.png?resize=325%2C474" alt="tiltshiftgimp-dup" title="tiltshiftgimp-dup" class="lazy aligncenter size-full wp-image-34378" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-dup.png?resize=325%2C474" alt="tiltshiftgimp-dup" title="tiltshiftgimp-dup" class="aligncenter size-full wp-image-34378" data-recalc-dims="1" /></noscript></p><p>With the top layer selected, go to Filters -> Blur -> Gaussian Blur. Precisely what you enter here depends entirely on your image and the distances involved. You may need to use the <em>Undo</em> button extensively before your image is done. For mine, I&#8217;m going with 15, which puts my image here.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-blurlayer.jpg?resize=580%2C435" alt="tiltshiftgimp-blurlayer" title="tiltshiftgimp-blurlayer" class="lazy aligncenter size-full wp-image-34379" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-blurlayer.jpg?resize=580%2C435" alt="tiltshiftgimp-blurlayer" title="tiltshiftgimp-blurlayer" class="aligncenter size-full wp-image-34379" data-recalc-dims="1" /></noscript></p><p>Right now the entire top layer is blurry, and the bottom layer is nice and sharp. What we need is for the area we want sharp to show through clearly, while the other areas fade into blurriness the further they get from focus.</p><h2>The Gradient</h2><p>On the blurry layer, right-click and choose <em>Add Layer Mask</em>. When prompted, choose <em>White &#8211; Full Opacity</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-dup-addmask.jpg?resize=393%2C434" alt="tiltshiftgimp-dup-addmask" title="tiltshiftgimp-dup-addmask" class="lazy aligncenter size-full wp-image-34377" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-dup-addmask.jpg?resize=393%2C434" alt="tiltshiftgimp-dup-addmask" title="tiltshiftgimp-dup-addmask" class="aligncenter size-full wp-image-34377" data-recalc-dims="1" /></noscript></p><p>Layer masks are great &#8211; you can use them to &#8220;draw&#8221; transparency or other effects onto a layer. A fully white mask means that the layer is completely opaque, and nothing of the lower layers can be seen beneath it. Any dark spots drawn on the mask become &#8220;holes&#8221; in the layer, allowing the lower layers to show through. This means we draw a gradient on the mask, and as a result, the blurry layer can be faded in or out, allowing us to see the sharp layer beneath.</p><p>Since the focal point of our sample image is near the center of the picture, we&#8217;re going to use a bi-linear gradient. Unlike a normal &#8220;linear&#8221; gradient, it will follow the line you drag <strong>and</strong> it will mirror that line on the opposite side.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-bilinear.png?resize=160%2C363" alt="tiltshiftgimp-bilinear" title="tiltshiftgimp-bilinear" class="lazy aligncenter size-full wp-image-34380" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-bilinear.png?resize=160%2C363" alt="tiltshiftgimp-bilinear" title="tiltshiftgimp-bilinear" class="aligncenter size-full wp-image-34380" data-recalc-dims="1" /></noscript></p><p>With black as foreground color and white as background, make sure you have the layer <em>mask</em> selected and not the layer itself. If colors and selection are ready, drag a line <em>from</em> the focal point <em>to</em> the area that should be fully blurred, as shown here.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-addgradient.jpg?resize=600%2C494" alt="tiltshiftgimp-addgradient" title="tiltshiftgimp-addgradient" class="lazy aligncenter size-full wp-image-34381" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-addgradient.jpg?resize=600%2C494" alt="tiltshiftgimp-addgradient" title="tiltshiftgimp-addgradient" class="aligncenter size-full wp-image-34381" data-recalc-dims="1" /></noscript></p><p>This creates a black bar in your layer mask, which fades at the edges. This makes anything within the bar nice and sharp (showing the bottom layer) and anything else can gradually fuzzier (the top layer). Aren&#8217;t masks great?</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-postgradient.jpg?resize=576%2C378" alt="tiltshiftgimp-postgradient" title="tiltshiftgimp-postgradient" class="lazy aligncenter size-full wp-image-34382" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/tiltshiftgimp-postgradient.jpg?resize=576%2C378" alt="tiltshiftgimp-postgradient" title="tiltshiftgimp-postgradient" class="aligncenter size-full wp-image-34382" data-recalc-dims="1" /></noscript></p><h2>The Hard Part</h2><p>That&#8217;s about as far as we can go with &#8220;automatic&#8221; tools. From here on out, it&#8217;s doing fine-touches to the layer mask to make it look right. Take the above screenshot for example. You can see between the two buildings to the house and trees beyond. They&#8217;re nice and sharp even though they&#8217;re far away. Compare that to the boats which are only a few feet from our focal point, yet they&#8217;re blurry. The crane is another example of something that should be in focus, but isn&#8217;t.</p><p>Now, your only option is to sit down and start messing with that mask to make each piece pop just the way you want it.</p><p>For some fine examples of tilt shift done right, check out <a href="http://www.smashingmagazine.com/2008/11/16/beautiful-examples-of-tilt-shift-photography/">http://www.smashingmagazine.com/2008/11/16/beautiful-examples-of-tilt-shift-photography/</a>.</p><p>The post <a href="http://www.maketecheasier.com/create-tilt-shift-effect-in-gimp/2011/06/23">How to Create Tilt Shift Effect in Gimp</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/create-tilt-shift-effect-in-gimp/2011/06/23/feed</wfw:commentRss> <slash:comments>3</slash:comments> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-small.jpg?resize=200%2C150" medium="image"> <media:title type="html">tiltshiftgimp-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-small.jpg?resize=200%2C150" medium="image"> <media:title type="html">tiltshiftgimp-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-harbor-original.jpg?resize=580%2C435" medium="image"> <media:title type="html">tiltshiftgimp-harbor-original</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-harbor-original.jpg?resize=580%2C435" medium="image"> <media:title type="html">tiltshiftgimp-harbor-original</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-dup.png?resize=325%2C474" medium="image"> <media:title type="html">tiltshiftgimp-dup</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-dup.png?resize=325%2C474" medium="image"> <media:title type="html">tiltshiftgimp-dup</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-blurlayer.jpg?resize=580%2C435" medium="image"> <media:title type="html">tiltshiftgimp-blurlayer</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-blurlayer.jpg?resize=580%2C435" medium="image"> <media:title type="html">tiltshiftgimp-blurlayer</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-dup-addmask.jpg?resize=393%2C434" medium="image"> <media:title type="html">tiltshiftgimp-dup-addmask</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-dup-addmask.jpg?resize=393%2C434" medium="image"> <media:title type="html">tiltshiftgimp-dup-addmask</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-bilinear.png?resize=160%2C363" medium="image"> <media:title type="html">tiltshiftgimp-bilinear</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-bilinear.png?resize=160%2C363" medium="image"> <media:title type="html">tiltshiftgimp-bilinear</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-addgradient.jpg?resize=600%2C494" medium="image"> <media:title type="html">tiltshiftgimp-addgradient</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-addgradient.jpg?resize=600%2C494" medium="image"> <media:title type="html">tiltshiftgimp-addgradient</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-postgradient.jpg?resize=576%2C378" medium="image"> <media:title type="html">tiltshiftgimp-postgradient</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/tiltshiftgimp-postgradient.jpg?resize=576%2C378" medium="image"> <media:title type="html">tiltshiftgimp-postgradient</media:title> </media:content> </item> <item><title>7 Linux Shell Tips For Increased Productivity</title><link>http://www.maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16</link> <comments>http://www.maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16#comments</comments> <pubDate>Thu, 16 Jun 2011 14:58:08 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[shell]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=34129</guid> <description><![CDATA[<p>Love it or hate it, the command line is here to stay. Sure, there are new options emerging like TermKit but it&#8217;s unlikely that the command line will ever really go away. Those who take the time to master it can run productivity circles around their peers, but with the astonishing assortment of CLI tools [...]</p><p>The post <a href="http://www.maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16">7 Linux Shell Tips For Increased Productivity</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-small.png?resize=128%2C128" alt="linuxshelltips-small" title="linuxshelltips-small" class="lazy alignleft size-full wp-image-34154" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-small.png?resize=128%2C128" alt="linuxshelltips-small" title="linuxshelltips-small" class="alignleft size-full wp-image-34154" data-recalc-dims="1" /></noscript>Love it or hate it, the command line is here to stay. Sure, there are new options emerging like <a href="http://acko.net/blog/on-termkit" target="_blank">TermKit</a> but it&#8217;s unlikely that the command line will ever really go away. Those who take the time to master it can run productivity circles around their peers, but with the astonishing assortment of CLI tools available, where do you even begin? We&#8217;ve compiled a few of the most useful tools and tricks into this guide to help new users gain some new knowledge, and old pros learn some new tricks.<br /> <span id="more-34129"></span><br /> <em>Note: Some of the tools or commands listed here may require root privileges. </em></p><h2>1. Making a Temporary Filesystem (Ramdisk)</h2><p>There are several reasons to make a temporary RAM-based filesystem such as fast read/write times or to guarantee that the files will not persist after reboot. Making such a &#8220;fake&#8221; filesystem is easy, and just requires one command.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> tmpfs tmpfs <span style="color: #000000; font-weight: bold;">/</span>mytemppartition <span style="color: #660033;">-o</span> <span style="color: #007800;">size</span>=1024m</pre></td></tr></table></div><p>Where <em>/mytemppartion</em> is the location you wish to mount (it must already exist) and <em>1024m</em> is the desired size of the ramdisk.</p><h2>2. Quickly Scheduling Commands</h2><p>Linux pros almost certainly know the <em>at</em> command, it lets you set a specific time for a job to be run. You simply say what to do and when to do it, and <em>at</em> takes care of the rest. Its usage can be confusing for some, so here&#8217;s one common way of scheduling a task with <em>at</em>.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">at <span style="color: #000000;">12</span>:<span style="color: #000000;">30</span> <span style="color: #666666; font-style: italic;">#Enter key</span>
somecommandtorun
anothercommand
<span style="color: #666666; font-style: italic;">#ctrl-D</span></pre></td></tr></table></div><p>If you want to verify that it worked, you can easily list the sceduled jobs with</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">at <span style="color: #660033;">-l</span></pre></td></tr></table></div><h2>3. Re-run Previous Commands</h2><p>Perhaps you ran a long complicated command, but forgot to preface it with <em>sudo</em>, or maybe you didn&#8217;t add some necessary options to the end. Instead of retyping the whole thing or going back through your shell history, you can use &#8220;double bangs&#8221; to represent your last command.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>myDir
<span style="color: #666666; font-style: italic;">#Permission denied</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">!!</span>
<span style="color: #666666; font-style: italic;">#Success!</span></pre></td></tr></table></div><p>If you&#8217;re the type who tracks your command history numbers, you can use the same approach to recall any previous command by referencing its number:</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-banghistory.png?resize=494%2C189" alt="linuxshelltips-banghistory" title="linuxshelltips-banghistory" class="lazy aligncenter size-full wp-image-34147" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-banghistory.png?resize=494%2C189" alt="linuxshelltips-banghistory" title="linuxshelltips-banghistory" class="aligncenter size-full wp-image-34147" data-recalc-dims="1" /></noscript></p><h2>4. Find the PID of a Process</h2><p>If you need to kill a particular process but don&#8217;t have its PID, there&#8217;s a simple shortcut to find it &#8211; the pgrep command. It doesn&#8217;t do anything that can&#8217;t be done with a combination of <em>ps</em> and <em>grep</em>, but every little bit helps.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-pgrep.png?resize=285%2C101" alt="linuxshelltips-pgrep" title="linuxshelltips-pgrep" class="lazy aligncenter size-full wp-image-34148" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/06/linuxshelltips-pgrep.png?resize=285%2C101" alt="linuxshelltips-pgrep" title="linuxshelltips-pgrep" class="aligncenter size-full wp-image-34148" data-recalc-dims="1" /></noscript></p><h2>5. Find the Fastest Apt Mirror</h2><p>Most Debian-derived distributions (but not Ubuntu) have access to a great tool that seems to go largely unnoticed. It&#8217;s called apt-spy, and its purpose is to scan the list of known Debian mirrors to find the fastest one <em>for you</em>.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">apt-spy update
<span style="color: #666666; font-style: italic;">#This example will scan stable branch of 20 american mirrors for 30 seconds each</span>
apt-spy <span style="color: #660033;">-d</span> stable <span style="color: #660033;">-a</span> America <span style="color: #660033;">-e</span> <span style="color: #000000;">20</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">30</span></pre></td></tr></table></div><h2>6. Show Listening Ports and their Processes</h2><p>If you need to see what&#8217;s listening for connections on your system, and the processes handling those connections, the old trusty netstat tool is up to the job. Try</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-tlnp</span></pre></td></tr></table></div><p>to see just such a list.</p><h2>7. SSH Without Passwords</h2><p>Many people, such as this author, use SSH on a nearly constant basis. It&#8217;s a great tool, there&#8217;s no denying that, but having to constantly retype your passwords can get annoying. Instead, you can simply copy your (public) SSH information to the remote machine, allowing it to authenticate you without requiring your password, and all you need is a single command.</p><div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">ssh-copy-id username<span style="color: #000000; font-weight: bold;">@</span>remote-machine</pre></td></tr></table></div><h2>Conclusion</h2><p>Obviously we&#8217;ve only begun to scratch the surface when it comes to useful CLI tools, but the ones listed here are a few of those that we at MTE consider indispensable. If you&#8217;ve got any favorite utilities that we forgot to mention, let us know in the comments below.</p><p>The post <a href="http://www.maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16">7 Linux Shell Tips For Increased Productivity</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16/feed</wfw:commentRss> <slash:comments>4</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-small.png?resize=128%2C128" medium="image"> <media:title type="html">linuxshelltips-small</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-small.png?resize=128%2C128" medium="image"> <media:title type="html">linuxshelltips-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-banghistory.png?resize=494%2C189" medium="image"> <media:title type="html">linuxshelltips-banghistory</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-banghistory.png?resize=494%2C189" medium="image"> <media:title type="html">linuxshelltips-banghistory</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-pgrep.png?resize=285%2C101" medium="image"> <media:title type="html">linuxshelltips-pgrep</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/06/linuxshelltips-pgrep.png?resize=285%2C101" medium="image"> <media:title type="html">linuxshelltips-pgrep</media:title> </media:content> </item> <item><title>7 Beautiful Conky Configurations for Your Linux Desktop</title><link>http://www.maketecheasier.com/7-beautiful-conky-configurations-for-your-linux-desktop/2011/06/09</link> <comments>http://www.maketecheasier.com/7-beautiful-conky-configurations-for-your-linux-desktop/2011/06/09#comments</comments> <pubDate>Thu, 09 Jun 2011 23:58:59 +0000</pubDate> <dc:creator>Joshua Price</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[conky]]></category><guid isPermaLink="false">http://maketecheasier.com/?p=33836</guid> <description><![CDATA[<p>By now, most heavy Linux users are pretty familiar with Conky &#8211; the incredibly useful and versatile tool for displaying pretty much anything on your desktop. That includes &#8220;geeky&#8221; things like CPU usage, network activity, and hostname as well as more &#8220;casual&#8221; info like time, weather, and even Twitter updates. What many don&#8217;t know, however, [...]</p><p>The post <a href="http://www.maketecheasier.com/7-beautiful-conky-configurations-for-your-linux-desktop/2011/06/09">7 Beautiful Conky Configurations for Your Linux Desktop</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-small.jpg?resize=200%2C184" alt="conkyconfig-small" title="conkyconfig-small" class="lazy alignleft size-full wp-image-33844" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-small.jpg?resize=200%2C184" alt="conkyconfig-small" title="conkyconfig-small" class="alignleft size-full wp-image-33844" data-recalc-dims="1" /></noscript>By now, most heavy Linux users are pretty familiar with Conky &#8211; the incredibly useful and versatile tool for displaying pretty much anything on your desktop. That includes &#8220;geeky&#8221; things like CPU usage, network activity, and hostname as well as more &#8220;casual&#8221; info like time, weather, and even Twitter updates. What many don&#8217;t know, however, is that Conky can be not only <em>useful</em> but <em>beautiful</em> as well.  Today we&#8217;re going to cover a few of the most gorgeous Conky configurations to show you what can be done.<br /> <span id="more-33836"></span><br /> Note: Some of these are more than just a custom <em>.conkyrc</em> file. Many come with specialized fonts or additional software, some are packaged as part of a larger desktop theme. All configurations listed here are provided with links to the original download location as well as each package&#8217;s unique instructions. Additionally, usage of the weather features on many of the following will require you to create a (typically free) user account at the weather data provider&#8217;s website.</p><h2>1. Simple Conky</h2><p>For people who prefer a clean, simple, minimalistic design <a href="http://www.quicktweaks.com/2008/09/27/gmail-weather-beauty-right-on-your-ubuntu-desktop/" target="_blank">Simple Conky</a> is a great way to go. It&#8217;s one of the few listed here that includes unread mail notifications.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-conkysimple.jpg?resize=318%2C606" alt="conkyconfig-conkysimple" title="conkyconfig-conkysimple" class="lazy aligncenter size-full wp-image-33837" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-conkysimple.jpg?resize=318%2C606" alt="conkyconfig-conkysimple" title="conkyconfig-conkysimple" class="aligncenter size-full wp-image-33837" data-recalc-dims="1" /></noscript></p><h2>2. Cherries</h2><p>Part of a greater cherry-themed graphics pack, this configuration doesn&#8217;t pack in loads of info, but what it does include, it handles beautifully. The full pack can be found <a href="http://gnome-look.org/content/show.php/Cherries+Conky+Package?content=109900">here</a>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-cherries.jpg?resize=586%2C343" alt="conkyconfig-cherries" title="conkyconfig-cherries" class="lazy aligncenter size-full wp-image-33838" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-cherries.jpg?resize=586%2C343" alt="conkyconfig-cherries" title="conkyconfig-cherries" class="aligncenter size-full wp-image-33838" data-recalc-dims="1" /></noscript></p><h2>3. Conky Widget Script</h2><p>Born from a desire to combine Lua scripting with Conky&#8217;s capabilities, <a href="http://londonali1010.deviantart.com/art/Conky-Widgets-Script-141963883?" target="_blank">this</a> gorgeous setup can give you system information in a way that&#8217;s hard to beat when it comes to simple beauty. Setup/installation might be a little trickier here than with some of the other options, but the results can be well worth it.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-widgetscript.jpg?resize=600%2C352" alt="conkyconfig-widgetscript" title="conkyconfig-widgetscript" class="lazy aligncenter size-full wp-image-33839" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-widgetscript.jpg?resize=600%2C352" alt="conkyconfig-widgetscript" title="conkyconfig-widgetscript" class="aligncenter size-full wp-image-33839" data-recalc-dims="1" /></noscript></p><h2>4. Night Drive</h2><p><a href="http://sen7.deviantart.com/art/Conky-NightDrive-151418309?">Night Driv</a>e puts all the info into a single bar that resembles an automotive dashboard. CPU, RAM and the usual monitors are all present along with a music display widget on the far right.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-nightdrive.jpg?resize=600%2C321" alt="conkyconfig-nightdrive" title="conkyconfig-nightdrive" class="lazy aligncenter size-full wp-image-33840" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-nightdrive.jpg?resize=600%2C321" alt="conkyconfig-nightdrive" title="conkyconfig-nightdrive" class="aligncenter size-full wp-image-33840" data-recalc-dims="1" /></noscript></p><h2>5. Conky Colors</h2><p>To date we&#8217;ve come across more than one Conky configuration that goes by this name, but the one we&#8217;d recommend is <a href="http://gnome-look.org/content/show.php/CONKY-colors?content=92328" target="_blank">here</a>. This pack comes in 3 flavors &#8211; <em>default</em>, <em>Cairo</em>, and <em>Rings</em>. The example shown here is <em>Rings</em>.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-colors-rings.jpg?resize=157%2C410" alt="conkyconfig-colors-rings" title="conkyconfig-colors-rings" class="lazy aligncenter size-full wp-image-33841" data-recalc-dims="1" /><noscript><img src="http://i0.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-colors-rings.jpg?resize=157%2C410" alt="conkyconfig-colors-rings" title="conkyconfig-colors-rings" class="aligncenter size-full wp-image-33841" data-recalc-dims="1" /></noscript></p><h2>6. Bionic Conky</h2><p>While not the most flexible of the bunch,<a href="http://gnome-look.org/content/show.php/Bionic+Conky?content=134471"> Bionic Conky</a> is clearly among the most visually interesting. Most Conky configurations are kept in a shaded box or left as floating text, but here the content is tightly coupled with the design. This makes for a gorgeous desktop if you continue the robotic theme, but it may lack the flexibility of some of the other options listed here.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-bionic.jpg?resize=600%2C381" alt="conkyconfig-bionic" title="conkyconfig-bionic" class="lazy aligncenter size-full wp-image-33842" data-recalc-dims="1" /><noscript><img src="http://i2.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-bionic.jpg?resize=600%2C381" alt="conkyconfig-bionic" title="conkyconfig-bionic" class="aligncenter size-full wp-image-33842" data-recalc-dims="1" /></noscript></p><h2>7. Conky Ken</h2><p>The most noticeable aspect of this design is the radial display on the left. Where a normal Conky config would display things like CPU and network usage in bar graph form, <a href="http://gnome-look.org/content/show.php/Conky_Ken?content=134705" target="_blank">Ken</a> changes the shading of the circles to indicate those changes.</p><p><img src="http://www.maketecheasier.com/wp-content/plugins/mte-image-lazy-loading/images/grey.gif" width="1" height="1" data-src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-conkyken.jpg?resize=600%2C227" alt="conkyconfig-conkyken" title="conkyconfig-conkyken" class="lazy aligncenter size-full wp-image-33843" data-recalc-dims="1" /><noscript><img src="http://i1.wp.com/imagecdn5.maketecheasier.com/2011/05/conkyconfig-conkyken.jpg?resize=600%2C227" alt="conkyconfig-conkyken" title="conkyconfig-conkyken" class="aligncenter size-full wp-image-33843" data-recalc-dims="1" /></noscript></p><h2>Conclusion</h2><p>Conky&#8217;s base capabilities make it fantastically useful, but a little extra software can take it to a new level of form and function.  If you&#8217;re not already using Conky, now&#8217;s a great time to start. If you&#8217;re an old hand, then hopefully at least one of the above configurations can help you take that extra step toward the desktop of your dreams.</p><p>The post <a href="http://www.maketecheasier.com/7-beautiful-conky-configurations-for-your-linux-desktop/2011/06/09">7 Beautiful Conky Configurations for Your Linux Desktop</a> appeared first on <a href="http://www.maketecheasier.com">Make Tech Easier</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.maketecheasier.com/7-beautiful-conky-configurations-for-your-linux-desktop/2011/06/09/feed</wfw:commentRss> <slash:comments>3</slash:comments> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-small.jpg?resize=200%2C184" medium="image"> <media:title type="html">conkyconfig-small</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-small.jpg?resize=200%2C184" medium="image"> <media:title type="html">conkyconfig-small</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/05/conkyconfig-conkysimple.jpg?resize=318%2C606" medium="image"> <media:title type="html">conkyconfig-conkysimple</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-conkysimple.jpg?resize=318%2C606" medium="image"> <media:title type="html">conkyconfig-conkysimple</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/05/conkyconfig-cherries.jpg?resize=586%2C343" medium="image"> <media:title type="html">conkyconfig-cherries</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-cherries.jpg?resize=586%2C343" medium="image"> <media:title type="html">conkyconfig-cherries</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-widgetscript.jpg?resize=600%2C352" medium="image"> <media:title type="html">conkyconfig-widgetscript</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/05/conkyconfig-widgetscript.jpg?resize=600%2C352" medium="image"> <media:title type="html">conkyconfig-widgetscript</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/05/conkyconfig-nightdrive.jpg?resize=600%2C321" medium="image"> <media:title type="html">conkyconfig-nightdrive</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/05/conkyconfig-nightdrive.jpg?resize=600%2C321" medium="image"> <media:title type="html">conkyconfig-nightdrive</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/05/conkyconfig-colors-rings.jpg?resize=157%2C410" medium="image"> <media:title type="html">conkyconfig-colors-rings</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-colors-rings.jpg?resize=157%2C410" medium="image"> <media:title type="html">conkyconfig-colors-rings</media:title> </media:content> <media:content url="http://i0.wp.com/images.maketecheasier.com/2011/05/conkyconfig-bionic.jpg?resize=600%2C381" medium="image"> <media:title type="html">conkyconfig-bionic</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/05/conkyconfig-bionic.jpg?resize=600%2C381" medium="image"> <media:title type="html">conkyconfig-bionic</media:title> </media:content> <media:content url="http://i2.wp.com/images.maketecheasier.com/2011/05/conkyconfig-conkyken.jpg?resize=600%2C227" medium="image"> <media:title type="html">conkyconfig-conkyken</media:title> </media:content> <media:content url="http://i1.wp.com/images.maketecheasier.com/2011/05/conkyconfig-conkyken.jpg?resize=600%2C227" medium="image"> <media:title type="html">conkyconfig-conkyken</media:title> </media:content> </item> </channel> </rss>