blob: 13edab4b26ff8480a75bd51aba755b326e951329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<!doctype html>
<html lang="EN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/style.css">
<title>Bloggings</title>
</head>
<body>
<header>
<h1>Bloggings</h1>
<a href="/index.php">Back</a>
</header>
<main>
<article>
<h2>Fixing a 25 second startup delay in Firefox</h2>
<h3>06-09-2023</h3>
<p>
I found Firefox was taking a while to launch in XFCE4. I tested removing
the plugins, emptying the cache, etc. but nothing worked.
</p>
<p>
Eventually I ran "strace Firefox" and found it was hanging polling
something for 25 seconds.
</p>
<p>
So armed with the readout from strace, I searched and found the solution :
</p>
<code>
sudo pacman -Rndd xdg-desktop-portal
</code>
<p>
I kept xdg-desktop-portal-gtk as the bug isn't in there. Apparently
xdg-desktop-portal-gnome has the same bug, but I don't use Gnome so...
</p>
<p>Both Firefox and Libreoffice now launch in milliseconds!</p>
<p>I hope this helps someone else...</p>
</article>
</main>
<footer>
<p> </p><p>§</p></footer>
</body></html>
|