2009-08-03 21:44:14 +00:00
|
|
|
# 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
|
2010-03-23 13:14:04 +00:00
|
|
|
%include fedora-live-minimization.ks
|
2009-08-03 21:44:14 +00:00
|
|
|
|
|
|
|
%packages
|
|
|
|
# LXDE desktop
|
|
|
|
@lxde-desktop
|
|
|
|
lxlauncher
|
|
|
|
obconf
|
2010-03-03 18:32:49 +00:00
|
|
|
lxdm
|
2009-08-03 21:44:14 +00:00
|
|
|
|
|
|
|
# internet
|
|
|
|
midori
|
|
|
|
sylpheed
|
|
|
|
lostirc
|
|
|
|
transmission
|
|
|
|
|
|
|
|
# office
|
|
|
|
abiword
|
|
|
|
gnumeric
|
|
|
|
osmo
|
|
|
|
#glista
|
|
|
|
|
|
|
|
# graphics
|
|
|
|
epdfview
|
|
|
|
mtpaint
|
|
|
|
|
|
|
|
# audio & video
|
2009-10-07 00:04:54 +00:00
|
|
|
gmixer
|
2009-08-03 21:44:14 +00:00
|
|
|
lxmusic
|
|
|
|
asunder
|
2009-08-08 17:18:53 +00:00
|
|
|
gxine
|
|
|
|
gxine-mozplugin
|
2009-08-03 21:44:14 +00:00
|
|
|
|
|
|
|
# I'm looking for something smaller than
|
|
|
|
gnomebaker
|
|
|
|
|
2010-03-23 00:31:15 +00:00
|
|
|
# utils
|
2009-08-03 21:44:14 +00:00
|
|
|
galculator
|
2010-03-03 18:32:49 +00:00
|
|
|
parcellite
|
2009-08-03 21:44:14 +00:00
|
|
|
xpad
|
2010-03-23 00:31:15 +00:00
|
|
|
|
|
|
|
# system
|
|
|
|
gigolo
|
|
|
|
|
|
|
|
# more Desktop stuff
|
|
|
|
alsa-plugins-pulseaudio
|
|
|
|
NetworkManager-gnome
|
|
|
|
#java-1.6.0-openjdk-plugin
|
2009-10-24 23:34:56 +00:00
|
|
|
xcompmgr
|
2010-03-23 00:31:15 +00:00
|
|
|
xdg-user-dirs-gtk
|
|
|
|
|
2009-08-03 21:44:14 +00:00
|
|
|
|
2009-08-08 19:43:49 +00:00
|
|
|
# make sure kpackagekit doesn't end up the LXDE live images
|
|
|
|
gnome-packagekit*
|
|
|
|
-kpackagekit
|
|
|
|
|
2009-08-18 19:58:04 +00:00
|
|
|
# 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
|
|
|
|
|
2009-10-07 00:04:54 +00:00
|
|
|
# make sure xfce4-notifyd is not pulled in
|
|
|
|
-xfce4-notifyd
|
|
|
|
notification-daemon
|
|
|
|
|
2009-08-03 21:44:14 +00:00
|
|
|
# use yumex instead of gnome-packagekit
|
|
|
|
#-gnome-packagekit
|
|
|
|
#yumex
|
|
|
|
|
|
|
|
# Command line
|
|
|
|
powertop
|
|
|
|
wget
|
|
|
|
yum-utils
|
2009-08-18 19:58:04 +00:00
|
|
|
yum-presto
|
2009-08-03 21:44:14 +00:00
|
|
|
|
|
|
|
# dictionaries are big
|
|
|
|
-aspell-*
|
|
|
|
-hunspell-*
|
|
|
|
-man-pages-*
|
|
|
|
-words
|
|
|
|
|
|
|
|
# save some space
|
|
|
|
-nss_db
|
|
|
|
-sendmail
|
|
|
|
ssmtp
|
|
|
|
-acpid
|
|
|
|
|
2009-10-27 00:42:10 +00:00
|
|
|
# drop some system-config things
|
|
|
|
-system-config-boot
|
|
|
|
#-system-config-language
|
|
|
|
-system-config-lvm
|
|
|
|
-system-config-network
|
|
|
|
-system-config-rootpassword
|
2009-10-27 02:38:04 +00:00
|
|
|
#-system-config-services
|
2009-10-27 00:42:10 +00:00
|
|
|
-policycoreutils-gui
|
|
|
|
|
2009-08-03 21:44:14 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
2010-03-23 18:41:51 +00:00
|
|
|
# LXDE and LXDM configuration
|
2009-08-03 21:44:14 +00:00
|
|
|
|
|
|
|
# create /etc/sysconfig/desktop (needed for installation)
|
2010-03-23 00:31:15 +00:00
|
|
|
cat > /etc/sysconfig/desktop <<EOF
|
2009-08-03 21:44:14 +00:00
|
|
|
PREFERRED=/usr/bin/startlxde
|
2010-03-23 00:31:15 +00:00
|
|
|
DISPLAYMANAGER=/usr/sbin/lxdm
|
2009-08-03 21:44:14 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
2009-11-21 21:17:27 +00:00
|
|
|
# disable screensaver locking and make sure gamin gets started
|
2010-03-23 00:31:15 +00:00
|
|
|
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
2009-11-21 21:17:27 +00:00
|
|
|
/usr/libexec/gam_server
|
2009-10-27 00:42:10 +00:00
|
|
|
@lxpanel --profile LXDE
|
|
|
|
@pcmanfm -d
|
2010-03-23 00:31:15 +00:00
|
|
|
@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
|
2009-10-27 00:42:10 +00:00
|
|
|
FOE
|
2009-08-03 21:44:14 +00:00
|
|
|
|
2009-10-27 00:42:10 +00:00
|
|
|
# set up auto-login for liveuser
|
2010-03-23 18:41:51 +00:00
|
|
|
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
|
2009-08-03 21:44:14 +00:00
|
|
|
|
2009-10-07 00:04:54 +00:00
|
|
|
# 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
|
|
|
|
|
2009-10-27 00:42:10 +00:00
|
|
|
# Add autostart for parcellite
|
|
|
|
cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
|
|
|
|
|
2009-10-07 00:04:54 +00:00
|
|
|
# this goes at the end after all other changes.
|
|
|
|
chown -R liveuser:liveuser /home/liveuser
|
|
|
|
restorecon -R /home/liveuser
|
|
|
|
|
2009-08-03 21:44:14 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
%end
|
|
|
|
|