Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Registering firefox protocols
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
steevo
n00b
n00b


Joined: 13 Jan 2006
Posts: 4
Location: Missouri

PostPosted: Fri Jan 13, 2006 6:49 am    Post subject: Registering firefox protocols Reply with quote

When I had ubuntu install back when I first started using Linux (~2 months ago) I did the equivalent of emerge samba and firefox had the smb:// protocol registered and a plugin/app was used for browsing the share within the firefox browser. Any idea what I can do to get the same usage from my gentoo firefox?
Back to top
View user's profile Send private message
dyeu
n00b
n00b


Joined: 07 Sep 2004
Posts: 40
Location: Belgium

PostPosted: Fri Jan 13, 2006 10:54 am    Post subject: Reply with quote

I am not sure this is what you want, but adding :
Code:
user_pref("network.protocol-handler.app.[protocol_name]", "/[path_to_executable]");

to your user.js registers [executable] as the handler for [protocol_name].

You can also use the about:config page to add a new String, name = network.protocol-handler.app.[protocol_name] and value = [path_to_executable]

Does this do the trick ?
Back to top
View user's profile Send private message
steevo
n00b
n00b


Joined: 13 Jan 2006
Posts: 4
Location: Missouri

PostPosted: Sat Jan 14, 2006 3:51 am    Post subject: Reply with quote

Thanks for the tip, but where I'm stuck is what executable to use in the string value (using the about:config method). I was wondering if there was an executable with the samba package to use or if there was another package to emerge.

If nothing else I could just use the konqueror browser - don't know much about it, but the samba page says it has the protocol registered with a browsable feature.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum