# livecd-xfce-olpc.ks # # Description: # - An XFCE spin specialized for the OLPC # # Maintainer(s): # - Luke Macken %include fedora-live-base.ks services --disabled=rpcidmapd,rpcgssd,rpcbind,portreserve,nfslock,netfs,mdmonitor,cups,avahi-daemon,sshd,auditd,exim firewall --enabled %packages @xfce-desktop ristretto thunar-media-tags-plugin thunar-shares xfce-mcs-plugins-extra xfce4-battery-plugin xfce4-clipman-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict-plugin xfce4-diskperf-plugin xfce4-mpc-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-places-plugin 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 xfce4-weather-plugin xfce4-websearch-plugin xfce4-xfapplet-plugin xfce4-xkb-plugin xfwm4-themes # Other useful desktop tools firefox NetworkManager-gnome NetworkManager-vpnc NetworkManager-pptp NetworkManager-openvpn evince -evince-dvi -evince-djvu gnome-screensaver xdg-user-dirs totem totem-mozplugin gnome-power-manager alsa-plugins-pulseaudio pavucontrol # Some useful developer tools vim-enhanced powertop bonnie++ latencytop htop wget yum-utils yum-fastestmirror synergy # warning: this pulls in java bootchart # dictionaries are big -aspell-* -hunspell-* -man-pages-* -scim-tables-* -wqy-bitmap-fonts -dejavu-fonts-experimental -words # more fun with space saving -scim-lang-chinese -scim-python* #scim-pinyin -gimp-help -mailcap -nano -wavpack -exim -createrepo -irqbalance -smolt -smolt-firstboot -bluez -bluez-cups -cups -cups-libs -foomatic -anacron -autofs -nss_db -sendmail -ssmtp -acpid # Remove non-OLPC hardware-specific packages -gnome-bluetooth -bluez-libs -compiz-gnome -nautilus-cd-burner -ipw2100-firmware -iwl3945-firmware -ipw2200-firmware -iwl4965-firmware -atmel-firmware -rt61pci-firmware -ivtv-firmware -rt73usb-firmware -zd1211-firmware -radeontool -iwl5000-firmware # XO kernel isn't new enough for our nouveau. so, shenanigans -xorg-x11-drivers -xorg-x11-drv-nouveau xorg-x11-drv-geode # no printing -system-config-printer -foomatic* -gutenprint* # drop more fonts -wqy-bitmap-fonts -dejavu-fonts-experimental -dejavu-fonts -lohit-fonts-* -thaifonts-scalable -paktype-fonts -VLGothic-fonts -baekmuk-ttf-fonts-* -kacst-fonts -lklug-fonts -jomolhari-fonts -abyssinica-fonts -cjkunifonts-uming # strip fedora trademarks -fedora-logos generic-logos %end %post ## ## XO configuration ## # Needed for spin debranding sed -i -e 's/Fedora/Generic/g' /etc/fedora-release ## ## xfce configuration ## # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/livesys << EOF chown -R liveuser:liveuser /home/liveuser # 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 # set up timed auto-login for after 60 seconds cat >> /etc/gdm/custom.conf << FOE [daemon] TimedLoginEnable=true TimedLogin=liveuser TimedLoginDelay=60 FOE mkdir -p /home/liveuser/.config/xfce4 cat > /home/liveuser/.config/xfce4/Xft.xrdb << XFT Xft.dpi: 200 Xft.antialias: 1 Xft.hinting: 1 Xft.hintstyle: hintfull Xft.rgba: rgb XFT chown -R liveuser:liveuser /home/liveuser/.config EOF # remove this session file from gnome-session package to make xfce the default # temporary hack till this file is split up from the package rm -rf /usr/share/xsessions/gnome.desktop %end