1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-14 12:54:22 +00:00
fedora-kickstarts/fedora-live-i3.ks

40 lines
878 B
Plaintext
Raw Normal View History

# fedora-livecd-i3.ks
#
# Description:
# - Fedora Live Spin with the tiling window manager i3
#
# Maintainer(s):
# - Nasir Hussain <nasirhm@fedoraproject.org>
# - Eduard Lucena <x3mboy@fedoraproject.org>
# - Dan Cermak <defolos@tummy.com>
# - Justin W. Flory <jwf@fedoraproject.org>
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-i3-common.ks
%post
# i3 configuration
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/i3
DISPLAYMANAGER=/usr/sbin/lightdm
EOF
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=2240823
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="i3"/' /etc/sysconfig/livesys
%end