diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:09:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:09:04 +0000 |
commit | 829aea9a4dce048f63c6d9568b50ab4bdb7609e3 (patch) | |
tree | 7c5d5ac80e81dc5186f19649f48387a67df20425 /data/gnome-welcome-tour | |
parent | Initial commit. (diff) | |
download | gnome-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-x | data/gnome-welcome-tour | 13 | ||||
-rw-r--r-- | data/gnome-welcome-tour.desktop.in.in | 8 | ||||
-rw-r--r-- | data/gnome-welcome-tour.service.in | 12 |
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 |