How to make Epiphany to open PDF files with evince

Most GNOME users probably know that annoying behaviour of Epiphany web browser to open downloaded PDF files with GIMP image editor. The least to say that’s quite inappropriate. If you, like me, prefer to view PDF files in evince then run the following code in a terminal window:

$ sudo sed -i 's/pdf=gimp.desktop;evince.desktop;/pdf=evince.desktop;gimp.desktop;/' \