From 6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 01:09:15 -0500 Subject: [PATCH] Add qa desktop entries to favorites. --- custom/qa-test-day.ks | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 8ec8118..7457894 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -32,6 +32,8 @@ abiword # brand as fedora test spin fedora-logos -generic-logos +# glib2 is needed to set up favorites, though it probably gets pulled in anyway. +glib2 %end %post @@ -63,4 +65,12 @@ EOF # Add gnome-terminal shortcut to desktop cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop + +# Change the favorites using a vendor override. (Adding a profile would +# be another way to do this.) +cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override +[org/gnome/shell] +favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] +EOF +glib-compile-schemas %end