fix!: move all autostart-related files to standardized location
This commit is contained in:
8
usr/share/ublue-os/firstboot/launcher/autostart.desktop
Normal file
8
usr/share/ublue-os/firstboot/launcher/autostart.desktop
Normal file
@@ -0,0 +1,8 @@
|
||||
[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
|
||||
Categories=Utility;System;
|
||||
Name[en_US]=startup
|
||||
6
usr/share/ublue-os/firstboot/launcher/login-profile.sh
Normal file
6
usr/share/ublue-os/firstboot/launcher/login-profile.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
if test "$(id -u)" -gt "0" && test -d "$HOME"; then
|
||||
if test ! -e "$HOME"/.config/autostart/ublue-firstboot.desktop; then
|
||||
mkdir -p "$HOME"/.config/autostart
|
||||
cp -f /usr/etc/skel.d/.config/autostart/ublue-firstboot.desktop "$HOME"/.config/autostart
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user