PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : BitTorrent



Stealth2204
07.10.04, 16:19
Hallo,

habe den BitTorrent Client auf meinem root installiert. Habe alles so gemacht wie in der readme:



install Python, version 2.2.1 or later - http://python.org/

install wxPython - http://wxpython.org/

(under debian, you can currently get the above using
apt-get install libwxgtk2.2-python
from testing and use python 2.1)

untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.

application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"

You may have to restart your web browser for it to start
using BitTorrent.

If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)


Die zeile /usr/bin/btdownloadgui.py hab ich natürlich mit dme richtigen pfad ersetzt.

Da ich leider noch nie mit Python gearbeitet habe und ich davon keine Ahnung habe, stellt sich nun die Frage:

welche browser restarten? Wie kann ich BitTorrent nun starten ?

Bartleby
07.10.04, 21:18
Wie ich in deinem anderen Beitrag gelesen habe, hast du auf dem root kein X, also brauchst du auch keinen Browser neustarten ;)

Einfach:

/usr/local/bin/.../btdownloadcurses.py dein.torrent --saveas wohin_es_soll --max_upload_rate X

btdownloadgui.py ist für X. btdownloadheadless.py kannst du aber auch nehmen - ist IMHO geschmackssache....