Add OpenSUSE's Firefox KDE patches to Abrowser

Category:feature request
Status:patch (needs review)

Firefox/Abrowser doesn't have very good integration with KDE. For this reason the OpenSUSE Firefox maintainers have made patches that add proper mimetype support, KDE file dialogs, etc. Canonical used to apply these patches, but removed them in 12.04. It would be great if Trisquel applies these patches.

The patches are located at I think the necessary files are mozilla-kde.patch, firefox-kde.patch, and kde.js. The only change necessary is replacing MozillaFirefox (firefox-kde.patch:1289) with abrowser. (It depends on the .desktop filename). I will test this tonight.

Mon, 01/27/2014 - 01:16
Status:active» patch (needs review)
Mon, 01/27/2014 - 18:19

Also a package called kmozillahelper is required, in addition to the patches. A debian packaging of it can be found in the PPA at The upstream source code is here:

So, after applying the patches and installing kmozillahelper, my Abrowser is integrated with KDE. I have attached the patches below (I modified mozilla-kde.patch a little)

Also two lines should be added to the pre-build target in the rules file:
mkdir -p $(MOZ_DISTDIR)/bin/defaults/pref/
cp $(CURDIR)/debian/kde.js $(MOZ_DISTDIR)/bin/defaults/pref/kde.js

firefox-kde.patch 77.64 KB
mozilla-kde.patch 129.75 KB
kde.js_.txt (rename to kde.js) 49 bytes
Sat, 02/22/2014 - 04:07

Here are the patches updated for Abrowser 27, with the modified rules and series files.

Of course, the kmozillahelper (or firefox-kde-support) is also needed and must be rebranded.

abrowser27-kde-patches.tar_.gz 45.33 KB
Sat, 02/22/2014 - 04:27