Skip to content

Commit

Permalink
Add budgie-welcome autostart workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
fossfreedom committed Mar 4, 2018
1 parent 5ed68c6 commit eb78133
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
1 change: 1 addition & 0 deletions debian/budgie-desktop-environment.install
Expand Up @@ -7,3 +7,4 @@ keycontrol /usr/share/budgie-desktop/
/etc/skel
visualspace/schema/* /usr/share/glib-2.0/schemas/
visualspace /usr/share/budgie-desktop/
welcome_autostart/* /usr/share/budgie-desktop/
11 changes: 11 additions & 0 deletions debian/changelog
@@ -1,3 +1,14 @@
budgie-desktop-environment (0.9.4) bionic; urgency=medium

* Bug-fix release
- Add a local autostart file for budgie-welcome since
budgie-welcome snap does not create the equivalent in
/etc/skel/.config/autostart until after the first login. This is
required until snapd support for autostart lands and possible
adjustments can be evaluated.

-- David Mohammed <fossfreedom@ubuntu.com> Sat, 03 Mar 2018 21:39:13 +0000

budgie-desktop-environment (0.9.3) bionic; urgency=medium

* New upstream release
Expand Down
10 changes: 8 additions & 2 deletions etc/profile.d/10-budgie-desktop.sh
Expand Up @@ -47,18 +47,24 @@ if ! grep -q "TILIX_ID" ~/.bashrc; then
cat /usr/share/budgie-desktop/vteprompt.txt >> ~/.bashrc
fi

mkdir -p ~/.config/autostart

# caffeine
CAFF=`which caffeine`
if [ "$CAFF" ]
then
mkdir -p ~/.config/autostart
cp /usr/share/applications/caffeine-indicator.desktop ~/.config/autostart
fi

# plank
PLK=`which plank`
if [ "$PLK" ]
then
mkdir -p ~/.config/autostart
cp /usr/share/budgie-desktop/plank.desktop ~/.config/autostart
fi

# welcome - give welcome an autostart if its not copied on first initialisation
if [ -f /snap/ubuntu-budgie-welcome/current/usr/bin/budgie-welcome ] && [ ! -f ~/.config/autostart/budgie-welcome.desktop ]
then
cp /usr/share/budgie-desktop/budgie-welcome.desktop ~/.config/autostart
fi
23 changes: 23 additions & 0 deletions welcome_autostart/budgie-welcome.desktop
@@ -0,0 +1,23 @@
[Desktop Entry]
Terminal=false
Type=Application
Categories=GNOME;GTK;System;
StartupNotify=false
Name[de_DE]=Willkommen zu Budgie
Name[en_GB]=Budgie Welcome
Name[es]=Bienvenida de Budgie
Name[fa]=خوش آمد گویی بادجی
Name[fr]=Budgie Bienvenue
Name[it]=Budgie Welcome
Name[ko]=Budgie 환영
Name[lt]=Budgie Sveiki
Name[ms_MY]=Aluan Budgie
Name[pl]=Witaj w Budgie
Name[pt_BR]=Boas-Vindas Budgie
Name[tr]=Budgie Hoşgeldiniz
Name=Budgie Welcome
Exec=ubuntu-budgie-welcome.budgie-welcome
Icon=distributor-logo-ubuntu-budgie
Comment=Welcome app to greet new users on their first login
Keywords=desktop;preferences;
OnlyShowIn=Budgie;

0 comments on commit eb78133

Please sign in to comment.