apt:// should be supported in Epiphany

Bug #235128 reported by Jeff Fortin Tam
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apturl
Invalid
Undecided
Unassigned
apturl (Ubuntu)
Triaged
Wishlist
Unassigned
epiphany-browser (Ubuntu)
In Progress
Wishlist
Ubuntu Desktop Bugs

Bug Description

apt:// links do not seem to work in epiphany-browser

Changed in apturl:
status: New → Confirmed
status: New → Confirmed
Revision history for this message
Mariano Draghi (chaghi) wrote :

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)

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I'm happy to add that, but I can not edit the file directly on package install. So it needs to be either added to the epiphany package or there needs to be a way to drop a file with addtional preferences (like there is with firefox).

Thanks,
 Michael

Changed in apturl:
importance: Undecided → Wishlist
status: Confirmed → Triaged
status: Confirmed → Invalid
Revision history for this message
Mike Pontillo (mpontillo) wrote :

I think this should be fixed in the Epiphany package and sent upstream to Debian if not already there. I can take a look at the Debian merge and see if I can get this in as well.

summary: - Should support epiphany as well
+ apt:// should be supported in Epiphany
Changed in epiphany (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Confirmed
affects: epiphany (Ubuntu) → epiphany-browser (Ubuntu)
Revision history for this message
Mike Pontillo (mpontillo) wrote :

I have a bzr branch that fixes this (and merges from Debian) at: lp:~mpontillo/epiphany-browser/ubuntu/

Changed in epiphany-browser (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

the epiphany-browser task is duplicate of bug #357812

Changed in epiphany-browser (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Goyo (goyodiaz) wrote :

This was fixed a long time ago.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.