2021-02-15 15:19:05 +00:00
|
|
|
# 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>
|
|
|
|
|
2021-02-15 15:26:49 +00:00
|
|
|
%include fedora-live-base.ks
|
2021-02-15 15:19:05 +00:00
|
|
|
%include fedora-live-minimization.ks
|
|
|
|
%include fedora-i3-common.ks
|
|
|
|
|
2024-03-26 22:20:32 +00:00
|
|
|
# need a bigger /
|
|
|
|
part / --size 6000
|
|
|
|
|
2021-02-15 15:19:05 +00:00
|
|
|
%post
|
2022-11-29 06:30:25 +00:00
|
|
|
# i3 configuration
|
2021-02-15 15:19:05 +00:00
|
|
|
|
|
|
|
# create /etc/sysconfig/desktop (needed for installation)
|
|
|
|
|
|
|
|
cat > /etc/sysconfig/desktop <<EOF
|
|
|
|
PREFERRED=/usr/bin/i3
|
|
|
|
DISPLAYMANAGER=/usr/sbin/lightdm
|
|
|
|
EOF
|
|
|
|
|
2023-09-26 19:53:45 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-11-29 06:30:25 +00:00
|
|
|
# set livesys session type
|
|
|
|
sed -i 's/^livesys_session=.*/livesys_session="i3"/' /etc/sysconfig/livesys
|
2021-02-15 15:19:05 +00:00
|
|
|
|
|
|
|
%end
|
|
|
|
|