From ec4d01caa8dfeeb152e474a40d7485903be98edd Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Sat, 13 May 2023 04:56:36 +0200 Subject: [PATCH] fix!: enhanced autostart.desktop to use new script, and always find icon Notable changes: - The icon is no longer dependent on "GNOME Terminal" being installed. Will now work on any desktop environment, not just GNOME. We only see this icon in "GNOME Tweaks: Startup Applications" or similar autostart-managers, which is even better reason to use a generic, always-existing icon for the shortcut. - Now runs the new "autostart.sh" yafti GUI launcher. - Tells the OS to not spawn a terminal window when running this shell script. --- .../ublue-os/firstboot/launcher/autostart.desktop | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/usr/share/ublue-os/firstboot/launcher/autostart.desktop b/usr/share/ublue-os/firstboot/launcher/autostart.desktop index 4a17b4d..e72038d 100644 --- a/usr/share/ublue-os/firstboot/launcher/autostart.desktop +++ b/usr/share/ublue-os/firstboot/launcher/autostart.desktop @@ -1,8 +1,9 @@ [Desktop Entry] Name=uBlue First Boot Setup -Comment=Sets up uBlue Desktop Correctly On FirstBoot -Exec=/usr/bin/yafti /usr/share/ublue-os/firstboot/yafti.yml -Icon=org.gnome.Terminal -Type=Application +Comment=Sets up the uBlue desktop on first boot. +GenericName=Launcher Categories=Utility;System; -Name[en_US]=startup \ No newline at end of file +Exec=/usr/share/ublue-os/firstboot/launcher/autostart.sh +Icon=application-x-executable +Terminal=false +Type=Application \ No newline at end of file