<?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>gHacks technology news &#187; gtkpod</title>
	<atom:link href="http://www.ghacks.net/tag/gtkpod/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 11:07:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring gtkpod for Music Playback</title>
		<link>http://www.ghacks.net/2008/12/28/configuring-gtkpod-for-music-playback/</link>
		<comments>http://www.ghacks.net/2008/12/28/configuring-gtkpod-for-music-playback/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 00:07:53 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music and Video]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gtkpod]]></category>
		<category><![CDATA[mpg123]]></category>
		<category><![CDATA[xmms-mp3]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9397</guid>
		<description><![CDATA[In my recent article I illustrated how to connect your iPod to the Linux application gtkpod. Gtkpod is fairly straightforward, but there can be issues. One of the issues is playback of files. And what good is a multimedia application if it can not play back the files it manages?  Configuring gtkpod is actually quite [...]]]></description>
			<content:encoded><![CDATA[<p>In my recent article I illustrated how to connect your iPod to the Linux application gtkpod. Gtkpod is fairly straightforward, but there can be issues. One of the issues is playback of files. And what good is a multimedia application if it can not play back the files it manages?  Configuring gtkpod is actually quite simple to configure for playback. Of course playback will depend upon which application is installed. You can configure gtkpod playback in two ways: By opening another graphical application or by employing a command-line tool. I am going to show you how to configure both.</p>
<p>The first thing you must do is make sure you have the applications installed on your machine. One reader pointed out that gtkpod had trouble with XMMS (which, I admit, is an old-school application). With modern distributions XMMS is not typically installed, yet gtkpod still defaults to XMMS being the default player on some distributions (Ubuntu and Mandriva for example). We&#8217;ll fix that.</p>
<p><span id="more-9397"></span>Let&#8217;s first show how to get gtkpod running with a command line player. We&#8217;ll use mpg123 because it&#8217;s one of the more universal players. You can install mpg123 either from command line or from the Add/Remove Software utility. From the command line the installation would be something like:</p>
<p>apt-get install mpg123</p>
<p>or</p>
<p>yum install mpg123</p>
<p>One mpg123 is installed you can then fire up gtkpod for configuration.</p>
<p>From the Edit menu select Preferences to open up the configuration window.</p>
<div id="attachment_9399" class="wp-caption alignnone" style="width: 510px"><img class="size-medium wp-image-9399" src="http://www.ghacks.net/wp-content/uploads/2008/12/gtkpod_config-500x396.png" alt="Gtkpod Preferences Window" width="500" height="396" /><p class="wp-caption-text">Gtkpod Preferences Window</p></div>
<p>There are two lines to configure:</p>
<p>Command for &#8216;Play now&#8217;</p>
<p>Command for &#8216;Enqueue&#8217;</p>
<p>Both of these can be configured with the command. As you can see, in the figure above, my Fedora 10 default installation of gtkpod defaults to using XDG. This is an outstanding GUI application for use with gtkpod. But let&#8217;s make a simple change. Edit that line to read:</p>
<p>mpg123 %s</p>
<p>and click OK. Now go back to gtkpod, right click on a song and select &#8220;Play Now&#8221;. The selected song should start playing. Now here&#8217;s one issue with using a command line tool for playback: In order to stop playback you have to open a terminal window and issue the killall command. In our example you would issue the command <em>killall -9 mpg123</em>. Or you could wait for the song to complete. If you queue a number of songs for playback then you will definitetly have to issue the killall command to stop playback.</p>
<p>The same configuration holds true for an external GUI application. The good news about using a GUI application is that you can control the playback of the file much better.</p>
<p>Should you want to use XMMS for the playback of files you will most likely either have to delete the current XMMS (if you do not have mp3 support rolled into your current XMMS installation.) Say you are using Fedora. To change XMMS for mp3 support issue the following commands (as root):</p>
<p>rpm -e xmms (Only if XMMS is already installed)</p>
<p>yum install xmms-mp3</p>
<p>Now if you use XMMS as your playback application you would have <em>xmms %s</em> for your playback configuration.</p>
<p><strong>Final Thoughts</strong></p>
<p>Yes it&#8217;s true, it would be nice if gtkpod had a built in player. However, having a reliable application for syncing an overly-flaky, yet overwhelmingly popular music device far outweighs having to configure the application to use a working playback system.</p>

	Tags: <a href="http://www.ghacks.net/tag/fedora/" title="Fedora" rel="tag">Fedora</a>, <a href="http://www.ghacks.net/tag/gtkpod/" title="gtkpod" rel="tag">gtkpod</a>, <a href="http://www.ghacks.net/tag/ipod/" title="iPod" rel="tag">iPod</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/mpg123/" title="mpg123" rel="tag">mpg123</a>, <a href="http://www.ghacks.net/tag/xmms-mp3/" title="xmms-mp3" rel="tag">xmms-mp3</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/26/connect-ipod-to-gtkpod/" title="Connect your iPod to gtkpod (December 26, 2008)">Connect your iPod to gtkpod</a> (8)</li>
	<li><a href="http://www.ghacks.net/2007/02/06/replace-itunes-with-floola/" title="Replace iTunes with Floola (February 6, 2007)">Replace iTunes with Floola</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/03/12/manage-network-devices-in-fedora/" title="Manage Network Devices in Fedora (March 12, 2009)">Manage Network Devices in Fedora</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/11/18/major-improvements-with-fedora-12/" title="Major improvements with Fedora 12 (November 18, 2009)">Major improvements with Fedora 12</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/18/get-to-know-linux-live-cd/" title="Get To Know Linux: Live CD (February 18, 2009)">Get To Know Linux: Live CD</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/28/configuring-gtkpod-for-music-playback/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Connect your iPod to gtkpod</title>
		<link>http://www.ghacks.net/2008/12/26/connect-ipod-to-gtkpod/</link>
		<comments>http://www.ghacks.net/2008/12/26/connect-ipod-to-gtkpod/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 19:13:11 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music and Video]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[gtkpod]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9374</guid>
		<description><![CDATA[You&#8217;re new to Linux. You have managed to figure your way around the desktop and you have become accustomed to the application installation process. Now it&#8217;s time to go about day to day business of using your newfound obsession. Of course one of the first issues you might come across is that of application abundance. [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re new to Linux. You have managed to figure your way around the desktop and you have become accustomed to the application installation process. Now it&#8217;s time to go about day to day business of using your newfound obsession. Of course one of the first issues you might come across is that of application abundance. With Linux there are sometimes countless applications that can handle the same process. Which one to do you use? If you are like many new users you will find an application that does what you need and then you will stop looking. But with Linux there is always something that might be a little better or suit your taste a bit more. One of those applications is gtkpod. Although gtkpod does not contain many of the advanced features of iTunes it is one of the more reliable iTunes-like applications for Linux.In this article I will show you how to connect your iPod to gtkpod.</p>
<p><span id="more-9374"></span><strong>First Steps</strong></p>
<p>The first thing you need to do is to plug in your iPod and mount the device. Before you actually plug in the device there are a few tasks to take care of. The first of these tasks is to create a directory where the iPod will be mounted. As the root user issue the command <em>mkdir /media/mp3</em>. You can name this directory whatever you want. Once you have the directory created you can plug in your iPod. Now issue the command <em>dmesg</em> so we can find out where your iPod was detected. When dmesg has completed you will see output like:</p>
<p><em>sd 2:0:0:0: [sdb] 58605120 512-byte hardware sectors (30006 MB)<br />
sd 2:0:0:0: [sdb] Write Protect is off<br />
sd 2:0:0:0: [sdb] Mode Sense: 68 00 00 08<br />
sd 2:0:0:0: [sdb] Assuming drive cache: write through<br />
sd 2:0:0:0: [sdb] 58605120 512-byte hardware sectors (30006 MB)<br />
sd 2:0:0:0: [sdb] Write Protect is off<br />
sd 2:0:0:0: [sdb] Mode Sense: 68 00 00 08<br />
sd 2:0:0:0: [sdb] Assuming drive cache: write through<br />
sdb: sdb1 sdb2</em></p>
<p>As you can see my iPod was listed at <em>/dev/sdb</em>. So now we know what entry to add to <em>/etc/fstab</em>. As the root user again open up <em>/etc/fstab</em> and append the following line:</p>
<p><em>/dev/sdb2 /media/mp3 auto ro,noauto,user 0 0</em></p>
<p>NOTE: The above line will vary depending upon where your iPod was detected and what directory you created for mounting purposes.</p>
<p>With your fstab entry in place exit out of the root user and issue the command <em>mount /media/mp3</em> (Where <em>mp3</em> is the directory you created for mounting purposes).</p>
<p>If you issue the command <em>ls /media/mp3</em> you should now see the contents of your iPod. And with the iPod mounted gtkpod should automatically detecte the iPod.</p>
<p><strong>Fire it up!</strong></p>
<p>Now it&#8217;s time to open up gtkpod. This will most likely be in your Audio/Video or Multimedia menu subdirectory of the Main Menu. If you do not find it you will have to install it. Most distributions do not include gtkpod by default. If yo open up the Add/Remove Applications utility you can find it doing a search for &#8220;gtkpod&#8221;.</p>
<p>Once gtkpod is open, so long as your iPod is mounted, it should detect the device and load it.</p>
<div id="attachment_9379" class="wp-caption alignnone" style="width: 510px"><img src="http://www.ghacks.net/wp-content/uploads/2008/12/gtkpod-500x417.png" alt="gtkpod main window" title="gtkpod" width="500" height="417" class="size-medium wp-image-9379" /><p class="wp-caption-text">gtkpod main window</p></div>
<p>As you can see gtkpod is pretty much a no-frills means to sync your iPod in Linux. Using gtkpod is pretty straightforward: Click to add files or directories, click Save Changes (sync), click to Load your iPod. There is only one issue that you must know about. When you are done with your iPod you need to close gtkpod and then UNMOUNT your iPod! To unmount your iPod go back to the command line and issue the command <em>umount /media/mp3</em> Where <em>mp3</em> is the actual directory where you have mounted your device. If you do not unmount your device you risk losing your data.</p>
<p><strong>Final Thoughts</strong></p>
<p>Gtkpod is one of the most reliable iPod managing tools in Linux. Sure there are far better multi-media players (such as Banshee or Amarok), but their iPod support can be flakey at best. Give gtkpod a try. If you&#8217;re looking for a reliable way to sync your iPod in Linux, this might be it.</p>

	Tags: <a href="http://www.ghacks.net/tag/gtkpod/" title="gtkpod" rel="tag">gtkpod</a>, <a href="http://www.ghacks.net/tag/ipod/" title="iPod" rel="tag">iPod</a>, <a href="http://www.ghacks.net/tag/itunes/" title="itunes" rel="tag">itunes</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/mount/" title="mount" rel="tag">mount</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/02/06/replace-itunes-with-floola/" title="Replace iTunes with Floola (February 6, 2007)">Replace iTunes with Floola</a> (12)</li>
	<li><a href="http://www.ghacks.net/2008/12/28/configuring-gtkpod-for-music-playback/" title="Configuring gtkpod for Music Playback (December 28, 2008)">Configuring gtkpod for Music Playback</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/07/16/winamp-ipod-plugin-2/" title="Winamp iPod Plugin (July 16, 2008)">Winamp iPod Plugin</a> (5)</li>
	<li><a href="http://www.ghacks.net/2007/06/16/sync-itunes-with-non-ipod-mp3-players/" title="Sync iTunes with non iPod mp3 players (June 16, 2007)">Sync iTunes with non iPod mp3 players</a> (11)</li>
	<li><a href="http://www.ghacks.net/2008/04/24/sync-any-mp3-player-with-itunes/" title="Sync any mp3 player with iTunes (April 24, 2008)">Sync any mp3 player with iTunes</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/26/connect-ipod-to-gtkpod/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
