Reply to topic

Offer the OpenSUSE Firefox for KDE from the Neon repo

albenson
Registered Member
Posts
44
Karma
1
Mozilla's been hostile to KDE for a long time, and they refuse (for once) to do what Chrome has done and make their browser work with Plasma "out of the box." A freshly installed Chromium variant will use the KDE load and save dialogs without any fuss when running on Plasma, but Firefox stubbornly inflicts the awful GTK file picker on everyone.

Now we've got the option of using XDG desktop portal, which I believe Neon enables by default for Firefox (by means of a short script in /usr/sbin), but that's not a complete solution.

Using Firefox with the portal, the preview panel on the right of the save dialog does not appear. The checkbox in Options for enabling the preview panel is grayed out, and so is the "automatically choose filename extension" checkbox. It's necessary to set the file filter to All files to re-enable the checkbox, then to check the box, each time you save a file. Having the preview is important when working with images, and it should not take that many steps to get it to work each time.

I have also noticed that Firefox freezes for several seconds after saving a file (to a directory with a lot of files) with the desktop portal in use, like it's finishing the enumeration and sorting in the file save dialog, even though it's closed, before it will return control to Firefox. It does that every single time.

OpenSUSE, as I am sure you know, created a patch to better integrate Firefox with KDE/Plasma years ago. The Firefox that comes preinstalled on OpenSUSE and that resides within their repo is the patched version, and it has been for some time, and I am sure they would have pulled it or at least made it an option rather than the only version they offer if it was a problem.

It's not the ideal solution (it needs a small helper program to make it fully work, which is kind of klunky), but it is better than what you get with the desktop portal. Firefox refuses to play nice with Plasma, and I don't think Canonical is willing to bend at all either, but they're coming from a GNOME-is-king mindset (as is Red Hat).

Neon, though, is all about KDE, and the best KDE experience with Firefox is with the OpenSUSE patched version. As such, it would make a lot of sense to make a Firefox version with the OpenSUSE patches available in the Neon repo. That way, those who want the unpatched Firefox could still get it from the Ubuntu repo that is already used for Neon, by installing the standard 'firefox' package, and the rest can have the Firefox experience on Plasma that Mozilla should have offered. OpenSUSE already maintains the patch, so it would not be too hard to do.

At present, I have taken to downloading the .RPM binary from OpenSUSE and installing it either by first converting it to .deb with alien, or else just using Ark and extracting it directly. I also converted the kmozillahelper package to .deb with alien and installed that. Now Firefox works seamlessly with Plasma, with everything in the save dialog working. That's as it should be for KDE!
jasonwert
Registered Member
Posts
4
Karma
0
OS
I would also like to see this. It would make Firefox more of a first class citizen. I'm guessing most people are using Chrome these days in KDEland
scrawfuela
Registered Member
Posts
14
Karma
0
Ah, I'd forgotten about the OpenSuse patched Firefox.

At present, I have taken to downloading the .RPM binary from OpenSUSE and installing it either by first converting it to .deb with alien, or else just using Ark and extracting it directly. I also converted the kmozillahelper package to .deb with alien and installed that. Now Firefox works seamlessly with Plasma, with everything in the save dialog working.


I would be interested in getting links to the two items - the Firefox rpm binary and kmozilla for downloading, converting and installing.
Also when you say you used Ark to extract the contents of the rpm - how then do you install?
Or do you run an executable from the extracted contents?

Any information gratefully received and acted upon,

hugh
mparillo
Registered Member
Posts
15
Karma
0
OS
Here is how it is done in the Arch User Repository:
https://aur.archlinux.org/cgit/aur.git/ ... e-opensuse

Note that when I tried to run it on my laptop, I overheated and crashed.
scrawfuela
Registered Member
Posts
14
Karma
0
mparillo wrote:Here is how it is done in the Arch User Repository:
https://aur.archlinux.org/cgit/aur.git/ ... e-opensuse

Note that when I tried to run it on my laptop, I overheated and crashed.


Thanks for the response. I have built stuff from the AUR before but only when I had an arch install.
Also I would be concerned that your laptop darn near caught fire. This would also stop me trying to build an rpm for neon.

Since I posted my request I visited OpenSuse's software search and found a Tumbleweed Firefox branded rpm which seemed up to date - 83.x
I downloaded and extracted with ARK. I drilled down into the resulting three (3) folders but each was empty.
Abandoned that notion and deleted the rpm and the extracted folders.

I wonder how the OP managed it? Perhaps they will see my request sometime and write a quick how-to.
Here's hoping,
Hugh

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], dchmelik, Google [Bot], irvingarrietavazquez, Majestic-12 [Bot], MountainX, win8linux