Benaiah\’s Computer Experiences

August 6, 2007

Installing iTunes in Wine

Filed under: Audio, iPod, iTunes, Linux, sync, wine — Benaiah @ 8:11 pm

This is as close as I have been able to get to installing iTunes in Linux. This only provides the most basic features of iTunes and one of the most important, the ability to sync with iPods, DOES NOT work. If you are still interested here is how I did it:

The first step is to install wine.

Applications >> Add/Remove

Search for “Wine Windows Emulator” check the box and hit “Ok”

The latest version of iTunes will not yet run in wine. I went back to version 6.0.5. You can download it from filehippo here. Some of the earlier releases of 7 may work but I have not tested them all.

Now to install iTunes. Open a terminal and change to the location of the itunessetup.exe file and run the file using wine.

cd /home/username/Desktop

wine itunessetup.exe

Next download and install the QuickTime Alternative available here (currently vs 1.81), and install it using wine as well.

wine qucktimealt181.exe

You will be asked if you want to remove QuickTime, allow it to do so.

Now you need to download wininet.dll and move it to ~/.wine/drive_c/windows/system32 . You can download it here.

Unzip the file and move it:


mv /home/username/Desktop/wininet.dll /home/username/.wine/drive_c/windows/system32

If you get this error message: “bash: /user/bin/unzip: No such file or directory” that means that you probably don’t have unzip installed.

sudo apt-get install unzip

To run iTunes:

wine /home/username/drive_c/Program\ Files/iTunes/iTunes.exe

You will get a warning stating that the registry settings used by iTunes for importing and burning CDs are missing. Click “OK” and iTunes should start. As the warning indicated, CD importing and burning will NOT work, iPod syncing will NOT work, and unless the other people on your network are also using this old version of iTunes you will also NOT be able to access other peoples shared iTunes libraries. What you WILL be able to do is to import music and use iTunes as a music player and you WILL be able to use the format conversion features to re-encode audio files.

If anyone has gotten some of these other features, or a more recent version of iTunes, to work please share how you did it!


July 21, 2007

QTFairUse with iTunes and

Filed under: Audio, iTunes, QTFairUse — Benaiah @ 9:04 am

UPDATE: Apparently the hymn project has stopped provided this software after a C & D letter from Apple.  You can read about what happened here.  There may be other places to find this software online, but you’ll have to do it.

After purchasing a song on the iTunes Music Store with iTunes version I found that the QTFairUse (Download here) DRM stripping software did not work on music purchases with that version of iTunes. The fix for this problem is to download the latest configuration file. (Available here) After downloading and uncompressing the configuration file copy it to the same directory that contains the QTFairUse6.exe file. If prompted that the file already exists, allow it to be replaced.

When trying to process a file after replacing the config file I would recieve an error like this:

Error while dumping; deleting incomplete output file

I found that to fix this problem I had to play a few seconds of the track that I wanted to process. After doing that QTFairUse worked beautifully.

After upgrading to iTunes version QTFairUse worked without having to play the file first.

July 19, 2007

Amarok Problems (Part 2)

Filed under: amarok, Audio, ubuntu, xine — Benaiah @ 9:04 pm

A few weeks ago I wrote about a problem that I was having with Amarok. The player was not able to load the xine audio drivers. Since then I have figured out why this was. I often run Windows in a Virtual Machine (VM) using VMware and so VMware was using the drivers. The fix? Either shut down the VM or disable the audio.

Here is how to disable the sound adapter without shutting down the VM:

From the menu at the top of the screen select VM >> Removable Devices >> Sound Adapter >> Disconnect

You may have to restart Amarok to get it to load the drivers.

See Amarok Problems

July 18, 2007

Syncing your iPod in Linux

Filed under: amarok, Audio, iPod, sync, ubuntu — Benaiah @ 9:13 pm

For the last few days I have been struggling to find some program that would nicely sync with my iPod and put everything into the proper directories like iTunes does on Windows. I wanted my audiobooks to show up under audiobooks and Podcast under Podcasts and so on.

I have tried many programs and ended up trying to get iTunes to run under wine, which after much work I succeded in doing only to find that the two most useful features, CD importing and iPod syncing, didn’t work! Therefore I went back to Amarok, one of the first programs I had tried and hadn’t had much luck with and looked into it a little more closely. I found that it really works quite well.

After figuring out how do get Amarok to work with my iPod I found a site that gives very good instructions on how to do it. You can visit the site here. There are a couple of points however that I would like to expand on.

The first is that when selecting the iPod from the Configuration >> Media Devices in step 2 the mount point the Amarok tries to use may not be correct. I had previously named my iPod and so my mount point was different.

To check what mount point Amarok is using click on “Details”

To check the actual mount point of your iPod, go to Places >> Computer and right click on your iPod and click on “Properties.” Go to the “Volume” tab. The mount point should be listed there.

If the mount points are the same, great! If not, remove the entry in Amarok and click “Add Device…”

Select “Apple iPod Media Device” from the drop down menu and fill in the name and mount point.

Add Device

Click “OK”

Now you can continue with the instructions on the simplehelp website.

The other point is that there is one more way to add media to your iPod.  This method is especially useful when syncing audio that Amarok will not play such as the Audible .aa format.  Simply right click on the file and select “Transfer to Media Device”  this will add the music to the sync queue.

Everything has worked beautifully!  All of my music appears on my iPod exactly as it did when syncing with iTunes!

To visit one more site that I have found to have a lot of useful informatin regarding iPods and Amarok click here.

July 7, 2007

Amarok Problems

Filed under: amarok, Audio, xine — Benaiah @ 4:56 am

For the last few days I’ve been having problems with Amarok not wanting to find my audio drivers. It would just tell me “xine was unable to initialize any audio drivers.” It was driving me crazy because I really like Amarok (when its working) and I use it a lot so having it not working was a real problem. I don’t know that I ever really figured out why it broke or really how to fix it but this is what I did. I simply re-installed the xine extra plugins. Here’s how:

Applications >> Add/Remove…

Un-check Xine extra plugins and click “Apply”

Check Xine extra plugins and click “Apply”

Thats all I did…I hope this is more than a temporary fix!

Update: See Amarok Problems (Part 2)

Blog at