reference x11 nuget package and configure app for x11 on linux.
MODIFY
Directory.Build.targets
Directory.Build.targets
<ItemGroup>
<PackageReference Update="Avalonia" Version="$(AvaloniaVersion)" />
<PackageReference Update="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
+ <PackageReference Update="Avalonia.X11" Version="$(AvaloniaVersion)" />
<PackageReference Update="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
<PackageReference Update="Avalonia.Xaml.Behaviors" Version="$(AvaloniaBehaviorsVersion)" />
<PackageReference Update="Avalonia.Xaml.Interactions" Version="$(AvaloniaBehaviorsVersion)" />

MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -95,11 +95,7 @@ namespace WalletWasabi.Gui
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
- result.UseGtk3(new Gtk3PlatformOptions
- {
- UseDeferredRendering = true,
- UseGpuAcceleration = true
- }).UseSkia();
+ result.UseX11().UseSkia();
}
{
result.UsePlatformDetect();

MODIFY
WalletWasabi.Gui/WalletWasabi.Gui.csproj
WalletWasabi.Gui/WalletWasabi.Gui.csproj
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" />
+ <PackageReference Include="Avalonia.X11" />
</ItemGroup>
<ItemGroup>

reference x11 nuget package and configure app for x11 on linux.