fedora-kickstarts/fedora-livecd-xfce.ks

215 lines
4.0 KiB
Plaintext
Raw Normal View History

# fedora-livecd-xfce.ks
2008-04-25 10:10:13 +00:00
#
# Description:
# - Fedora Live Spin with the light-weight XFCE Desktop Environment
#
# Maintainer(s):
# - Rahul Sundaram <sundaram@fedoraproject.org>
2009-10-09 23:49:20 +00:00
# - Christoph Wickert <cwickert@fedoraproject.org>
# - Kevin Fenzi <kevin@tummy.com>
# - Adam Miller <maxamillion@fedoraproject.org>
2008-04-23 23:29:55 +00:00
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%packages
2008-09-25 16:21:08 +00:00
# Office
abiword
gnumeric
2008-09-25 11:30:25 +00:00
# Graphics
2011-04-09 19:52:22 +00:00
epdfview
2008-09-25 11:30:25 +00:00
2011-04-16 16:05:08 +00:00
# Development
geany
# Internet
firefox
# Add the midori browser as a lighter alternative
midori
claws-mail
claws-mail-plugins-archive
claws-mail-plugins-att-remover
claws-mail-plugins-attachwarner
claws-mail-plugins-bogofilter
claws-mail-plugins-fetchinfo
claws-mail-plugins-mailmbox
claws-mail-plugins-newmail
claws-mail-plugins-notification
claws-mail-plugins-pgp
claws-mail-plugins-rssyl
claws-mail-plugins-smime
claws-mail-plugins-spam-report
claws-mail-plugins-tnef
claws-mail-plugins-vcalendar
liferea
pidgin
remmina
2011-01-22 18:12:05 +00:00
remmina-plugins-rdp
remmina-plugins-vnc
transmission
2011-04-16 16:05:08 +00:00
# Sound & Video
alsa-plugins-pulseaudio
asunder
cheese
2008-05-05 14:23:57 +00:00
pavucontrol
parole
pragha
xfburn
2011-04-16 16:05:08 +00:00
# System
gparted
-gnome-disk-utility
gigolo
setroubleshoot
# Accessories
catfish
galculator
seahorse
# More Desktop stuff
# java plugin
icedtea-web
NetworkManager-vpnc
NetworkManager-openvpn
NetworkManager-pptp
gnome-bluetooth
xscreensaver
xdg-user-dirs-gtk
2011-04-16 16:05:08 +00:00
2011-11-01 14:57:33 +00:00
# FIXME: work around #746693
metacity
2011-04-16 16:05:08 +00:00
# default artwork
fedora-icon-theme
adwaita-cursor-theme
adwaita-gtk2-theme
adwaita-gtk3-theme
2011-04-16 16:05:08 +00:00
# command line
irssi
mutt
ntfs-3g
powertop
2009-10-23 00:49:32 +00:00
rtorrent
2011-04-16 16:05:08 +00:00
vim-enhanced
wget
yum-utils
2011-04-16 16:05:08 +00:00
# Xfce packages
@xfce-desktop
ristretto
thunar-media-tags-plugin
xfce4-battery-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-quicklauncher-plugin
xfce4-screenshooter-plugin
xfce4-sensors-plugin
2009-10-23 00:49:32 +00:00
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
2008-04-23 23:29:55 +00:00
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
2011-04-09 19:49:04 +00:00
xfce4-xfswitch-plugin
xfce4-xkb-plugin
# system-config-printer does printer management better
#xfprint
xfwm4-themes
# dictionaries are big
-aspell-*
2008-09-25 11:30:25 +00:00
#-man-pages-*
2008-04-23 23:29:55 +00:00
# more fun with space saving
-gimp-help
# not needed, but as long as there is space left, we leave this in
#-desktop-backgrounds-basic
2008-09-25 11:30:25 +00:00
# save some space
-autofs
2008-09-25 11:30:25 +00:00
-acpid
# drop some system-config things
-system-config-boot
-system-config-lvm
-system-config-network
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
%end
%post
# xfce configuration
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startxfce4
EOF
cat >> /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
2008-09-25 11:30:25 +00:00
cat >> /etc/gdm/custom.conf << FOE
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=liveuser
2008-09-25 11:30:25 +00:00
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
2008-04-23 23:29:55 +00:00
%end