fedora-kickstarts/fedora-livecd-soas.ks
2010-02-06 22:34:27 +01:00

100 lines
1.8 KiB
Plaintext
Executable File

# sugar-on-a-stick.ks
#
# Description:
# - A Sugar environment that you can carry in your pocket
#
# Maintainers:
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
# - Peter Robinson <pbrobinson AT gmail DOT com>
%include fedora-live-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-physics
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
# remove input methods to free space
-scim*
-m17n*
-ibus*
%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]
AutomaticLoginEnable=true
AutomaticLogin=liveuser
FOE
EOF
%end