You are not logged in.
I have an issue with Electron apps (slack, tidal-hifi, windsurf / vscode, to name a few). They fail to start, with no visible error messages even when starting from console, unless I add a CLI flag like slack --gtk-version=3.
I run a fully updated Arch linux, using Wayland with the Intel XE driver, GNOME, and have the following list of installed packages having `gtk` in the name:
adapta-gtk-theme 3.95.0.11-3
adapta-gtk-theme-colorpack 3.94.0.149-1
clutter-gtk 1.8.4-4
colord-gtk-common 0.3.1-1
colord-gtk4 0.3.1-1
gst-plugin-gtk 1.26.2-2
gst-plugin-gtk4 0.13.6-1
gtk-update-icon-cache 1:4.18.6-1
gtk-vnc 1.5.0-1
gtk2 2.24.33-5
gtk3 1:3.24.49-2
gtk4 1:4.18.6-1
gtkmm-4.0 4.18.0-2
gtksourceview4 4.8.4-2
gtksourceview5 5.16.0-2
libappindicator-gtk2 12.10.0.r298-4
libappindicator-gtk3 12.10.0.r298-4
libdbusmenu-gtk2 16.04.0.r498-2
libdbusmenu-gtk3 16.04.0.r498-2
libnma-gtk4 1.10.6-3
libportal-gtk3 0.9.1-2
libportal-gtk4 0.9.1-2
transmission-gtk 4.0.6-10
webkit2gtk-4.1 2.48.3-1
webkitgtk-6.0 2.48.3-1
xdg-desktop-portal-gtk 1.15.3-1
xdg-user-dirs-gtk 0.14-1Why do I need to force an older version of GTK? Is there something wrong with my gtk4 setup? Thanks..
Offline
It seems electron has issues with supporting GTK4, see https://github.com/electron/electron/issues/33690
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
So currently the best way is to do something like:
$ cat .config/electron-flags.conf
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--gtk-version=3I'm a bit worried that I'll forget about this completely, as well as miss to realize once electron has been fixed.. On the other side, I really hate having to start everything from console, then keep the terminal open (yes, Slack crashes even after `disown` for example), etc..
Offline
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
Have you tried to enforce wayland, https://wiki.archlinux.org/title/Chromi … er_Wayland
Online