Check for existence of gedit before trying to launch it
MODIFY
WalletWasabi.Gui/Helpers/FileHelpers.cs
WalletWasabi.Gui/Helpers/FileHelpers.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.Gui.Helpers
{
// If no associated application/json MimeType is found xdg-open opens retrun error
// but it tries to open it anyway using the console editor (nano, vim, other..)
- await EnvironmentHelpers.ShellExecAsync($"gedit {filePath} || xdg-open {filePath}", waitForExit: false).ConfigureAwait(false);
+ await EnvironmentHelpers.ShellExecAsync($"which gedit &> /dev/null && gedit {filePath} || xdg-open {filePath}", waitForExit: false).ConfigureAwait(false);
}
else
{

Check for existence of gedit before trying to launch it