This tutorial was written assuming you're logged into a root Terminal (type su).
add-apt-repository Script
To install the required libraries, you will have to add a PPA repository. The normal way to do this is to use the add-apt-repository command, but that command only comes with Ubuntu-like distros. Fortunately for us, Anant Shrivastava the Techno Enthusiast wrote a script that allows us to use this command. So change directory to /usr/bin/
Code: Select all
cd /usr/bin/
Code: Select all
wget http://loud-mouth.net/add-apt-repository.sh.txt
Code: Select all
mv add-apt-repository.sh.txt add-apt-repository
Code: Select all
chmod o+x /usr/bin/add-apt-repository
Code: Select all
chown root:root /usr/bin/add-apt-repository
Add the PPA Repository and Install Packages From It
Now that you are able to add a PPA repository, add ppa:pmcenery/ppa by running
Code: Select all
add-apt-repository ppa:pmcenery/ppa
Code: Select all
apt-get update
Now that that's over with, lets get to adding the packages required for mounting your iPhone or iPod Touch. First check the update manager to update any packages you already have installed with the newer ones from the repository you just added. Now install the following packages
Code: Select all
apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod-dev libgpod-common libiphone-utils libiphone0 python-iphone libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-dev libusbmuxd1 usbmuxd
iFuse
iFuse is one of the packages you just installed that allows you to read the music off of the iPod with Rhythmbox (and some other music players, I assume). But by default only root is allowed to use iFuse so you must change this. Open /etc/fuse.conf with the text editor of your choice (I prefer vim)
Code: Select all
vim /etc/fuse.conf
Code: Select all
#user_allow_other
Code: Select all
user_allow_other
The End
Reboot the computer and the iPod should show up in Rhythmbox the next time you try to mount it.
Remember, always unmount your iPod and any other portable storage device by right-clicking on its desktop icon and clicking "Safely Remove Drive". And NEVER unplug the iPod while it's busy syncing its media.
I hope this tutorial helps all the people using the iPhone or iPod Touch with Linux. Reply to this thread if you have any problems. I may or may not be able to help you, but I'm sure someone lurking these boards can. If I see a common problem, I'll try to make an amendment to my tutorial. Good luck to you all.