Tag Archive for 'ubuntu'

Fixing left click with Flash

Hi, I’m testing Ubuntu Lucid Alpha 3 and it looks very well. I’ve downloaded the latest themes and the OS work smoothy. It still has a lot of bugs, for example the application called Gwibber which is used to connect all your social accounts don’t work. Syncing the ipod touch don’t work although you can view the files.

But I’m writing this because I’ve always had problems with the left click in Flash programs on Ubuntu, it doesn’t matter if it’s Karmic or Lucid, it always fails. Anyway, the fix is very simple, here is what you have to do:

You need to edit the file /usr/lib/nspluginwrapper/i386/linux/npviewer, for example using gedit. So, you can put in the terminal:

gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer

And you need to add this:

export GDK_NATIVE_WINDOWS=1

before the last line. You can see how it looks the file edited in my computer, but you could have more or less lines in yours. Then you save and restart your session by logging out and logging in again. That’s all. I’ve found this here. They also give you another method that I haven’t tested, but if you want to try it at your own peril… Oh, I almost forget, if you want to upgrade your system, the post say that you should quit this line before doing it.

How to mount iPod/iPhone in Karmic Koala and more distros!

I know, iFuse didn’t work in Karmic Koala. I don’t really use much the iPod now, so I really didn’t need it working in Linux, but I found the way to do it.

First of all, thanks to this thread because it made me find the problem and the way to repair it. The code in the forum was almost right. The second line had an error, that was because you couldn’t get iPod Touches/iPhones working (at least in the latest versions of iFuse).

Now, let’s see how to mount the iPod Touch/iPhone over USB in Karmic Koala with iFuse.

iPod Touch in Karmic Koala

1. If you don’t have iFuse read this post, it explains you how to install it in different versions of Ubuntu and it gives a link to the page of the project, so if you use other distro you won’t have problems ;)

2. After getting iFuse installed in your computer you’ll connect your iPod Touch/iPhone as always and you won’t get it mounted, what’s the problem? It’s very simple, there’s not a mounting point for your device! The solution is very easy. This is the code you must insert in your terminal:

sudo mkdir /media/iPod
sudo ifuse mount /media/iPod

Depending of your version, if the second line gives you an error, try instead:

sudo ifuse /media/iPod

* Note: You can use the name you want, I’ve done it with iPod, but you can put whatever.

That’s it! The first one creates a folder iPod inside media and the second one tells ifuse where it has to mount your device!

Having problems? I don’t know if this work with all the firmwares of your iPod Touch/iPhone. I can assure that the 3.0 version of iPhone OS works perfectly and the previous ones I think that also work. However, I can’t assure you if this will work in new versions of iPhone OS (although I think it will work, don’t worry). If you have one of the newest, just try it and tell me in the comments if it works!

If after all of this you can’t mount your iPod Touch or iPhone, leave a comment explaining the problem and I will try to help you, and also consider (as the worse option) emulating Windows XP with VirtualBox.

Note #1: I think that each time you plug in your iPod Touch or iPhone you have to mount it manually, it’s easy, just type:

sudo ifuse mount /media/iPod

(If this line fails, again, use sudo ifuse /media/iPod instead)

Changing /media/iPod if you want by the folder where you want to mount it. If you want to unplug it, just do it, and if you want to unmount it, you also have to do it manually, because if you do right click at least my pc gives me an error of permissions, so if you want to unmount it, it’s also very simple:

sudo umount /media/iPod

If someone knows how to do this faster… I think that with nautilus-actions it would not be difficult to implement a graphical way, I have to check it, if I find a way I’ll tell you.

Note #2: Terminal in Linux is interesting. I’m learning how to do programs for that, if I know more I’ll do one to auto mount and auto unmount the iPod Touch /iPhone. Meanwhile, you can do this:

0. I’ll do with the folder /media/iPod, use the one you want, but first create it if you don’t have it yet with:

sudo mkdir media/iPod

1. Create a launcher in the menu and select “application in terminal”. Call it Mount iPod Touch or whatever, and in command insert:

sudo ifuse mount media/iPod

And if this line fails, use this instead:

sudo ifuse media/iPod

2. Create another launcher in the menu, select “application in terminal” and call it Unmount iPod Touch if you want. Then add in command this line:

sudo umount /media/iPod

Optional: Put this icon, (do it by dragging the image) it’s really cool. If you use Gnome-Do as me, it’s very fast and useful as you can press super+space and write mount ipod and enter and your iPod will be mounted, and type unmount ipod an your iPod will be unmounted!

Read iphone/ipod music in Linux

First of all you need to mount your ipod/iphone. It’s really simple, if you don’t know how just click here.

Ok, I want to advise that I tried this once and I could read my ipod music. If you don’t touch nothing, nothing happens, the problem was that I uploaded some song and then I had to restore the ipod, so try this as your own risk. If you fuck something you should be able to restore your ipod/iphone with no problems, but do this at your own risk.

You need to install Amarok 1.4. Newer versions of Amarok doesn’t support devices (at least yet). To install Amarok 1.4 first remove your other version if you have one installed:

sudo apt-get remove amarok

You can download Amarok for Jaunty from here. You also can find Amarok 1.4 easily in Google.

After you download Amarok look for a tab called “Devices”. Click in it and then click into add a new one. Choose the name you want, and select where your ipod/iphone is mounted – I’m sorry, I can’t install Amarok now and I don’t know the names exactly – and you also have to select to use the ipod profile (I think it was called profile).

Now you can see all the tracks of your ipod/iphone. You also should be able to play them with no problems and your device will work perfectly after this. The problem I had was when I try to upload a song, it looks like it works but then in the ipod/iphone the music library is broken and you have to restore it. I write this manual to let you know how to access to the ipod library and because maybe you are able to upload songs. Good luck! If you’ve tried it comment if this worked for you or not.