1. Install Wine:
To get latest version add Wine’s repositories to your source list:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

Add the repository key:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Update apt-get:
sudo apt-get update

Install Wine:
sudo apt-get install wine

Utorrent2. Download utorrent:
sudo wget http://download.utorrent.com/1.7.2/utorrent.exe -O ~/.utorrent

To launch utorrent use the command:
wine ~/.utorrent

To get Firefox to automatically open utorrent when clicking on torrent links:
sudo gedit /usr/bin/utorrent

Paste the following into the newly opened text file:

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

Then save it & close gedit.

Make the script you just wrote executable:
sudo chmod a+x /usr/bin/utorrent

3. Now, go into Firefox and download a torrent. Choose “open with” and hit “browse” on the list, and navigate to /usr/bin and choose utorrent.

Original manual is available here.

 

7 Comments

 

  1. January 10, 2010  8:24 am by spuck Reply

    Didn't work for me in ubuntu 9.10 so I had to change the script a bit:
    Changed line 4 from:
    var="`echo $1 | sed 's////g'`"
    to:
    var="`echo $1 | sed 's%/%\\\\%g'`"

  2. April 30, 2010  11:02 pm by Astery Reply

    var=”`echo $1 | sed ’s////g’`”

    to:

    var="`echo /usr/bin | sed 's///x5C/g'`"

    :_)

  3. February 6, 2011  7:05 am by Marvel Traher Reply

    Actually like your websites details! Undoubtedly a beautiful provide of information that is extraordinarily helpful. Stick with it to hold publishing and i’m gonna proceed studying by means of! Cheers.

  4. March 7, 2011  4:26 am by Back Stretches Reply

    This frequently is amazing to me how blog writers such as your self can find the time and the commitment to keep on writing excellent discussions. Your blog isterrific and one of my personal ought to read blogs. I just wished to thank you.

  5. March 12, 2011  12:00 am by engagement rings chicago Reply

    I would like to thnkx for the efforts you have put in writing this website. I am hoping the same high-grade website post from you in the future also. In fact your creative writing abilities has encouraged me to get my own site going now. Actually blogging is spreading its wings and growing fast. Your write up is a great example.

  6. March 22, 2013  9:16 pm by book flights ticket Reply

    Hi! I've been reading your weblog for a while now and finally got the bravery to go ahead and give you a shout out from Humble Tx! Just wanted to mention keep up the excellent job!| book flights ticket http://www.funtraveldeals.com/book-flights/

  7. May 4, 2013  6:40 pm by Yee Blash Reply

    http://www.yorkblog.com/smart/2012/02/11/smart-sponsor-engagement-rings-with-personality-by-the-watchmakers-daughter/

Leave a reply

 

Your email address will not be published.