1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-15 21:23:09 +00:00
fedora-kickstarts/fedora-live-lxde.ks

35 lines
778 B
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
%include fedora-lxde-common.ks
%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
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=2240162
cat > /etc/xdg/autostart/xfce-polkit.desktop <<EOF
[Desktop Entry]
Type=Application
Name=xfce-polkit
Exec=/usr/libexec/xfce-polkit
EOF
# set livesys session type
sed -i 's/^livesys_session=.*/livesys_session="lxde"/' /etc/sysconfig/livesys
%end