/[pkg-xmule]/xmule/ED2K-Links.HOWTO
ViewVC logotype

Contents of /xmule/ED2K-Links.HOWTO

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Thu Jan 6 20:35:44 2005 UTC (8 years, 4 months ago) by dleidert-guest
Branch: source-dist, MAIN
CVS Tags: upstream_version_1_10_0b, debian_version_1_9_5-2, debian_version_1_9_5-1, debian_version_1_10_0b-1, debian_version_1_10_0b-2, upstream_version_1_9_5, HEAD
Changes since 1.1: +0 -0 lines
Imported upstream version 1.9.5. 
1 xMule - The Multiplatform Fork of the xMule Client
2
3 How to Integrate ED2K Links into your webbrowser
4
5 QUESTION: How can I make xMule take ed2k links from my browser?
6 ANSWER:
7 ------- KONQUEROR -------
8 1. /usr/kde/3.1/share/services
9 you can find it by file names ended with .protocol
10 kinda `find /usr -name "*.protocol"` or `find /opt -name "*.protocol"`
11 or even put / to path if you want.
12
13 2. If the first was successful, create a file named like e2k.protocol in
14 the mentioned directory:
15
16 [Protocol]
17 exec=/usr/local/bin/ed2k "%u"
18 protocol=ed2k
19 input=none
20 output=none
21 helper=true
22 listing=false
23 reading=false
24 writing=false
25 makedir=false
26 deleting=false
27
28 3. reload konqueror
29
30 (Credits: gfdsa)
31
32 ------- OPERA -------
33
34 * Opera 6.11
35
36 First of all: Opera 6.11 doesn't pass complete URL to external programs - only URL
37 without protocol. don't know wheather this behaviour has changed in later releases.
38
39 create xmule_submit.sh with this content:
40
41 #!/bin/sh
42 /usr/local/bin/ed2k "ed2k://$1";
43
44 now edit (as root) /etc/opera6rc or as non-root ~/.opera/opera6.ini:
45
46 [Trusted Applications]
47 ed2k=/usr/local/bin/xmule_submit.sh
48
49 [User Prefs]
50 TrustedExternalURLProtocols=ed2k
51
52 (Credits: thermoman ( Marcel Meckel ) )
53
54 * Opera 7.1 (slightly different from Opera 6)
55
56 Edit either /etc/opera6rc or ~/.opera/opera6.ini and add the following:
57
58 in [User Prefs]
59 TrustedExternalURLProtocols=ed2k
60
61 in [Trusted Applications]
62 ed2k=/path/to/ed2k ed2k://%u
63
64 (Credits: ender)
65
66 ------- MOZILLA -------
67 1) Go to http://protozilla.mozdev.org/download.html
68 Choose the version fitting your mozilla-version and click on "install". It will auto-install protozilla
69 Now close mozilla completely.
70
71 Notes:
72 - You must have write permission to the mozilla-installation-directory for this. If you've installed mozilla to /usr , you'll have to be root probably.
73 - The downloadable precompiled version of protozilla apparently does _not_ work with debian mozilla packages. It _does_ work together with the precompiled version of 1.2.1 available at mozilla.org for example [or you can build both mozilla and protozilla yourself]
74
75 2) This step is only necessary if you had to start mozilla as root in step 1). If you did step 1) with the same user as you normally use, you can skip it
76
77 as root do:
78 cp -r /root/.mozilla/PROFILENAME/RANDOM.slt/protozilla/
79 /home/USERNAME/.mozilla/PROFILENAME2/RANDOM.slt/"
80
81 [copy protozilla-configuration from root's home to user's home]
82
83 cd /home/USERNAME/.mozilla/PROFILENAME/RANDOM.slt/
84 chown -R YOURUSER.YOURGROUP protozilla"
85
86 [cd to user's mozilla config-dir and change file-ownership parameters]
87
88 Note:
89 USERNAME: name of your normal, non-root user
90 PROFILENAME: name of the profile you'll want to use
91 RANDOM: random alphanumeric string, autogenerated by mozilla
92 YOURUSER, YOURGROUP: user and group of your normal user
93
94 3) setup a protocol-handler for ed2k-links:
95 - cd to ~/.mozilla/PROFILENAME/RANDOM.slt/protozilla/protocol
96
97 -create a file called "ed2k.cmd" with the following content:
98
99 ed2k ed2k:$URI_DATA
100
101 [do this with your favorite text-editor, the file doesn't have to be executable]
102
103 Now restart mozilla, and everything should work.
104
105 (Credits: rpokorny ( R. Pokorny ) )
106
107

  ViewVC Help
Powered by ViewVC 1.1.5