Nov 232011
 

I am finally going to add this to an article, even though I have had this 1rst generation ipod touch since release day and have used it with Linux since day 1……

To use your ipod with fluxbox requires three packages.

sudo apt-get install gtkpod libimobiledevice-utils libimobiledevice1

You then have to mount your ipod touch and since fluxbox doesn’t really have a way to do that….I made a script:

#!/bin/bash
#
# mount ipod touch script by ed wiget
sudo /usr/local/sbin/usbmuxd -v -u &
DETECTED="echo -e `ideviceinfo` | wc -l"
#echo -e "is it ok to continue with the mount command?"
#read answer
#if [ $answer == 'y' ]
if [ ${DETECTED} -ge 1 ];
	then
		echo "ipod detected...mounting"
		ifuse /media/ipod
	else
		echo "ipod detection failed....exiting"
		exit
fi

After it is mounted, you can then run gtkpod and it should auto detect it.  It will create a database of the song hashes.

During usage, if you receive an error with gtkpod during song export that says:

CRITICAL **: transfer_track_glist_between_itdbs: assertion `!new_tracks' failed
Segmentation fault

Restart gtkpod, select the playlist you were exporting and on the export dialog box, uncheck “Check for duplicates”.  Now exporting will work.

Apr 282011
 

If you get an error install app-pda/gtkpod-2.0.0 about libimobiledevice.so.1 and you already have installed app-pda/libimobiledevice-1.1.0, the problem is because there is not a symlink. The fix is easy:

$ sudo ln -s /usr/lib64/libimobiledevice.so.2.0.0 /usr/lib64/libimobiledevice.so.1
$ sudo ldconfig
$ sudo env-update