Skip to content

Commit

Permalink
Set streaming laptops' GNOME Shell dock
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Oct 13, 2024
1 parent 90f9295 commit 8f1f2fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ EOF

cat > /etc/dconf/db/local.d/00-set-gnome-shell-dock <<EOF
[org/gnome/shell]
# This is for presentation laptops. Streaming laptops override this at runtime during room setup.
favorite-apps=['org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'org.gnome.TextEditor.desktop', 'org.libreoffice.LibreOffice.impress.desktop', 'com.nextcloud.desktopclient.nextcloud.desktop']
EOF

Expand Down
4 changes: 4 additions & 0 deletions sbin/seagl-setup-room
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ seagl-refresh-config

# TODO set up OBS and Nextcloud, then (auto)launch them

if [ $(cat /var/lib/seagl/laptop-type) == streaming ]; then
gsettings set org.gnome.shell favorite-apps "['org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'org.gnome.TextEditor.desktop', 'com.nextcloud.desktopclient.nextcloud.desktop', 'com.obsproject.Studio.desktop']"
fi

# For some reason, Toolbx wants to create a Fedora 38 container??
# TODO confirm this is an upstream bug, then report
yes | toolbox create --release f40
Expand Down

0 comments on commit 8f1f2fc

Please sign in to comment.