Hi folks, sorry If if I’m in the wrong section, it’s just that maybe somebody here had similar kind of annoyance and already found the solution. An hour of gooleing around didn’t really yield any results.
I’m looking for an easy fix for slow firefox boot time. I would like to run some process in the background - similar to what chromium does. So that when I close the firefox, next time when I’m opening it again, FF started up almost immediately. When I have FF running and open another instance of it - it opens up almost immediately.
I’m not sure that it is manjaro related issue, but just in case anyone is wondering, I’m running KDE plasma.
I’m so sorry. I ran dmesg | less - the first pinned post in the “How to provide good information” thread. Wasn’t sure myself how exactly that info supposed to help. Anyway, here’s the output you have been looking for.
Thanks guys, I already tried that before creating this thread. Sorry for not mentioning it in OP. Same kind of issue. Well, not an issue really, more of an annoyance. Chromium runs something in the background and because of that opens almost immediately but Firefox does not have a daemon or anything, so first instance takes around 4-5 seconds but every other instance starts almost immediately, even faster than Chromium. So I was hoping, that maybe I can tweak FF’s about:config somehow or something quick like that.
I also cleared startup cache. Clean install of FF DE behaves in a same manner.
Chromium doesn’t run anything in the background by default unless you changed something. I think you’ll get more help by providing info about startup times for a new clean profile compared to chromium. Or what about installing nightly to see if it makes any difference?
What do you get for about:telemetry → Simple Measurements → firstPaint
Tried FF nightly - same behavior.
In chromium settings I have “Continue running background apps when Chromium is closed” ticked on - that’s why I thought that it’s running some daemon for faster start up.
not sure this still works but if you want to try.
note root directory: your going to want to copy & paste the path later.
go into your autostart/startup app, depends on your desktop your using.
firefox --headless -P /the/profile/path
for example i use sway, so mine looks like this to autostart apps.
Thanks a lot man, that’s a beautiful WM you have there.
I couldn’t find such folder in my DE (KDE), I think that I have to create .desktop file and place it here /usr/share/applications .
I tried running this command in terminal and got an error:
exec firefox --headless -P /home/god/.mozilla/firefox/g49zs465.default-release
*** You are running in headless mode.
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
Warning: Program ‘/bin/bash’ crashed.
But thanks for the effort, I really appreciate it.
Could be I screwed it up? Anyone know is there a different folder or maybe I have to create .desktop file from scratch by following KDE guide and add it through GUI “Autostart”?
okay, kde it is.
open your file manager(dolphin?), press ctrl+h to show hidden.
go .config-> autostart(create if not there)
right click-> new file-> rename-> firefox.desktop
open in your text editor
Exec=firefox --headless -P /home/god/.mozilla/firefox/g49zs465.default-release
not much you can do to start firefox faster.
it is what it is, i didn’t think it was that bad, 6 bounces of the firefox icon seems pretty decent to me on my rpi4 4gb.
i just loaded a fresh copy of kde on to a sd card, i have it on usb but it was getting to hot, i don’t have a fan on my rpi4.
anyways i’ll boot up kde in a bit & have a look around some more.