<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lindesk &#187; mpg123</title>
	<atom:link href="http://lindesk.com/tag/mpg123/feed/" rel="self" type="application/rss+xml" />
	<link>http://lindesk.com</link>
	<description>Linux - on the Desktop</description>
	<lastBuildDate>Tue, 23 Jun 2009 14:03:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Top 4 Terminal GUI Applications</title>
		<link>http://lindesk.com/2009/06/top-4-terminal-gui-applications/</link>
		<comments>http://lindesk.com/2009/06/top-4-terminal-gui-applications/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 19:49:15 +0000</pubDate>
		<dc:creator>BinnyVA</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[htop]]></category>
		<category><![CDATA[mc]]></category>
		<category><![CDATA[mpg123]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[top]]></category>

		<guid isPermaLink="false">http://lindesk.com/?p=193</guid>
		<description><![CDATA[Terminal GUI Apps? Does sound oxymoronic doesn't it? Well, there are GUI apps in the terminal - and here is a tribute to ones that I find most useful...]]></description>
			<content:encoded><![CDATA[<p><img src="http://lindesk.com/wp-content/uploads/2008/02/terminal.png" alt="Terminal" title="Terminal" width="128" height="128" class="alignnone size-full wp-image-96 intro" align="right" /></p>
<p class="intro">Terminal GUI Apps? Does sound oxymoronic doesn&#8217;t it? Well, there are GUI apps in the terminal &#8211; and here is a tribute to ones that I find most useful&#8230;</p>
<h2>top/htop &#8211; Process Viewer</h2>
<p>From the man page&#8230;</p>
<blockquote><p>The top program provides a dynamic real-time view of a running system.  It can display system summary information as well as a list of tasks currently being managed by the Linux kernel.  The types of system summary information shown and the types, order and size of  information  displayed for tasks are all user configurable and that configuration can be made persistent across restarts.</p>
</blockquote>
<p>I always have a processor load displaying applet(System Monitor) in my panel. Whenever I see a spike, I fire up a console and type in the top command &#8211; its very useful in finding which process is creating the load. Usually, it is some cron job like <code>updatedb</code> or <code>makewhatis</code>. But occasionally, I find a zombie processes this way.</p>
<p>htop is, for the lack of a better word, a better top. It provides a more colorful display(<code>top</code> has a color mode as well &#8211; open top and press &#8216;z&#8217;). It also makes it a bit more easier to kill processes.</p>
<p><img src="http://lindesk.com/wp-content/uploads/2009/06/htop.png" alt="htop" title="htop" width="575" height="414" class="alignnone size-full wp-image-195" /></p>
<h2>mc &#8211; File Manager</h2>
<p>mc(or Midnight Commander) is a file manager. Sure you can cp and mv your files around, but after a while, it gets tiring. mc is a dual pane file manager -it means you can see two folders at the same time. You can copy/move files from one to the other, delete, rename, view file etc &#8211; in short, everything a file manager is expected to have, mc has.</p>
<p><img src="http://lindesk.com/wp-content/uploads/2009/06/mc.png" alt="mc" title="mc" width="463" height="425" class="alignnone size-full wp-image-196" /></p>
<h2>mpg123 &#8211; Audio Player</h2>
<p>I am not writing too much about this &#8211; considering the fact that I have already wrote a <a href="http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/">post about mpg123/mpg321</a> in the <a href="http://lindesk.com/2008/03/top-10-linux-mp3-players/">audio player series</a>.</p>
<h2>aptitude</h2>
<p>aptitude is a ncurces based GUI for the apt package manage &#8211; as a result, this is only available in Debian based systems(Ubuntu, Knopix, etc.). I have not yet seen anyone using aptitude &#8211; if they have a GUI system, they use synaptic &#8211; and if they are comfortable with the command line, they use apt-get command. But still, there is a middle ground &#8211; if for some reason you need it.</p>
<p><img src="http://lindesk.com/wp-content/uploads/2009/06/aptitude1.png" alt="aptitude" title="aptitude" width="480" height="334" class="alignnone size-full wp-image-198" /></p>
<p>Thanks to <a href="http://lifeofrajesh.com/">Rajesh</a> for the aptitude screenshot.</p>
<h2>Anything Else?</h2>
<p>Any other Terminal GUI application? I can only think of these at the moment. If you can think of others, comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://lindesk.com/2009/06/top-4-terminal-gui-applications/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>mpg123/mpg321 &#8211; The Command Line MP3 Players</title>
		<link>http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/</link>
		<comments>http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 20:07:20 +0000</pubDate>
		<dc:creator>BinnyVA</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mpg123]]></category>
		<category><![CDATA[mpg321]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/</guid>
		<description><![CDATA[
So far we looked at the GUI MP3 Players for linux &#8211; like Amarok, Exile, XMMS etc. Most linux users need only that &#8211; but there are some people who want a simpler system &#8211; command line players. The two top players in this area are mpg123 and mpg321.
mpg123
mpg123 is a fast, free, minimalist, console [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/terminal/' rel='attachment wp-att-96' title='Terminal'><img src='http://lindesk.com/wp-content/uploads/2008/02/terminal.png' alt='Terminal' class="intro" align="right" /></a></p>
<p class="intro">So far we looked at the GUI MP3 Players for linux &#8211; like <a href="http://lindesk.com/2007/09/amarok-mp3-player/">Amarok</a>, <a href="http://lindesk.com/2008/01/exaile-music-player-for-gtk/">Exile</a>, <a href="http://lindesk.com/2007/09/xmms-x-multimedia-system/">XMMS</a> etc. Most linux users need only that &#8211; but there are some people who want a simpler system &#8211; command line players. The two top players in this area are mpg123 and mpg321.</p>
<h2>mpg123</h2>
<p>mpg123 is a fast, free, minimalist, console MPEG audio player software program for UNIX and Linux operating systems. The development on this project ceased for a long time &#8211; but now it has a new maintainer.</p>
<ul>
<li><a href="http://www.mpg123.de/">mpg123 Homepage</a></li>
<li><a href="http://en.wikipedia.org/wiki/Mpg123">Wikipedia Page</a></li>
</ul>
<h2>mpg321</h2>
<p>mpg321 is a clone of mpg123. </p>
<ul>
<li><a href="http://mpg321.sourceforge.net/">Homepage</a></li>
<li><a href="http://en.wikipedia.org/wiki/Mpg321">Wikipedia Page</a></li>
</ul>
<h3>Installation</h3>
<p>Most distros have mpg321 in their repositories(not all have mpg123) &#8211; so just log in as root and use these commands to install it&#8230;<br />
<code>yum install mpg321</code> &#8211; For RedHat, Fedora, CentOS etc.<br />
OR<br />
<code>apt-get install mpg321</code> &#8211; For Debian, Ubuntu, etc.</p>
<h3>Using mpg321</h3>
<p>Using mpg321 is straight forward. Since it has no GUI, just go to the folder with the song and just execute the command&#8230;</p>
<pre><code class="cli">mpg321 MP3_FILE_NAME</code></pre>
<p>If you want to play all the songs in a folder, you have to create a list of files in that folder. Then you have to specify this list as an argument for the mpg321 command. These commands can get the job done&#8230;</p>
<p>Create a list of all MP3 Files in the current folder&#8230;</p>
<pre><code class="cli">find . -name "*.mp3"|sed 's/\.\///;'|sort>List.lst</code></pre>
<p>Use this list as the play list for mpg321</p>
<pre><code class="cli">mpg123 --list List.lst</code></pre>
<h3>Why Use Command Line Players?</h3>
<p>If we have a number of shiny GUI players, why should one use a command line player? Unless you are an anti-GUI command line guru, chances are you don&#8217;t need it. But still, it has its uses.</p>
<p>For example, if you have to restart the X Server often for some reason, then mpg321 is the best player for you. All other player will stop playing when X server is down.</p>
<p>This actually happend to me &#8211; when I bought my <a href="http://blog.binnyva.com/2007/10/dual-monitors-the-realization-of-a-dream/">second LCD screen</a>, it took me some time to configure it. And that meant editing the <code>xorg.conf</code> file and restarting the X Server to see if it worked. At that time, I opened a virtual terminal(Ctrl+Alt+F1) and opened mpg321 with a bunch of MP3s in the list. It kept playing even if the X server is down. This is propably the reason that I was still sane after around six hours of XOrg configuration. <img src='http://lindesk.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lindesk.com/2008/02/mpg123mpg321-the-command-line-mp3-players/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
