this post was submitted on 18 Nov 2024
17 points (90.5% liked)

Linux

48331 readers
474 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

My Flatpak Firefox v. 132 freezes regularly especially if I'm on a site with lots of images and videos (like YouTube).

I was told by another user that copying everything from the original profile's directory (profile1) to a newly created profile's directory (profile2) stopped the freezing issues for them:

/home/mario/.var/app/org.mozilla.firefox/cache/mozilla/firefox/profile1/

/home/mario/.var/app/org.mozilla.firefox/cache/mozilla/firefox/profile2/

However, after copying data from profile1's directory to profile2's directory, setting profile2 as the default profile in about:profiles, and restarting Flatpak Firefox, profile2 doesn't load up any of my bookmarks, bookmark folders, passwords, or extensions from profile1—Firefox runs as if it was freshly installed (it guides me through the process of importing bookmarks, passwords, etc.).

How do I resolve this issue?

Edit 1: I think that I may have gotten it to work. I transferred files from:

/home/mario/.var/app/org.mozilla.firefox/.mozilla/firefox/profile1/

to

/home/mario/.var/app/org.mozilla.firefox/.mozilla/firefox/profile2/

And everything seems to be working. I'll test this out and update this post to let you guys know if it really worked or not.

top 9 comments
sorted by: hot top controversial new old
[–] drkt@scribe.disroot.org 2 points 6 days ago

I know its antithetical to Flatpak sandboxing, but I genuinely spent hours trying to move a non-Flatpak profile to flatpak and gave up. I gave the Flatpak filesystem permissions and then it would use the usual ~/.firefox folder, even if it says it doesn't in about:profiles.

I can't explain why any of this works the way it does but it appears that Firefox is just very confused about profiles when it exists in a Flatpak container.

[–] savvywolf@pawb.social 2 points 6 days ago (1 children)

Are you sure you have the right folder? Does ~/.var/app/org.mozilla.firefox/.mozilla exist?

cache suggests you've only moved your cached data, not your profile.

[–] KickassWomen@lemmy.world 2 points 6 days ago (2 children)

That's the problem, when I go to about:profiles, Firefox says that the root directories for the two profiles are:

  • profile1 = /home/mario/.mozilla/firefox/ctd2ygzm.profile1
  • profile 2 = /home/haque1/.mozilla/firefox/fk2o00h5.profile2

But I can't find the directories for either of these profiles in /home/mario/.mozilla/firefox/

I have enabled the "Show hidden files" option in Thunar and I have even launched it as root from the terminal (sudo thunar) and I still can't find these profile directories.

[–] savvywolf@pawb.social 10 points 6 days ago

Flatpak creates a "fake" home directory as part of its sandboxing. So what firefox sees as /home/mario is actually /home/mario/.var/app/org.mozilla.firefox/. At least on Mint, might be different in debian?

[–] that_leaflet@lemmy.world 2 points 6 days ago

Flatpak firefox stores that stuff in ~/.var/app/org.mozilla.firefox

[–] eldavi@lemmy.ml 2 points 6 days ago (1 children)

i do this my setting up a firefox account and syncing all of those things into my account.

that way, my firefox setup is always the same from computer-to-computer as well as from computer-to-smartphone.

that fact that yours is freezing suggests that something is wrong with your setup; do you get the same behavior if you use a non-flatpak version of firefox?

[–] KickassWomen@lemmy.world 2 points 5 days ago (1 children)

I'm happy that syncing works for you but privacy is very important to me so I don't want to upload my data to someone else's server(s).

I'm going to experiment with uninstalling flatpak firefox completely and reinstalling it to see if it'll fix the issue.

If that doesn't work, I'll try using firefox downloaded & installed with apt.

[–] eldavi@lemmy.ml 2 points 5 days ago (1 children)

I’m happy that syncing works for you but privacy is very important to me so I don’t want to upload my data to someone else’s server(s).

i think that you're smart to considering mozilla's trajectory.

i'm kicking myself for not applying my enshitification experiences that comes naturally from profit driven organizations (especially when they claim to be non-profits). i should have seen it coming since i've been moving from one platform to another because of enshitification since the 1990's and now i'm just as stuck inside an ecosystem like redditors and facebookers are; but it's worse since the most viable alternatives are no better.

[–] KickassWomen@lemmy.world 2 points 5 days ago

Tell me about it, it took me a long time to get out of google's ecosystem. As cliche as it sounds, you have to do it one step at a time