Skip to content

Commit

Permalink
Autolaunch Firefox, OBS and Nextcloud
Browse files Browse the repository at this point in the history
And configure Nextcloud while we're at it.
  • Loading branch information
strugee committed Oct 13, 2024
1 parent ef5d890 commit 417496f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sbin/seagl-setup-room
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ seagl-refresh-config
if [ $(cat /var/lib/seagl/laptop-type) == streaming ]; then
# TODO add SeaGL-specific scripts into here
sudo -u $SUDO_USER gsettings set org.gnome.shell favorite-apps "['org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Software.desktop', 'com.nextcloud.desktopclient.nextcloud.desktop', 'com.obsproject.Studio.desktop']"
sudo -u $SUDO_USER seagl-setup-app obs
sudo -u $SUDO_USER seagl-setup-app firefox
else
sudo -u $SUDO_USER seagl-setup-app nextcloud
fi

sudo -u $SUDO_USER nextcloud --userid 2024laptops --apppassword "$(jq .nextcloudAppPassword < /var/lib/seagl/config-data.json)" --isvfsenabled 0 --serverurl 'https://cloud.seagl.org/'

# We leave expensive downloads for last, and prioritize by usefulness

# Flatpaks cannot be installed in the container image because they go to /var
Expand Down

0 comments on commit 417496f

Please sign in to comment.