[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: minor issue : gnome, epiphany and iceweasel



El 01/07/11 09:40, Matej Kosik escribió:

When listing text-files in gnome-terminal, if those files contains URLs, gnome-terminal enables me to follow those links by starting a web-browser.
This is handy.
However, I have noticed some confusing behavior.

When I follow HTTP links, e.g.:
http://www.youtube.com/watch?v=Yg0tVUnLOAM
iceweasel is started. This is fine and exactly what I want.

When I follow FILE links, e.g.:
file:///usr/share/doc/libbitstring-ocaml-dev/html/api/Bitstring.html
epiphany is started. I do not understand why epiphany and not iceweasel.

(...)

You can make Icewesel the default application to handle file:// protocol, here are the steps:

1. Create a new "file" folder under:

$HOME/.gconf/desktop/gnome/url-handlers/

2. Copy "$HOME/.gconf/desktop/gnome/url-handlers/http/%gconf.xml" and paste there "$HOME/.gconf/desktop/gnome/url-handlers/file/%gconf.xml"

3. Edit that file as desired:

<?xml version="1.0"?>
<gconf>
	<entry name="needs_terminal" mtime="1308778239" type="bool" value="false"/>
	<entry name="enabled" mtime="1308778239" type="bool" value="true"/>
	<entry name="command" mtime="1308778239" type="string">
		<stringvalue>firefox &quot;%s&quot;</stringvalue>
	</entry>
</gconf>

4. Relogin and check :-)

P.S: Is not a clean solution because the schema is not registered/populated globally for thid kind of url-handler but maybe this is better than nothing.

Greetings,

--
Camaleón


Reply to: