Skip to content

Commit d08d073

Browse files
authored
fix(linux): electron 35 to fix GTK error (#2953)
downgrading electron until it is "safe" to use GTK4 as the new default. this feels safer than hardcoding app.commandLine.appendSwitch('gtk-version', '3') in our code. Closes #2952
1 parent cb5e18d commit d08d073

File tree

3 files changed

+46
-41
lines changed

3 files changed

+46
-41
lines changed

README.md

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -31,39 +31,40 @@ When in doubt, pick one of package formats with built-in automatic update mechan
3131

3232
### Table of Contents
3333

34-
- [Features](#features)
35-
- [Start your node at system startup and control it from your OS](#start-your-node-at-system-startup-and-control-it-from-your-os)
36-
- [Quickly import files, folders, and screenshots to IPFS](#quickly-import-files-folders-and-screenshots-to-ipfs)
37-
- [Easily manage the contents of your node](#easily-manage-the-contents-of-your-node)
38-
- [Visualize your IPFS peers worldwide](#visualize-your-ipfs-peers-worldwide)
39-
- [Explore the "Merkle Forest" of IPFS files](#explore-the-merkle-forest-of-ipfs-files)
40-
- [Enjoy OS-wide support for IPFS files and links](#enjoy-os-wide-support-for-ipfs-files-and-links)
41-
- [Learn IPFS commands as you go](#learn-ipfs-commands-as-you-go)
42-
- [Install](#install)
43-
- [Windows](#windows)
44-
- [Mac](#mac)
45-
- [Linux/FreeBSD](#linuxfreebsd)
46-
- [Install from source](#install-from-source)
47-
- [Contribute](#contribute)
48-
- [Translations](#translations)
49-
- [Developer notes](#developer-notes)
50-
- [FAQ & Troubleshooting](#faq--troubleshooting)
51-
- [Why am I missing the system tray menu on Linux?](#why-am-i-missing-the-system-tray-menu-on-linux)
52-
- [Why can't I install IPFS Desktop under Debian 11?](#why-cant-i-install-ipfs-desktop-under-debian-11)
53-
- [Why can't I start IPFS Desktop under Debian 10?](#why-cant-i-start-ipfs-desktop-under-debian-10)
54-
- [Where are my configuration and log files?](#where-are-my-configuration-and-log-files)
55-
- [IPFS Desktop configuration](#ipfs-desktop-configuration)
56-
- [Kubo repository and configuration](#kubo-repository-and-configuration)
57-
- [How does IPFS Desktop select the IPFS repo location?](#how-does-ipfs-desktop-select-the-ipfs-repo-location)
58-
- [Which version of IPFS does IPFS Desktop use?](#which-version-of-ipfs-does-ipfs-desktop-use)
59-
- [Which flags does IPFS Desktop boot with?](#which-flags-does-ipfs-desktop-boot-with)
60-
- [I got a `repo.lock` error. How do I resolve this?](#i-got-a-repolock-error-how-do-i-resolve-this)
61-
- [I got a network error (e.g. `Error fetching`). What should I do?](#i-got-a-network-error-eg-error-fetching-what-should-i-do)
62-
- [Error: Initializing daemon...](#error-initializing-daemon)
63-
- [Error: Your programs version (N) is lower than your repos (N+x).](#error-your-programs-version-n-is-lower-than-your-repos-nx)
64-
- [Found outdated fs-repo, migrations need to be run. - Error fetching: context deadline exceeded](#found-outdated-fs-repo-migrations-need-to-be-run---error-fetching-context-deadline-exceeded)
65-
- [I need more help!](#i-need-more-help)
66-
- [License](#license)
34+
- [Features](#features)
35+
- [Start your node at system startup and control it from your OS](#start-your-node-at-system-startup-and-control-it-from-your-os)
36+
- [Quickly import files, folders, and screenshots to IPFS](#quickly-import-files-folders-and-screenshots-to-ipfs)
37+
- [Easily manage the contents of your node](#easily-manage-the-contents-of-your-node)
38+
- [Visualize your IPFS peers worldwide](#visualize-your-ipfs-peers-worldwide)
39+
- [Explore the "Merkle Forest" of IPFS files](#explore-the-merkle-forest-of-ipfs-files)
40+
- [Enjoy OS-wide support for IPFS files and links](#enjoy-os-wide-support-for-ipfs-files-and-links)
41+
- [Learn IPFS commands as you go](#learn-ipfs-commands-as-you-go)
42+
- [Install](#install)
43+
- [Windows](#windows)
44+
- [Mac](#mac)
45+
- [Linux/FreeBSD](#linuxfreebsd)
46+
- [Install from source](#install-from-source)
47+
- [Contribute](#contribute)
48+
- [Translations](#translations)
49+
- [Developer notes](#developer-notes)
50+
- [FAQ & Troubleshooting](#faq--troubleshooting)
51+
- [Why am I missing the system tray menu on Linux?](#why-am-i-missing-the-system-tray-menu-on-linux)
52+
- [Why can't I install IPFS Desktop under Debian 11?](#why-cant-i-install-ipfs-desktop-under-debian-11)
53+
- [Why can't I start IPFS Desktop under Debian 10?](#why-cant-i-start-ipfs-desktop-under-debian-10)
54+
- [`GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported`](#gtk-23-symbols-detected-using-gtk-23-and-gtk-4-in-the-same-process-is-not-supported)
55+
- [Where are my configuration and log files?](#where-are-my-configuration-and-log-files)
56+
- [IPFS Desktop configuration](#ipfs-desktop-configuration)
57+
- [Kubo repository and configuration](#kubo-repository-and-configuration)
58+
- [How does IPFS Desktop select the IPFS repo location?](#how-does-ipfs-desktop-select-the-ipfs-repo-location)
59+
- [Which version of IPFS does IPFS Desktop use?](#which-version-of-ipfs-does-ipfs-desktop-use)
60+
- [Which flags does IPFS Desktop boot with?](#which-flags-does-ipfs-desktop-boot-with)
61+
- [I got a `repo.lock` error. How do I resolve this?](#i-got-a-repolock-error-how-do-i-resolve-this)
62+
- [I got a network error (e.g. `Error fetching`). What should I do?](#i-got-a-network-error-eg-error-fetching-what-should-i-do)
63+
- [Error: Initializing daemon...](#error-initializing-daemon)
64+
- [Error: Your programs version (N) is lower than your repos (N+x).](#error-your-programs-version-n-is-lower-than-your-repos-nx)
65+
- [Found outdated fs-repo, migrations need to be run. - Error fetching: context deadline exceeded](#found-outdated-fs-repo-migrations-need-to-be-run---error-fetching-context-deadline-exceeded)
66+
- [I need more help!](#i-need-more-help)
67+
- [License](#license)
6768

6869
## Features
6970

@@ -238,6 +239,10 @@ This is a known issue with Electron/Chrome and some hardened kernels. More detai
238239
$ ipfs-desktop --no-sandbox
239240
```
240241

242+
### `GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported`
243+
244+
See [ipfs-desktop#2952](https://github.com/ipfs/ipfs-desktop/issues/2952).
245+
241246
### Where are my configuration and log files?
242247

243248
> [!IMPORTANT]

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@playwright/test": "^1.50.0",
5151
"cross-env": "^7.0.3",
5252
"dotenv": "^16.0.0",
53-
"electron": "^36.2.1",
53+
"electron": "^35.4.0",
5454
"electron-builder": "26.0.11",
5555
"got": "^12.0.3",
5656
"ipfs-or-gateway": "^4.1.0",

0 commit comments

Comments
 (0)