From e14467437de5b1bd0147d28401439be9436f9a3e Mon Sep 17 00:00:00 2001
From: crowetic <5431064+crowetic@users.noreply.github.com>
Date: Wed, 24 May 2023 17:08:29 -0700
Subject: [PATCH] Create auto-fix-qortal-GUI.desktop

file goes in /.config/autostart on GUI linux machines and runs the 'auto-fix-qortal.sh' script 720 seconds (7 min) after system boot.

This is to enable a VISIBLE run of the auto-fix script, so people know what is going on, and to also make it so that if it DOES have to fix something, it will start qortal VISIBLY.

(considering modifying auto-fix-cron so that the only thing that takes place is the DOWNLOAD of the new script, but not sure yet.)
---
 auto-fix-qortal-GUI.desktop | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 auto-fix-qortal-GUI.desktop

diff --git a/auto-fix-qortal-GUI.desktop b/auto-fix-qortal-GUI.desktop
new file mode 100644
index 0000000..9fc03df
--- /dev/null
+++ b/auto-fix-qortal-GUI.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=gnome-terminal -- ./auto-fix-qortal.sh
+X-GNOME-Autostart-enabled=true
+NoDisplay=false
+Hidden=false
+Name[en_US]=auto-fix-visible
+Comment[en_US]=Run auto-fix script visibly 5 min after system startup.
+X-GNOME-Autostart-Delay=600