Utorrent in Ubuntu with Firefox support

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

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.

Share This
Related posts:
Install Ubuntu packages by clicking html link
Evolution RSS Reader Plugin
Firefox 3 Beta 1 is Ready!
Simple Firefox optimizations that really matter
Install Firefox 3 in Debian Etch
 
 
 
Your Ad Here


0 Responses to “Utorrent in Ubuntu with Firefox support”


  1. No Comments

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word