1

I just installed µTorrent Server for Ubuntu 12.04 (3.3 build 30470) using this step by step guide How to install utorrent step by step? and it works just fine.

Now I want to start a torrent just by double-clicking the .torrent file.

To do this I need to create an association with utserver. The problem is that utserver doesn't have a .desktop file that I can edit in order to make the association.

Any ideas on how to do this?

2 Answers2

2

Well, you just can't. The µtorrent server is just... a server. There's no client/user interface outside the WebUI. You would need to move the torrents to a directory to add them automatically to the queue, otherwise I doubt you can do anything useful.

If you don't want that I recommend you using other clients.

Braiam
  • 69,112
2

My little ponyhack

  1. Create directory for torrents:

    mkdir ~/torrents
    
  2. Add this as autoload directory:

    enter image description here

  3. Create script torrent-utserver.sh and place it in /usr/local/bin:

    #!/bin/bash
    # little helper script
    mv "$@" ~/torrents
    

    Change permissions to execute

    sudo chmod +x /usr/local/bin/torrent-utserver.sh
    
  4. Associate *.torrent files to this script

    enter image description here

Voila! It should work.

Danatela
  • 13,384