While trying to change Discord to use Wayland:
$ flatpak run com.discordapp.Discord --enable-features=UseOzonePlatform --ozone-platform=wayland
Disabling updates already done
[5:0603/051518.107507:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Discord 0.0.54
[5:0603/051518.417571:ERROR:wayland_connection.cc(193)] Failed to connect to Wayland display: No such file or directory (2)
[5:0603/051518.417587:ERROR:ozone_platform_wayland.cc(259)] Failed to initialize Wayland platform
[5:0603/051518.417591:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
/app/bin/com.discordapp.Discord: line 17: 5 Segmentation fault (core dumped) env TMPDIR=$XDG_CACHE_HOME zypak-wrapper /app/discord/Discord $FLAGS "$@"
2024/06/03 05:15:18 socat[3] W exiting on signal 15
I guess this Discord package does not support Wayland?
Or, is there a different way to change the settings?