From c40fdb5952491f2cbc106cd994dc00353a6c41bf Mon Sep 17 00:00:00 2001 From: Sebastian Dziallas Date: Wed, 20 Jan 2010 20:23:12 +0100 Subject: [PATCH] add the approved Fedora Design Suite and Sugar on a Stick kickstart files --- fedora-design-suite.ks | 102 +++++++++++++++++++++++++++++++++++++++++ sugar-on-a-stick.ks | 94 +++++++++++++++++++++++++++++++++++++ 2 files changed, 196 insertions(+) create mode 100644 fedora-design-suite.ks create mode 100755 sugar-on-a-stick.ks diff --git a/fedora-design-suite.ks b/fedora-design-suite.ks new file mode 100644 index 0000000..d2d9e3e --- /dev/null +++ b/fedora-design-suite.ks @@ -0,0 +1,102 @@ +# fedora-design-suite.ks +# +# Description: +# - A Spin targeted towards professional designers +# +# Maintainer: +# - Sebastian Dziallas + +%include fedora-mini-base.ks + +%packages + +# gnome desktop +gnome-python2-gconf +gnome-desktop +gnome-panel +gnome-session +gnome-terminal +metacity +nautilus + +# graphics +agave +blender +cinepaint +fontmatrix +gimp +gimp-*-plugin +gthumb +inkscape +koffice-krita +mypaint +nautilus-image-converter +optipng +pngcrush +postr +scribus +shotwell +synfigstudio +ufraw +xournal + +# office +dia +gnote +hamster-applet +openoffice.org-impress +openoffice.org-extendedPDF +# pdfmod + +# internet +empathy +evolution +firefox +gnash-plugin +gwibber + +# audio & video +audacity +pitivi +rhythmbox +totem + +# system +gnome-utils +tracker-search-tool +vinagre +vino + +%end + +%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 + +# set up timed auto-login for after 60 seconds +cat >> /etc/gdm/custom.conf << FOE +[daemon] +TimedLoginEnable=true +TimedLogin=liveuser +TimedLoginDelay=60 +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 + +# But not trash and home +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/trash_icon_visible false >/dev/null +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/home_icon_visible false >/dev/null + +# Turn off PackageKit-command-not-found while uninstalled +sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf + +EOF + +%end diff --git a/sugar-on-a-stick.ks b/sugar-on-a-stick.ks new file mode 100755 index 0000000..21d00aa --- /dev/null +++ b/sugar-on-a-stick.ks @@ -0,0 +1,94 @@ +# sugar-on-a-stick.ks +# +# Description: +# - A Sugar environment that you can carry in your pocket +# +# Maintainers: +# - Sebastian Dziallas +# - Peter Robinson + +%include fedora-mini-base.ks + +%packages + +# core sugar platform +@sugar-desktop + +# sugar activities +sugar-analyze +sugar-clock +sugar-connect +sugar-distance +sugar-finance +sugar-flipsticks +sugar-getiabooks +sugar-implode +sugar-infoslicer +sugar-memorize +sugar-moon +sugar-playgo +sugar-record +sugar-speak +sugar-stopwatch +sugar-xoirc +sugar-visualmatch + +# internet +alpine + +# multimedia +evince-djvu +gnash-plugin +gtk-recordmydesktop + +# system +PackageKit-browser-plugin +gdm +gnome-power-manager +gnugo +gparted +livecd-tools +zyx-liveinstaller + +# hardware +b43-openfwwf +libertas-usb8388-firmware + +# sound +alsa-plugins-pulseaudio +alsa-utils +gstreamer-plugins-good +gstreamer-plugins-espeak +pulseaudio + +# fonts +google-droid-fonts-common +google-droid-sans-fonts +google-droid-sans-mono-fonts +google-droid-serif-fonts + +%end + +%post +cat >> /etc/rc.d/init.d/livesys << EOF + +# don't use the default system user (in soas liveuser) as nick name +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /desktop/sugar/user/default_nick disabled >/dev/null + +# disable the logout menu item in Sugar +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null + +# set sugar power management on +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null + +# set up timed auto-login for after 60 seconds +cat >> /etc/gdm/custom.conf << FOE +[daemon] +TimedLoginEnable=true +TimedLogin=liveuser +TimedLoginDelay=60 +FOE + +EOF + +%end