summaryrefslogtreecommitdiffstats
path: root/fedora-live-desktop.ks
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-09-08 18:15:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-09-08 18:15:29 -0400
commit24fea01db27ba317e5dc5d38ec09e98bb09f39ea (patch)
treed58a45a3908e8a407d74757fac785b0f785a764c /fedora-live-desktop.ks
parent8591f0dd2c813abac3568f42eedcede4847614b5 (diff)
downloadspin-kickstarts-24fea01db27ba317e5dc5d38ec09e98bb09f39ea.tar.gz
spin-kickstarts-24fea01db27ba317e5dc5d38ec09e98bb09f39ea.tar.xz
spin-kickstarts-24fea01db27ba317e5dc5d38ec09e98bb09f39ea.zip
Don't ship gnome-shell extensions on the desktop spin
Diffstat (limited to 'fedora-live-desktop.ks')
-rw-r--r--fedora-live-desktop.ks25
1 files changed, 4 insertions, 21 deletions
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index b0d359e..67ca020 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -19,6 +19,10 @@ nss-mdns
# This one needs to be kicked out of @base
-smartmontools
+# The gnome-shell team does not want extensions in the default spin;
+# ibus support in gnome-shell will be integrated in GNOME 3.4
+-ibus-gnome3
+
%end
%post
@@ -53,27 +57,6 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'anaconda.desktop']
FOE
- # add installer to user menu
- mkdir -p ~liveuser/.local/share/gnome-shell/extensions/Installer@shell-extensions.fedoraproject.org
- cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer@shell-extensions.fedoraproject.org/metadata.json << FOE
-{"shell-version": ["2.91.91"], "uuid": "Installer@shell-extensions.fedoraproject.org", "name": "Installer", "description": "Install OS from user menu"}
-FOE
-
- cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer@shell-extensions.fedoraproject.org/extension.js << FOE
-const PopupMenu = imports.ui.popupMenu;
-const Shell = imports.gi.Shell;
-const Main = imports.ui.main;
-const Util = imports.misc.util;
-
-function main() {
- let app = Shell.AppSystem.get_default().get_app('anaconda.desktop');
- let item = new PopupMenu.PopupMenuItem(app.get_name());
- item.connect('activate', function() { app.activate(-1); });
-
- Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
-}
-FOE
-
fi
# rebuild schema cache with any overrides we installed