LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   epiphany external protocol/url handler: can't configure ed2k (https://www.linuxquestions.org/questions/linux-desktop-74/epiphany-external-protocol-url-handler-cant-configure-ed2k-653921/)

fbianconi 07-06-2008 01:23 PM

epiphany external protocol/url handler: can't configure ed2k
 
I'm trying to configure epiphany protocol/url handler to work with ed2k
so far I try this:
1) in about:config
i've made the following key/values pairs:
(boolean) network.protocol-handler.external.ed2k;true
(string) network.protocol-handler.app.ed2k;/usr/bin/ed2k
But this caused to open a weird window each time I hit on a ed2k link. This window doesn't has title or description. Has a list on it with an item "choose application..." label and a "choose" button, when I select /usr/bin/ed2k and go back to this window can't press neither of the buttons at bottom (accept/cancel). I mean I hit them, but nothing happens. This window also has a checkbox on it but no text.
(yes this is a bug and I filled a bug report for it)

When I reset the keys network.protocol-handler.external.ed2k and network.protocol-handler.app.ed2k And hit an ed2k link shows a message saying "ed2k is not a registered protocol".

2) I also try
Code:

gconftool-2 -t string -s /desktop/gnome/url-handlers/ed2k/command "/usr/bin/ed2k \"%s\""
gconftool-2 -t bool -s /desktop/gnome/url-handlers/ed2k/enabled true
gconftool-2 -t bool -s /desktop/gnome/url-handlers/ed2k/needs_terminal false

To see if this was a gnome issue, now the run dialog (Alt+F2) can take ed2k links, but this was not my objective. I want ephy to do it :(
I'll check if there are *.desktop files for this kind of things, but I'd still appreciate if someone already has the answer. I'll check as well if there's a nautilus url handler aproach.
Not a natural english writer, please forgive mistakes, but remark 'em


All times are GMT -5. The time now is 09:11 PM.