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?
open torrents with utorrent or other?(gnome)
Re: open torrents with utorrent or other?(gnome)
You can use a script like this: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?
Code: Select all
#!/bin/sh
wine start "`winepath -w "$1"`"
Re: open torrents with utorrent or other?(gnome)
Doesnt workvitamin wrote:
You can use a script like this:Code: Select all
#!/bin/sh wine start "`winepath -w "$1"`"
here's what i've used :
Code: Select all
wine start "'C:\Program Files\uTorrent\uTorrent.exe -w "$1"'"
Re: open torrents with utorrent or other?(gnome)
Then your program didn't correctly associated files with itself.stimpak wrote:Doesnt workvitamin wrote:
You can use a script like this:Code: Select all
#!/bin/sh wine start "`winepath -w "$1"`"
It's not correct. You forgot winepath.stimpak wrote:here's what i've used :Code: Select all
wine start "'C:\Program Files\uTorrent\uTorrent.exe -w "$1"'"