Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Syncing your iPhone (or iTouch) with Linux

  • 21-12-2009 10:41am
    #1
    Closed Accounts Posts: 664 ✭✭✭


    http://www.ghacks.net/2009/12/20/syncing-your-iphone-or-itouch-with-linux/
    It’s taken me long enough, but finally a solution for syncing both an iPhone and an iTouch with Linux is possible. What is best about this method, is that it does NOT require a jailbroken iPhone. That’s right, you’ll be able to sync your iPhone, via USB, and add all sorts of good music to it. Now therein lies the catch – all you will be able to sync is Music. No calendar or contacts (yet). But for those who just need to get their music onto their iDevices, you are in luck.
    The process is a bit involved, but not too difficult. I will walk you through the steps, some of which are command based, and some are not. And without further adieu, let’s get to the installation and configuration. NOTE: As with anything, use caution and ALWAYS back up your data. It is never guaranteed that you won’t lose data. You’ve been warned. ;-)
    The installation
    There are numerous tools to install. I will be doing this on a Ubuntu 9.10 Desktop box, so you will have to adjust your steps according to your distribution.
    The first thing to do is add a repository to your apt sources. Do this with the following command:
    sudo add-apt-repository ppa:pmcenery/ppa
    Now you need to update with the command:
    sudo apt-get update
    Once apt has completed the update issue the following to install the bulk of what is needed:
    sudo 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
    Quite a bit to install eh? And it’s all necessary. Let that process complete.
    Edit fuse.conf
    The next step is to edit the /etc/fuse.conf file so that your user will have access to the gvfs file system. Do this by opening the /etc/gvfs.conf file in your favorite editor and changing this line:
    #user_allow_other
    to:
    user_allow_other
    Save that file and you are ready to move on.
    Fuse group
    Now you have to add your user to the fuse group. To do this go the User and Group entry in the Administration sub-menu of the System menu. When this tool opens click on the Key button to unlock the tool for administrative purposes. Now click the Manage Groups button and then scroll down until you find the fuse group. Double click the fuse group and then click the check box next to the user you want to have access to the fuse group. Click OK and then close out all of the User and Group windows.
    Log out
    The next step requires that you log out of your desktop and then log back in. This will ensure that all changes have taken place. Once this happens plug in your iPhone (or iTouch) and see if it automounts to your desktop. There will be two devices mount. The first device will show up as a camera, the second as a phone. Once you see both of these, you know you are nearly done.
    Gtkpod
    Unfortunately there are some bugs in Rhythmbox that prevent the user from writing to the iPhone/iTouch. That’s fine because there is always Gtkpod. You will need to install this with the command:
    sudo apt-get install gtkpod
    Once this is installed you will find the entry for it in the Sound & Video sub-menu of the Applications menu. Fire that tool up and you are nearly complete.
    gtkpod-500x353.pngFigure 1

    The last thing you need to do is to configure Gtkpod to mount your device. In the Edit menu you will notice a Repository/iPod Options entry. You have to configure your device as a repository for Gtkpod.
    As you can see (in Figure 1) you have to configure where the device will be mounted. This is where it might seem a bit more complicated than need be.
    Because of having to use gvfs, the mount point will be in ~/.gvfs/ and will be listed as the name of your device. You will have to open up a terminal and change into that directory to find out what it is called. In my case it was ~/.gvfs/Jack Wallen. So I would enter that in iPod Mountpoint configuration section.
    The next option to configure is the Model. Make sure you select the correct model. Do so by clicking the drop down and choosing your model from the list. Once you have done this, click the Add button to add your new device repository. You can then OK the Options window and you are ready to load your iPhone.
    Back in the main Gtkpod window click the Load iPod(s) button and eventually your device will show up. You can now add music to your device! Make sure, when you are done adding music, to click the Save Changes button.
    Final thoughts
    It’s taken long enough, but the ability to add music to an iPhone has finally arrived. The next step, hopefully, will be the syncing of apps and contact/calendar data. I have a feeling that’s going to be another long wait.


Comments

  • Registered Users, Registered Users 2 Posts: 640 ✭✭✭Wcool


    This is great news, a couple of weeks ago, a friend managed to buy an iTouch in the USA when she was over (90 euro discount, thank you!)

    i am very impressed with the hardware and UI but utterly irritated by all the artificial restrictions that Apple has put up. iTunes is quite a ****ty program and there is no easy way to just drag and drop files on your ipod.

    One of the things on my to-do list is to make video streaming possible to my iPod. At the moment the process is very elaborate, first you have to convert to MP4 and then use iTunes to movie it to your iPod.

    I saw some guides on the net to stream already converted videos on your ipod by using a media server. This would still require transcoding first.

    But what i like to know is: is there any media server out there that does this transcoding step on-the-fly? Most of my media is not in iPod format and most of the time I don't know what I want to watch beforehand (MTV generation :o )

    To recap, the program should provide a list of files to play from my NAS and when I play them it should convert them to ipod MP4 on-the-fly...
    Any such server around, I googled but couldn't find anything.

    Alternatively, jailbreaking and installing something that can handle any codec would be an option too, but I am afraid that the ipod will not have enough power to play high res videos anyway...


  • Registered Users, Registered Users 2 Posts: 14,042 ✭✭✭✭Johnboy1951


    But what i like to know is: is there any media server out there that does this transcoding step on-the-fly?

    Maybe ...... VLC


  • Registered Users, Registered Users 2 Posts: 640 ✭✭✭Wcool


    As far as I can see, you can only predefine a file and convert it with VLC, but not in real time.


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    I am happy progress is being made. It will help adoption.
    Still woulden't buy any Apple gear though until they make
    life for a non window/mac user less of a nightmare.

    Unlikely to happen soon though....sigh.


Advertisement