[spin-kickstarts] Add live installer menu item to user menu
by Matthias Clasen
commit f36ebea234c204d29d2b8e6fa2f55fd2906b08cb
Author: Ray Strode <rstrode(a)redhat.com>
Date: Tue Mar 15 11:16:53 2011 -0400
Add live installer menu item to user menu
In the mockups here:
https://live.gnome.org/GnomeShell/Design/Whiteboards/SystemStopRestart
there is a way to install updates right above the suspend item. For
an uninstalled livecd, installation is sort of analagous to updates on
an installed system.
This commit adds the installer to the user menu.
fedora-live-desktop.ks | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 27d0723..dc42c58 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -35,6 +35,26 @@ favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop'
FOE
glib-compile-schemas /usr/share/glib-2.0/schemas
+# add installer to user menu
+mkdir -p ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org
+cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)shell-extensions.fedoraproject.org/metadata.json << FOE
+{"shell-version": ["2.91.91"], "uuid": "Installer(a)shell-extensions.fedoraproject.org", "name": "Installer", "description": "Install OS from user menu"}
+FOE
+
+cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer(a)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 item = new PopupMenu.PopupMenuItem(Shell.AppSystem.get_default().get_app('liveinst.desktop').get_name());
+ item.connect('activate', function() { Util.spawnDesktop('liveinst'); });
+
+ Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
+}
+FOE
+
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
[daemon]
13 years, 1 month
[spin-kickstarts] Move live install launcher from desktop to dash
by Matthias Clasen
commit 9f2b1803d12e625c596bf34a465d80c8a6e4b4e7
Author: Ray Strode <rstrode(a)redhat.com>
Date: Tue Mar 15 09:35:01 2011 -0400
Move live install launcher from desktop to dash
Since we don't show the desktop anymore, it doesn't
make sense to put the livecd installer there. For
now, put it as a favorite on the dash.
fedora-live-desktop.ks | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 859ff93..27d0723 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -26,6 +26,13 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.overrid
[org.gnome.desktop.screensaver]
lock-enabled=false
FOE
+
+# Show harddisk install in shell dash
+sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
+cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
+[org.gnome.shell]
+favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'liveinst.desktop']
+FOE
glib-compile-schemas /usr/share/glib-2.0/schemas
# set up timed auto-login for after 60 seconds
@@ -35,13 +42,6 @@ AutomaticLoginEnable=true
AutomaticLogin=liveuser
FOE
-# Show harddisk install on the desktop
-sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
-mkdir /home/liveuser/Desktop
-cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
-chown -R liveuser.liveuser /home/liveuser/Desktop
-chmod a+x /home/liveuser/Desktop/liveinst.desktop
-
# Turn off PackageKit-command-not-found while uninstalled
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
13 years, 1 month
[spin-kickstarts] Change screensaver configuration
by Matthias Clasen
commit f5983ccb6eced795800a7d63123a8a6c2f0eb2b2
Author: Ray Strode <rstrode(a)redhat.com>
Date: Tue Mar 15 09:28:16 2011 -0400
Change screensaver configuration
It uses gsettings now instead of gconf
fedora-live-desktop.ks | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 8bc525a..859ff93 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -22,8 +22,11 @@ nss-mdns
%post
cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking
-gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
-gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/gnome/lockdown/disable_lock_screen true >/dev/null
+cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
+[org.gnome.desktop.screensaver]
+lock-enabled=false
+FOE
+glib-compile-schemas /usr/share/glib-2.0/schemas
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
13 years, 1 month
[spin-kickstarts] Switch from timed to automatic login in desktop spin
by Matthias Clasen
commit 693aa30db2ba6eaa8a9da067657156846fc89ed7
Author: Ray Strode <rstrode(a)redhat.com>
Date: Tue Mar 15 09:19:22 2011 -0400
Switch from timed to automatic login in desktop spin
Now that GDM no longer has language selection, there's
little reason to use timed login.
This commit changes the default config to use automatic
login instead.
fedora-live-desktop.ks | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index aa8edf6..8bc525a 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -28,9 +28,8 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
[daemon]
-TimedLoginEnable=true
-TimedLogin=liveuser
-TimedLoginDelay=60
+AutomaticLoginEnable=true
+AutomaticLogin=liveuser
FOE
# Show harddisk install on the desktop
13 years, 1 month
[spin-kickstarts] fedora-live-kde.ks (2G): Add support for the Cantor R, Maxima and Octave backends. Ship only minimal
by Kevin Kofler
commit f186f0b37ae773e3b55ee0d672e76ec4531785a1
Author: Kevin Kofler <Kevin(a)tigcc.ticalc.org>
Date: Tue Mar 15 12:04:56 2011 +0100
fedora-live-kde.ks (2G): Add support for the Cantor R, Maxima and Octave backends.
Ship only minimal R and Octave support for now, we'll see where we are size-wise.
fedora-live-kde.ks | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-kde.ks b/fedora-live-kde.ks
index ab8f478..f02b63b 100644
--- a/fedora-live-kde.ks
+++ b/fedora-live-kde.ks
@@ -35,6 +35,11 @@ kdeedu-marble
kdeedu-math
kdeedu-kstars
+# Cantor backends
+kdeedu-math-cantor-R # Cantor R backend, built against R-core at compile time
+maxima # runtime dependency of the Cantor Maxima backend
+octave # runtime dependency of the Cantor Octave backend
+
# KDE 4 translations
kde-l10n-*
koffice-langpack-*
13 years, 1 month
[spin-kickstarts] Games: add two games
by Bruno Wolff III
commit 645070105af7039cb21bd063ef8f601f9bfa6157
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Tue Mar 15 01:16:30 2011 -0500
Games: add two games
Add knights as a chess replacement.
Add lordsawar as a moderately sized strategy game.
fedora-livedvd-games.ks | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/fedora-livedvd-games.ks b/fedora-livedvd-games.ks
index d83fca7..fdc8aaa 100644
--- a/fedora-livedvd-games.ks
+++ b/fedora-livedvd-games.ks
@@ -85,9 +85,11 @@ gnugo
haxima
hedgewars
kcheckers
+knights
lbrickbuster2
liquidwar
londonlaw
+lordsawar
lure
machineball
nethack
13 years, 1 month
[spin-kickstarts] fedora-live-kde.ks (2G): Include: * full kdegames * most of kdeedu (omit Cantor R backend and option
by Kevin Kofler
commit 7109194f37fbe2956e3fea1dc168ae166e906248
Author: Kevin Kofler <Kevin(a)tigcc.ticalc.org>
Date: Mon Mar 14 23:44:40 2011 +0100
fedora-live-kde.ks (2G): Include:
* full kdegames
* most of kdeedu (omit Cantor R backend and optional Cantor runtime dep Maxima for now)
* full KOffice (including langpacks)
fedora-live-kde.ks | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/fedora-live-kde.ks b/fedora-live-kde.ks
index 9460b40..ab8f478 100644
--- a/fedora-live-kde.ks
+++ b/fedora-live-kde.ks
@@ -22,11 +22,7 @@ kdebase-workspace-wallpapers
# Additional packages that are not default in kde-desktop but useful
k3b # ~15 megs
--koffice-suite # don't include whole koffice-suite, just parts of it
-koffice-kword
-koffice-kspread # ~1 megs
-koffice-kpresenter # ~3 megs
-koffice-filters
+koffice-suite
#kdeartwork # only include some parts of kdeartwork
#twinkle # (~10 megs)
fuse
@@ -34,13 +30,14 @@ liveusb-creator
#pavucontrol # pavucontrol has duplicate functionality with kmix
#kaffeine* # kaffeine has duplicate functionality with dragonplayer (~3 megs)
krusader # file manager, more power-user-oriented than Dolphin (~4 megs)
+kdeedu
+kdeedu-marble
+kdeedu-math
+kdeedu-kstars
# KDE 4 translations
kde-l10n-*
-
-# only include kdegames-minimal
--kdegames
-kdegames-minimal
+koffice-langpack-*
# use yum-presto by default
yum-presto
13 years, 1 month
KDE kickstarts (CD vs. 2G)
by Kevin Kofler
Hi,
Just to clarify the situation of the 2 versions of the KDE kickstart:
The plan for the KDE spin hasn't really changed: What we want shipped and
mirrored is the CD. We now have all the really important software on the CD,
thanks to xz SquashFS.
What changed is that we decided in the KDE SIG meeting on Tuesday that it's
not useful to do a 1 GiB version, considering the above. What is useful is a
version with all the kde-l10n stuff on it, and also kdeedu etc., but 1 GiB
isn't sufficient for that. So we decided in the meeting to go for 2 GiB (or
whatever size between 1 and 2 GiB turns out to be needed to ship a complete
KDE SC + popular KDE applications) for the alternate kickstart.
But the 2 GiB kickstart is not the one we'll get shipped, mirrored etc. It's
just an alternative for those who want "everything" (KDE-related). :-)
Kevin Kofler
13 years, 1 month