domenica 3 gennaio 2010

µTorrent on Ubuntu Karmic 9.10


I like µTorrent because it's really a tiny bitTorrent client and because it has a wonderful RSS support. At this moment the latest release cannot be installed on Ubuntu 9.10, so we need to download at least µTorrent 1.8.2. Right click on the file and open it with wine. Once setup is done, µTorrent will download the latest release and the language pack. Done!



Now you can create a menu item

Run System --> Preferences --> Main Menu
Select Internet, New Item



It's possible to associate .torrent files with µTorrent in Firefox. Save this script
as µTorrent in /usr/local/bin:

#!/bin/sh
cd ~/.wine/drive_c/Programmi/uTorrent
if [ "$1" != "" ]; then
var="`echo $1 | sed 's/\//\\\/g'`"
var="Z:${var}"
wine utorrent.exe "$var"
else
wine utorrent.exe
fi

Make it executable, go back to Firefox, click on a torrent link. A new window appears: in the "Open with" combo box, select other and then, the path to your script.
Now if you watch TV shows like Lost, you can follow this tutorial to automagically download latest episods.