Page 1 of 1
Installing Librewolf flatpak & use as default browser
Posted: Mon Apr 05, 2021 8:20 pm
by galaxysurfer
Hi,
I thought I would make a how-to for those that want to add this program with the least amount of hassle.
1. Go to
https://librewolf-community.gitlab.io/install/ to grab the latest flatpak. Unfortunately it needs to be manually updated for now until the package is officially added to flathub repo, then you will be able to update through mxpi flatpak repo tab.
From terminal
Code: Select all
cd home/user/Downloads/LibreWolf-86.0.1-1.x86_64.flatpak
* edit with your exact locations & version name
Code: Select all
sudo flatpak install home/user/Downloads/LibreWolf-86.0.1-1.x86_64.flatpak
now check to see that librewolf was added
2. Now to make your librewolf flatpak as preferred browser
Code: Select all
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/master/*xyz/export/bin/io.gitlab.librewolf-community 200
sudo update-alternatives --set x-www-browser /var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/master/*xyz/export/bin/io.gitlab.librewolf-community[/
*xyz will need to insert your actual linked export/bin/ location here
now check your settings in update-alternatives
Code: Select all
sudo update-alternatives --config x-www-browser
to verify which browser is default. It will be the one with * beside it.
now go to Preferred Applications gui & point it at x-www-browser so librewolf will open ( or if you have multi profiles, the profile manager will open)
Happy Browsing with Librewolf!
To update just repeat step 1
Remember to uninstall the older version after
Re: Installing Librewolf flatpak & use as default browser
Posted: Mon Apr 05, 2021 9:45 pm
by andyprough
Very useful, thank you!
Re: Installing Librewolf flatpak & use as default browser
Posted: Tue Apr 06, 2021 2:13 am
by wdscharff
Why not as an AppImage? Download it, make it executable (you can also do this with the file manager), done.
It is also offered on the same download page.
AppImages load, unlike *flatpacks no additional runtimes on the system and are, in my opinion, easier to handle.
I use both, but if I have the choice between AppImage and Flatpack, I prefer AppImage.
Re: Installing Librewolf flatpak & use as default browser
Posted: Fri Apr 09, 2021 1:54 am
by galaxysurfer
I like the default sandboxing aspect. I tried both flatpak & appimage & for me at this point flatpak worked more the way I desire. That is the great thing about Linux, you have freedom to choose your own path!
Here is helpful link I found that explains the differences between the formats.
https://linuxhint.com/snap_vs_flatpak_vs_appimage/
Re: Installing Librewolf flatpak & use as default browser
Posted: Fri Apr 09, 2021 3:54 am
by wdscharff
I use what works, which are both AppImages and Flatpaks . I prefer AppImages.
I know the differences, but I prefer AppImages, which is also related to their size ... which is again related to my backup concept. For example, my snapshots contain my complete /home (except pictures/music/videos).
With AppImages around 13GB, with Flatpaks I got >20GB.
That doesn't fit on 16gb sticks anymore :)
Yes, that's the nice thing about Linux, everyone has the choice to use (mostly) what suits him best.
Translated with
www.DeepL.com/Translator (free version)
Re: Installing Librewolf flatpak & use as default browser
Posted: Sun Apr 25, 2021 6:57 am
by Girafenaine
Hello,
Thanks for sharing this interesting browser project.
I read about and I have tried it since 3 weeks and it seems good. I have used palemoon for years and still like it, but some displaying issues sometimes, and less up-to-date plugins available.
Two more things about privacy :
- I use LibreWolf AppImage, with firejail as a "container". I use this command : "firejail --appimage --profile=librewolf ~/.local/bin LibreWolf-87.0-1.x86_64.AppImage"
(you need to force the profile to be used, because firejail uses the name of the command to know which profile to use, and it does not recognize "LibreWolf-87.0-1.x86_64.AppImage")
- Librewolf including Firefox' anti-tracking abilities (still under development), with some great plugins to prevent too much tracking and securities issues (especially uBlock Origin or uMatrix to block third parties script, and auto delete cookies to destroy cookies as soon as tab are closed), that seems a good deal.
An interesting website to experiment and read about online tracking (and be afraid about how unique your PC can be even for a far-far-away robot dealing with terabits of data) :
https://coveryourtracks.eff.org/
Re: Installing Librewolf flatpak & use as default browser
Posted: Sun Jun 06, 2021 2:32 am
by galaxysurfer
Update
Flatpak is now available in flathub so no longer have to manually update it.
Re: Installing Librewolf flatpak & use as default browser
Posted: Fri Jun 25, 2021 2:32 pm
by LionelZaylan
wdscharff wrote: Tue Apr 06, 2021 2:13 am
Why not as an AppImage? Download it, make it executable (you can also do this with the file manager), done.
It is also offered on the same download page.
AppImages load, unlike *flatpacks no additional runtimes on the system and are, in my opinion, easier to handle.
I use both, but if I have the choice between AppImage and Flatpack, I prefer AppImage.
You can also run the appimage inside a sandbox.
You can run it in firejail ( possibly with custom firejail profiles )
You can also run it in bubblewrap.
ArchWiki excellently documents how to sandbox firefox with bubblewrap ( may also be useful for librewolf , as it is heavily based on firefox )
https://wiki.archlinux.org/title/Bubblewrap#Firefox
Re: Installing Librewolf flatpak & use as default browser
Posted: Tue Jul 06, 2021 8:18 am
by Sigi
galaxysurfer wrote: Sun Jun 06, 2021 2:32 am
Update
Flatpak is now available in flathub so no longer have to manually update it.
Thanks for this!

Re: Installing Librewolf flatpak & use as default browser
Posted: Tue Jul 06, 2021 12:55 pm
by andrewjoseph
Instead of LibreWolf, I use a sandboxed temporary firefox (with profile in RAM and cleared on exit) with some user.js changes too.
I use it for my normal browsing , and I have separately sandboxed (non-temporary) profiles for other things that require cookies (Email, forums etc.,)
I think a temporary profile in RAM (via mktemp -d , with /tmp on tmpfs) can do much more than hardening non-temporary profiles ( by design, temporary profiles can't store cookies, persistent cookies etc., )
Sorry, that was off-topic.
Re: Installing Librewolf flatpak & use as default browser
Posted: Tue Jul 06, 2021 1:01 pm
by fehlix
andrewjoseph wrote: Tue Jul 06, 2021 12:55 pm
Instead of LibreWolf, I use a sandboxed temporary firefox (with profile in RAM and cleared on exit) with some user.js changes too.
This thread is about Librewolf flatpak, not about sandboxed temporary firefox. Open a new thread if you want to show something else.
Re: Installing Librewolf flatpak & use as default browser
Posted: Mon Aug 02, 2021 9:02 pm
by Somewhat Reticent
andrewjoseph wrote: Tue Jul 06, 2021 12:55 pm…
Sorry, that was off-topic.
The part about 'doing it in RAM' was germane (alt. sandboxing methods) to me. Thanks.
Re: Installing Librewolf flatpak & use as default browser
Posted: Fri Sep 24, 2021 5:01 am
by gbhollr
Just a quick question.
Does anyone know how to open Librewolfs profile manager?
I can't seem to be able to do it on the terminal like with Firefox.
Re: Installing Librewolf flatpak & use as default browser
Posted: Sat Sep 25, 2021 3:07 pm
by galaxysurfer
The entry under internet menu if you right click on it will show the option to open the profile manager. You can also create a customized .desktop link to said. I will give further instructions as after I update one of my instances on multiple pcs.
Re: Installing Librewolf flatpak & use as default browser
Posted: Mon Oct 04, 2021 2:16 am
by Somewhat Reticent
Testing live MX-21 MX-PackageInstaller Flatpak Librewolf-community works for me; auto-added to menu.
Thanks!
Re: Installing Librewolf flatpak & use as default browser
Posted: Wed Nov 03, 2021 1:41 pm
by Somewhat Reticent
galaxysurfer wrote: I like the default sandboxing aspect. I tried both flatpak & appimage & for me at this point flatpak worked more the way I desire. …
Is there a way to resize or move the Librewolf window?
Is there a way to change its display to a dark or inverted-color mode?
{Where is a discussion of the difference(s) in sandboxing between flatpak and appimage(+firejail/firetools or bubblewrap)?}