1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-12-02 11:13:08 +00:00
fedora-kickstarts/fedora-livecd-lxde.ks

168 lines
2.9 KiB
Plaintext
Raw Normal View History

# 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
2011-03-05 15:54:28 +00:00
### LXDE desktop
@lxde-desktop
lxlauncher
obconf
2010-03-03 18:32:49 +00:00
lxdm
2011-03-05 15:54:28 +00:00
### internet
firefox
icedtea-web
2011-03-05 15:54:51 +00:00
pidgin
2011-03-05 15:54:28 +00:00
sylpheed
transmission
2011-03-05 15:54:28 +00:00
### office
abiword
gnumeric
osmo
2011-03-05 15:54:28 +00:00
### graphics
epdfview
mtpaint
2011-03-05 15:54:28 +00:00
### audio & video
alsa-plugins-pulseaudio
asunder
2011-03-05 15:54:28 +00:00
lxmusic
2009-08-08 17:18:53 +00:00
gxine
gxine-mozplugin
2011-03-05 15:54:28 +00:00
pavucontrol
pnmixer
# I'm looking for something smaller than
gnomebaker
2011-03-05 15:54:28 +00:00
### utils
galculator
2010-03-03 18:32:49 +00:00
parcellite
xpad
2011-03-05 15:54:28 +00:00
### system
gigolo
2011-03-05 15:54:28 +00:00
### more desktop stuff
fedora-icon-theme
adwaita-cursor-theme
adwaita-gtk2-theme
adwaita-gtk3-theme
2011-03-05 15:54:28 +00:00
# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam
2011-03-05 15:54:28 +00:00
# needed for automatic unlocking of keyring (#643435)
gnome-keyring-pam
2011-03-05 15:54:28 +00:00
NetworkManager-gnome
# needed for xdg-open to support LXDE
perl-File-MimeInfo
xcompmgr
xdg-user-dirs-gtk
xscreensaver-extras
2011-03-05 15:47:28 +00:00
2011-03-05 15:49:15 +00:00
# use yumex instead of gnome-packagekit
yumex
2011-10-21 22:03:05 +00:00
-apper
2011-03-05 15:49:15 +00:00
-gnome-packagekit
# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
-polkit-gnome
2010-04-09 23:22:26 +00:00
-polkit-kde
# make sure xfce4-notifyd is not pulled in
notification-daemon
2010-04-09 23:22:26 +00:00
-xfce4-notifyd
# make sure xfwm4 is not pulled in for firstboot
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
metacity
# Command line
powertop
wget
yum-utils
yum-presto
# dictionaries are big
-aspell-*
-hunspell-*
-man-pages-*
-words
# save some space
-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
-gnome-disk-utility
# we need UPower for suspend and hibernate
upower
%end
%post
2010-03-23 18:41:51 +00:00
# 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 --desktop --profile LXDE
/usr/libexec/notification-daemon
FOE
# set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
MailClient=redhat-sylpheed.desktop
FOE
# 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
# 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