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
|
2011-03-05 15:54:28 +00:00
|
|
|
### LXDE desktop
|
2009-08-03 21:44:14 +00:00
|
|
|
@lxde-desktop
|
|
|
|
lxlauncher
|
|
|
|
obconf
|
2010-03-03 18:32:49 +00:00
|
|
|
lxdm
|
2009-08-03 21:44:14 +00:00
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### internet
|
2010-04-09 23:19:05 +00:00
|
|
|
firefox
|
2011-05-07 11:40:02 +00:00
|
|
|
icedtea-web
|
2011-03-05 15:54:51 +00:00
|
|
|
pidgin
|
2011-03-05 15:54:28 +00:00
|
|
|
sylpheed
|
2009-08-03 21:44:14 +00:00
|
|
|
transmission
|
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### office
|
2009-08-03 21:44:14 +00:00
|
|
|
abiword
|
|
|
|
gnumeric
|
|
|
|
osmo
|
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### graphics
|
2009-08-03 21:44:14 +00:00
|
|
|
epdfview
|
|
|
|
mtpaint
|
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### audio & video
|
|
|
|
alsa-plugins-pulseaudio
|
2009-08-03 21:44:14 +00:00
|
|
|
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
|
2009-08-03 21:44:14 +00:00
|
|
|
# I'm looking for something smaller than
|
|
|
|
gnomebaker
|
|
|
|
|
2011-03-05 15:54:28 +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
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### system
|
2010-03-23 00:31:15 +00:00
|
|
|
gigolo
|
|
|
|
|
2011-03-05 15:54:28 +00:00
|
|
|
### more desktop stuff
|
|
|
|
fedora-icon-theme
|
2011-04-04 23:07:41 +00:00
|
|
|
adwaita-cursor-theme
|
|
|
|
adwaita-gtk2-theme
|
|
|
|
adwaita-gtk3-theme
|
2011-03-05 15:54:28 +00:00
|
|
|
|
2010-05-09 21:22:44 +00:00
|
|
|
# pam-fprint causes a segfault in LXDM when enabled
|
|
|
|
-fprintd-pam
|
2011-03-05 15:54:28 +00:00
|
|
|
|
2010-10-26 15:40:57 +00:00
|
|
|
# needed for automatic unlocking of keyring (#643435)
|
|
|
|
gnome-keyring-pam
|
2009-08-03 21:44:14 +00:00
|
|
|
|
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
|
2011-05-17 19:53:29 +00:00
|
|
|
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
|
|
|
|
-gnome-packagekit
|
2009-08-08 19:43:49 +00:00
|
|
|
-kpackagekit
|
|
|
|
|
2010-08-09 19:14:38 +00:00
|
|
|
# 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
|
2009-08-18 19:58:04 +00:00
|
|
|
|
2009-10-07 00:04:54 +00:00
|
|
|
# make sure xfce4-notifyd is not pulled in
|
|
|
|
notification-daemon
|
2010-04-09 23:22:26 +00:00
|
|
|
-xfce4-notifyd
|
2009-10-07 00:04:54 +00:00
|
|
|
|
2010-10-19 01:19:59 +00:00
|
|
|
# make sure xfwm4 is not pulled in for firstboot
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
|
|
|
|
metacity
|
|
|
|
|
2009-08-03 21:44:14 +00:00
|
|
|
# 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
|
|
|
|
-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
|
2011-02-27 16:14:21 +00:00
|
|
|
-gnome-disk-utility
|
2009-10-27 00:42:10 +00:00
|
|
|
|
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
|
2011-05-06 09:04:53 +00:00
|
|
|
@pcmanfm --desktop --profile LXDE
|
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
|
|
|
|
|