Make Electron flags available for native Wayland support
As a user, I want the possibility to start GitKraken Client in a native Wayland client. At the moment, when I start the GitKraken Client in a hidpi environment under Wayland/xWayland, the result is blurry and hard to use (see screenshot).
I couldn't find any hint which Electron version is currently used by GitKraken. However, because Electron supports Wayland natively since version 12, I would like to suggest that you enable the corresponding feature flags `--enable-features=UseOzonePlatform --ozone-platform=wayland`.
Thx in advance!
Comments: 8
-
04 Feb, '22
Cooper GarnerHopefully this can get fixed because my current solution is running it at 100% because i get headaches with the blur for some reason.
100% on a 13.3” 3000x2000 display isn’t much better too but 🤷 -
10 Jun, '22
DamianThis seems to work now, tested on Gitkraken 8.5 on KDE Plasma 5.25
-
24 Feb, '23
GrabbenDThis doesn't work any longer :/
# gitkraken --enable-features=UseOzonePlatform --ozone-platform=wayland
[1455001:0220/201342.280249:ERROR:egl_util.cc(74)] Failed to load GLES library: libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[1455001:0220/201342.280862:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
LaunchProcess: failed to execvp:
xdg-settings
[1454964:0220/201342.355628:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull -
24 Feb, '23
GrabbenDFor reference, Linux fork of Github Desktop (Electron) had this issue in the past: https://github.com/shiftkey/desktop/issues/771
-
25 Mar, '23
GrabbenDLooks like it almost works with GitKraken 9.2.1 update. Nothing happens though when you try to use "Sign in with Github" button. If you try to do it manually with a classic OAuth Token it says:
> Error: Could not swave token.
> Please verify the token is correct and try again -
11 Oct, '23
Steve-Tech`gitkraken --ozone-platform-hint=auto` works okay for me, but it doesn't follow the cursor themes of everything else.
I was also already logged in from running under X, so I haven't tried the "Sign in with Github" button.
I'm using version 9.9.1. -
11 Oct, '23
GrabbenD9.9.1 works quite good on Wayland!
I've only noticed issue with dropdown menus while cloning repositories, they don't collapse themselves when clicking away or after selecting a repository.
Also, heaps up.. Gnome is deprecating X11 in their next major release -
06 Dec, '23
AsjurI suggest for now just adding the flags to your desktop file so at least you can use it under wayland, even if not default.
If you use flatpak, make sure to allow wayland access using flatseal, then you can copy your desktop file from here:
/var/lib/flatpak/app/com.axosoft.GitKraken/current/active/export/share/applications/com.axosoft.GitKraken.desktop
to here:
~/.local/share/applications
Open it up and change the exec line to so:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gitkraken --file-forwarding com.axosoft.GitKraken --enable-features=UseOzonePlatform --ozone-platform=wayland @@u %U @@
Now it will run under wayland.