It seems that the apturl protocol-handlers are not added to the default
preferences, so when clicking on an aptURL, epiphany doesn't know how to
handle it (and opens an ugly dialog box asking the user to choose an
application).

Adding the correct handlers seems to correct the problem. I added the
following lines to /usr/share/epiphany-browser/default-prefs.js

pref("network.protocol-handler.app.apt","/usr/bin/apturl");
pref("network.protocol-handler.warn-external.apt",false);
pref("network.protocol-handler.app.apt+http","/usr/bin/apturl");
pref("network.protocol-handler.warn-external.apt+http",false);

(which I copied from /usr/share/firefox/defaults/pref/apturl.js)

-- 
epiphany
https://bugs.launchpad.net/bugs/235128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to