@delta@chaos.social desktop Linux client installed from an official arch repo for some reason doesn't work on my Arch Linux with Wayland and Sway installed.
After the launching through wmenu nothing happens. When launching through a terminal emulator I got an error:

[28650:1101/162426.452376:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:250] Missing X server or $DISPLAY
[28650:1101/162426.452426:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
SolutionLaunch Delta Chat client by the following command:
deltachat-desktop --ozone-platform-hint=auto
I don't know how and why, but it works.

@tech@mk.phreedom.club

#DeltaChat #Wayland #ArchLinux #Sway #Linux

in reply to Вулкан

You can also set ELECTRON_OZONE_PLATFORM_HINT=auto environment variable globally or install Xwayland.

deltachat-desktop package does not do anything special, so it works like all other Electron apps:
wiki.archlinux.org/title/Wayla…
If the default should be changed, it should be changed for Electron, not deltachat-desktop specifically.