[Fedora-spins] [spin-kickstarts: 1/24] Add qa desktop entries to favorites.

Bruno Wolff III bruno at fedoraproject.org
Sun Apr 10 05:03:33 UTC 2011


commit 6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Apr 9 01:09:15 2011 -0500

    Add qa desktop entries to favorites.

 custom/qa-test-day.ks |   10 ++++++++++
 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


More information about the spins mailing list