# fedora-schools.ks # # Description: # - Fedora Live Spin for schools with the light-weight XFCE Desktop Environment # # Maintainers: # - Arun S.A.G sagarun AT gmail.com # # Thanks: # XFCE spin Maintainers %include fedora-live-base.ks %include fedora-live-minimization.ks # Include rpmfusion and livna repo --name=rpmfusion-free --baseurl=http://download1.rpmfusion.org/free/fedora/releases/15/Everything/$basearch/os repo --name=rpmfusion-free-updates --baseurl=http://download1.rpmfusion.org/free/fedora/updates/15/$basearch repo --name=rpmfusion-non-free --baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/15/Everything/$basearch/os repo --name=rpmfusion-non-free-updates --baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/15/$basearch repo --name=livna --baseurl=ftp://mirrors.tummy.com/pub/rpm.livna.org/repo/14/$basearch %packages # Office @office # Graphics epdfview # Add the Java plugin java-1.6.0-openjdk-plugin java-1.6.0-openjdk # Development geany # They teach c/c++ at schools these days codeblocks gcc gcc-c++ make pkgconfig libtool autoconf automake gettext gdb redhat-rpm-config bison strace # Internet firefox # Add the midori browser as a lighter alternative midori pidgin remmina remmina-plugins-rdp remmina-plugins-vnc # Sound & Video alsa-plugins-pulseaudio asunder cheese quodlibet pavucontrol parole parole-mozplugin xfburn # System gparted -gnome-disk-utility gigolo setroubleshoot # Accessories catfish galculator # More Desktop stuff # java plugin icedtea-web # Do they use VPN at schools? #NetworkManager-vpnc #NetworkManager-openvpn NetworkManager-gnome NetworkManager-pptp desktop-backgrounds-compat gnome-bluetooth xscreensaver xdg-user-dirs-gtk # default artwork fedora-icon-theme adwaita-cursor-theme adwaita-gtk2-theme adwaita-gtk3-theme # command line ntfs-3g powertop vim-enhanced wget # Xfce packages @xfce-desktop Terminal gtk-xfce-engine orage ristretto thunar-volman thunar-media-tags-plugin xarchiver xfce4-battery-plugin # we already have thunar-volman #xfce4-cddrive-plugin xfce4-cellmodem-plugin xfce4-clipman-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict-plugin xfce4-diskperf-plugin xfce4-eyes-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-mailwatch-plugin xfce4-mount-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-places-plugin xfce4-power-manager xfce4-quicklauncher-plugin xfce4-screenshooter-plugin xfce4-sensors-plugin xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin # we already have nm-applet #xfce4-wavelan-plugin xfce4-weather-plugin xfce4-websearch-plugin xfce4-xfswitch-plugin xfce4-xkb-plugin # system-config-printer does printer management better #xfprint xfwm4-themes # Stuff related to Education # anki is a flashcard/deck software - can be used by teachers anki gcompris # Shows a rotatable globe with cities and countries glglobe # Kids will love them tuxpaint tuxmath tuxtype2 # desktop planetorium stellarium # rebranding -fedora-release -fedora-release-notes generic-release generic-logos generic-release-notes # rpmfusion release packages rpmfusion-free-release rpmfusion-nonfree-release # livna because we need libdvdcss for playing encrypted DVD's livna-release # Multimedia gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-free-extras ffmpeg libdvdcss mencoder vlc audacious audacious-plugins-freeworld* audacity-freeworld #misc control-center-extra pitivi wget fuse-sshfs fuse-encfs # dictionaries are big -aspell-* -hunspell-* -man-pages* -words # more fun with space saving -gimp-help # not needed, but as long as there is space left, we leave this in #-desktop-backgrounds-basic # save some space -nss_db -krb5-auth-dialog -krb5-workstation -pam_krb5 -quota -minicom -dos2unix -finger -ftp -jwhois -mtr -pinfo -rsh # Some schools still use telnet telnet -nfs-utils -ypbind -yp-tools -rpcbind -acpid # drop some system-config things -system-config-boot -system-config-language -system-config-lvm -system-config-network -system-config-rootpassword #-system-config-services -policycoreutils-gui %end %post # rebranding sed -i -e 's/Generic release 14/Fedora Schools 15/g' /etc/fedora-release /etc/issue sed -i -e 's/(Generic)/(Kattabomman)/g' /etc/fedora-release /etc/issue # xfce configuration # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/livesys << EOF mkdir -p /home/liveuser/.config/xfce4 cat > /home/liveuser/.config/xfce4/helpers.rc << FOE MailReader=sylpheed-claws FileManager=Thunar FOE # disable screensaver locking (#674410) cat >> /home/liveuser/.xscreensaver << FOE mode: off lock: False dpmsEnabled: False FOE # deactivate xfconf-migration (#683161) rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || : # deactivate xfce4-panel first-run dialog (#693569) mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml # set up auto-login cat >> /etc/gdm/custom.conf << FOE [daemon] 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 # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser EOF %end