apt:// should be supported in Epiphany
Bug #235128 reported by
Jeff Fortin Tam
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 |
affects: | epiphany (Ubuntu) → epiphany-browser (Ubuntu) |
Changed in epiphany-browser (Ubuntu): | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
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" ); protocol- handler. warn-external. apt",false) ; protocol- handler. app.apt+ http"," /usr/bin/ apturl" ); protocol- handler. warn-external. apt+http" ,false) ;
pref("network.
pref("network.
pref("network.
(which I copied from /usr/share/ firefox/ defaults/ pref/apturl. js)