Closed pbabinca closed 6 months ago
I have found a bug in my workstation configuration - I set (and exported) export ELECTRON_OZONE_PLATFORM_HINT=auto
in my ~/.zshrc
. Which worked when I started Google Chat Linux from interactive shell but it didn't work when started from XDG Desktop file. This was, of course, because ~/.zshrc
is sourced for interactive shells. I moved this into ~/.zshenv
and it works like charm now.
That's why this PR is no longer draft.
good to know that ~/.zshenv does the trick ! I personnaly customise the .desktop files and it's a pain to maintain :)
Notice that I tried on my side and ... it doesn't work from .desktop launcher. Only with interactive shell. But : that's probably related to my setup / app launcher / whatever. I'll release asap anyway.
Thank you!
Notice that I tried on my side and ... it doesn't work from .desktop launcher. Only with interactive shell. But : that's probably related to my setup / app launcher / whatever. I'll release asap anyway.
Aren't you on Arch? While searching solution for me a stumbled on this Arch bug: https://bugs.archlinux.org/task/75667
Actually, never mind - that's already closed and for way too old Electron.
Well, I'm on several distros, and Arch too :)
Anyway, problem solved by the obvious solution : logout / login again in my gnome shell :)
Since v28 (see release notes https://releases.electronjs.org/release/v28.0.0 ) there is an interesting new feature in Wayland world: