summaryrefslogtreecommitdiffstats
path: root/data/gnome-welcome-tour
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:04 +0000
commit829aea9a4dce048f63c6d9568b50ab4bdb7609e3 (patch)
tree7c5d5ac80e81dc5186f19649f48387a67df20425 /data/gnome-welcome-tour
parentInitial commit. (diff)
downloadgnome-initial-setup-upstream/3.38.4.tar.xz
gnome-initial-setup-upstream/3.38.4.zip
Adding upstream version 3.38.4.upstream/3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdata/gnome-welcome-tour13
-rw-r--r--data/gnome-welcome-tour.desktop.in.in8
-rw-r--r--data/gnome-welcome-tour.service.in12
3 files changed, 33 insertions, 0 deletions
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
new file mode 100755
index 0000000..51c9b59
--- /dev/null
+++ b/data/gnome-welcome-tour
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
+
+# Don't do anything if gnome-tour isn't installed
+gnome_tour_path=$(which gnome-tour 2>/dev/null)
+if test -z "${gnome_tour_path}"; then
+ rm -f $cfgdir/run-welcome-tour
+ exit
+fi
+
+gnome-tour
+rm -f $cfgdir/run-welcome-tour
diff --git a/data/gnome-welcome-tour.desktop.in.in b/data/gnome-welcome-tour.desktop.in.in
new file mode 100644
index 0000000..45d82e5
--- /dev/null
+++ b/data/gnome-welcome-tour.desktop.in.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Welcome
+Exec=@LIBEXECDIR@/gnome-welcome-tour
+AutostartCondition=if-exists run-welcome-tour
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-HiddenUnderSystemd=@systemd_hidden@
diff --git a/data/gnome-welcome-tour.service.in b/data/gnome-welcome-tour.service.in
new file mode 100644
index 0000000..d958630
--- /dev/null
+++ b/data/gnome-welcome-tour.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=GNOME Welcome Tour
+
+BindsTo=gnome-session.target
+After=gnome-session.target
+
+ConditionPathExists=%E/run-welcome-tour
+
+[Service]
+Type=simple
+ExecStart=@libexecdir@/gnome-welcome-tour
+Restart=no