open torrents with utorrent or other?(gnome)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

open torrents with utorrent or other?(gnome)

Post by stimpak »

you can in gnome right click and associate a file type to be opened with an application! just right click, properties, open with -> add blah blah blah ...

you know the drill, its not the issue here.

but what I should write as command to prompt gnome to open utorrent, add the torrent file, and do whatever i want?
dr_costas
Level 2
Level 2
Posts: 17
Joined: Fri Oct 10, 2008 5:10 pm

Post by dr_costas »

what exactly do you want to do? And why dont you use the transmission bit-torrent downloader available for linux. It is very similar to utorrent. On my machine it uses only 6mb memory.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: open torrents with utorrent or other?(gnome)

Post by vitamin »

stimpak wrote:you can in gnome right click and associate a file type to be opened with an application! just right click, properties, open with -> add blah blah blah ...

you know the drill, its not the issue here.

but what I should write as command to prompt gnome to open utorrent, add the torrent file, and do whatever i want?
You can use a script like this:

Code: Select all

#!/bin/sh
wine start "`winepath -w "$1"`"
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

Re: open torrents with utorrent or other?(gnome)

Post by stimpak »

vitamin wrote:
You can use a script like this:

Code: Select all

#!/bin/sh
wine start "`winepath -w "$1"`"
Doesnt work
here's what i've used :

Code: Select all

wine start "'C:\Program Files\uTorrent\uTorrent.exe -w "$1"'"
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: open torrents with utorrent or other?(gnome)

Post by vitamin »

stimpak wrote:
vitamin wrote:
You can use a script like this:

Code: Select all

#!/bin/sh
wine start "`winepath -w "$1"`"
Doesnt work
Then your program didn't correctly associated files with itself.
stimpak wrote:here's what i've used :

Code: Select all

wine start "'C:\Program Files\uTorrent\uTorrent.exe -w "$1"'"
It's not correct. You forgot winepath.
Locked