mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-26 00:53:09 +00:00
198011f976
First, strip the "minimization" parts out of fedora-live-base.ks, and move them into fedora-live-minimization.ks. All previous consumers of fedora-live-base.ks are updated. The old fedora-live-base.ks was conflating two entirely different things: * A live-based image which can be used to install * Stripping some random bits to fit onto a CD The previous fedora-livecd-desktop is now fedora-live-desktop.ks. The new file fedora-livecd-desktop.ks is actually further minimizations on top of fedora-live-desktop.ks. Split up these two concepts so that fedora-live-desktop is *THE* desktop. What we expect everyone to have as a base, and the exact same set of packages should be installed by Standalone Anaconda (DVD) as well. Then, we have minimization hacks in fedora-live-desktop-cd.ks. Over time, we should be shrinking the default install and making it more just-in-time, by e.g. having many more things use the PackageKit library to pull in components as needed.
155 lines
2.6 KiB
Plaintext
155 lines
2.6 KiB
Plaintext
# fedora-livecd-lxde.ks
|
|
#
|
|
# Description:
|
|
# - Fedora Live Spin with the light-weight LXDE Desktop Environment
|
|
#
|
|
# Maintainer(s):
|
|
# - Christoph Wickert <cwickert@fedoraproject.org>
|
|
|
|
%include fedora-live-base.ks
|
|
%include fedora-live-minimization.ks
|
|
|
|
%packages
|
|
# LXDE desktop
|
|
@lxde-desktop
|
|
lxlauncher
|
|
obconf
|
|
lxdm
|
|
|
|
# internet
|
|
midori
|
|
sylpheed
|
|
lostirc
|
|
transmission
|
|
|
|
# office
|
|
abiword
|
|
gnumeric
|
|
osmo
|
|
#glista
|
|
|
|
# graphics
|
|
epdfview
|
|
mtpaint
|
|
|
|
# audio & video
|
|
gmixer
|
|
lxmusic
|
|
asunder
|
|
gxine
|
|
gxine-mozplugin
|
|
|
|
# I'm looking for something smaller than
|
|
gnomebaker
|
|
|
|
# utils
|
|
galculator
|
|
parcellite
|
|
xpad
|
|
|
|
# system
|
|
gigolo
|
|
|
|
# more Desktop stuff
|
|
alsa-plugins-pulseaudio
|
|
NetworkManager-gnome
|
|
#java-1.6.0-openjdk-plugin
|
|
xcompmgr
|
|
xdg-user-dirs-gtk
|
|
|
|
|
|
# make sure kpackagekit doesn't end up the LXDE live images
|
|
gnome-packagekit*
|
|
-kpackagekit
|
|
|
|
# make sure polkit-qt doesn't end up the LXDE live images
|
|
# this is not yet in rawide
|
|
#polkit-gnome
|
|
#-polkit-qt
|
|
|
|
# same for Fedora <= 11, but commented out
|
|
PolicyKit-gnome
|
|
-PolicyKit-kde
|
|
|
|
# make sure xfce4-notifyd is not pulled in
|
|
-xfce4-notifyd
|
|
notification-daemon
|
|
|
|
# use yumex instead of gnome-packagekit
|
|
#-gnome-packagekit
|
|
#yumex
|
|
|
|
# Command line
|
|
powertop
|
|
wget
|
|
yum-utils
|
|
yum-presto
|
|
|
|
# dictionaries are big
|
|
-aspell-*
|
|
-hunspell-*
|
|
-man-pages-*
|
|
-words
|
|
|
|
# save some space
|
|
-nss_db
|
|
-sendmail
|
|
ssmtp
|
|
-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
|
|
# LXDE and LXDM configuration
|
|
|
|
# create /etc/sysconfig/desktop (needed for installation)
|
|
cat > /etc/sysconfig/desktop <<EOF
|
|
PREFERRED=/usr/bin/startlxde
|
|
DISPLAYMANAGER=/usr/sbin/lxdm
|
|
EOF
|
|
|
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
|
# disable screensaver locking and make sure gamin gets started
|
|
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
|
/usr/libexec/gam_server
|
|
@lxpanel --profile LXDE
|
|
@pcmanfm -d
|
|
@pulseaudio -D
|
|
FOE
|
|
|
|
# set up preferred apps
|
|
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
|
[Preferred Applications]
|
|
WebBrowser=mozilla-firefox.desktop
|
|
MailClient=redhat-sylpheed.desktop
|
|
FOE
|
|
|
|
# set up auto-login for liveuser
|
|
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
|
|
|
# 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
|
|
|
|
# Add autostart for parcellite
|
|
cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
|
|
|
|
# this goes at the end after all other changes.
|
|
chown -R liveuser:liveuser /home/liveuser
|
|
restorecon -R /home/liveuser
|
|
|
|
EOF
|
|
|
|
%end
|
|
|