summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorBruno Wolff III <bruno@wolff.to>2011-04-09 01:09:15 -0500
committerBruno Wolff III <bruno@wolff.to>2011-04-09 01:09:15 -0500
commit6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243 (patch)
tree47ad0827a286dba3de6525181f94d714d9a92de5 /custom
parent27027824b93e2bdb70f1c214979e2e2764892883 (diff)
downloadspin-kickstarts-6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243.tar.gz
spin-kickstarts-6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243.tar.xz
spin-kickstarts-6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243.zip
Add qa desktop entries to favorites.
Diffstat (limited to 'custom')
-rw-r--r--custom/qa-test-day.ks10
1 files changed, 10 insertions, 0 deletions
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