# Fedora Xfce Spin # (c) Rahul Sundaram # GPlv2 or later #repo --name=fedora8 --baseurl=http://nighthawk.pnq.redhat.com/redhat/released/Fedora/8/Everything/i386/os/ #repo --name=fedora8updates --baseurl=http://nighthawk.pnq.redhat.com/redhat/fedora/updates/8/i386/ #repo --name=fedora8 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386 #repo --name=fedora8updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=i386 repo --name=rep --baseurl=file:///root/ks/rep repo --name=fedora8 --baseurl=http://mirror.aarnet.edu.au/pub/fedora/linux/releases/8/Everything/i386/os repo --name=fedora8updates --baseurl=http://linux.nssl.noaa.gov/fedora/linux/updates/8/i386 # bugs and enhancements related to the Xfce spin # https://bugzilla.redhat.com/show_bug.cgi?id=427814 s-c-d dep on metacity # https://bugzilla.redhat.com/show_bug.cgi?id=427768 pykickstart inheritance bug # https://bugzilla.redhat.com/show_bug.cgi?id=427812 desktop backgrounds split # https://bugzilla.redhat.com/show_bug.cgi?id=427833 totem dep bloat # https://bugzilla.redhat.com/show_bug.cgi?id=427834 NM-gnome dep bloat # PulseAudio must be enabled by default. Update is already in updates-testing # -- end -- %include /usr/share/livecd-tools/livecd-fedora-8-base-desktop.ks %packages skype vlc mplayer flash-plugin google-desktop-linux beagle thunderbird amarok azureus picasa clamav openoffice.org-writer openoffice.org-math openoffice.org-calc openoffice.org-impress #openoffice.org-langpack-fr #openoffice.org-langpack-ar firefox #other packs f-spot gxine samba cups wget curl httrack snort Nessus sunbird k3b blender scribus HelixPlayer compiz compiz-fusion openvpn dnsmasq Bastille #rest NetworkManager-vpnc NetworkManager-openvpn NetworkManager-gnome # we don't include @office so that we don't get OOo. but some nice bits abiword gnumeric evince gimp inkscape #planner #dia galculator # development geany # games. Which ones are light and good? # More Desktop stuff xdg-user-dirs @java totem totem-mozplugin pidgin claws-mail # where is xfburn? brasero xchat-gnome drivel quodlibet gftp mirage tracker-search-tool # Command line powertop #wget irssi mutt yum-utils # xfce packages # xfce packages @xfce-desktop gtk-xfce-engine orage xarchiver #this isn't packaged yet #xfmedia xfce4-taskmanager thunar-volman thunar-archive-plugin thunar-media-tags-plugin # how do I add volume and trash plugin to the top panel by default? xfce4-battery-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 #redundant with verve plugin #xfce4-minicmd-plugin xfce4-mount-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-timer-plugin xfce4-volstatus-icon xfce4-verve-plugin #we use NetworkManager-gnome. So this is redundant #xfce4-wavelan-plugin xfce4-weather-plugin xfce4-websearch-plugin # this one a compatibility layer for GNOME applets and depends on it #xfce4-xfapplet-plugin xfce4-xkb-plugin xfwm4-themes # language support @arabic-support @french-support # dictionaries are big -aspell-* -man-pages-* -scim-tables-* -wqy-bitmap-fonts -dejavu-fonts-experimental -dejavu-fonts # more fun with space saving -scim-lang-chinese scim-chewing scim-pinyin -gimp-help # save some space -autofs -nss_db -sendmail #system-config-printer does this better #xfprint has now been made as optional in comps -xfprint %end %post --nochroot #bastille cp /etc/Bastille/config $INSTALL_ROOT/etc/Bastille #googleearth #mkdir $INSTALL_ROOT/opt/googleearth #cp google-earth-4.3.7284.3916.tar.gz $INSTALL_ROOT/opt/googleearth tar xzf /opt/google-earth-4.3.7284.3916.tar.gz -C $INSTALL_ROOT cp /root/.config/xfce4/desktop/menu.xml $INSTALL_ROOT/root/.config/xfce4/desktop #dnsmasq cp /etc/dnsmasq.conf $INSTALL_ROOT/etc cp /root/ks/resolv.conf $INSTALL_ROOT/etc #Some investigations ls $INSTALL_ROOT/etc/X11 >> /home/kindix/lili.txt cat $INSTALL_ROOT/etc/resolv.conf >> /home/kindix/res.txt %end %post # xfce configuration # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/fedora-live << 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 # set up timed auto-login for after 60 seconds sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face chown fedora:fedora /home/fedora/.face # TODO: would be nice to get e-d-s to pick this one up too... but how? fi #Added by me #Setting the keyboard default language to FR and ARA sed 's/"en"/"fr, ara"/' /etc/X11/xorg.conf touch /etc/kindows.txt # Running Bastille and adding it to the boot bastille -b /sbin/chkconfig --add bastille-firewall /sbin/chkconfig bastille-firewall reset #Adding DNSMASQ to the boot /sbin/chkconfig dnsmasq on #Removing some redunduncy rpm -e totem rpm -e mirage rpm -e abiword rpm -e gnumeric rpm -e totem-mozplugin # make fedora user use Xfce #echo "startxfce4" > /home/fedora/.Xclients #chmod a+x /home/fedora/.Xclients #chown fedora:fedora /home/fedora/.Xclients #EOF %end