Make flash plugin work on Firefox 4 and Ubuntu 64 bits

On ubuntu 64 bits, flash support for Firefox 4 is broken after a manual upgrade, the reason is that the nspluginwrapper thing seems not to work well with the new firefox.

The solution is pretty simple, download flash plugin from adobe here (select .tar.gz Linux option), unpack it and replace the file on /var/lib/flashplugin-installer with the unpacked

$ tar -xvzf install_flash_player_10_linux.tar.gz
$ sudo cp /var/lib/flashplugin-installer/



Open spotify links with native linux client

If you are tired of having to copy and paste all the spotify links on the search field to open them you can configure Firefox and Chrome to open them automatically.

Just copy and paste these lines on a terminal and enjoy. (Browser restart required).

$ gconftool-2 -t string -s /desktop/gnome/url-handlers/spotify/command  "spotify -uri %s"
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/needs_terminal false
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/enabled true