From 4c3909fd6bd32e862711888b679be37d809d4b34 Mon Sep 17 00:00:00 2001 From: Odilon Junior Date: Feb 15 2021 15:19:05 +0000 Subject: [PATCH 1/2] Addining the Kickstart files for the i3-spin --- diff --git a/fedora-i3-common.ks b/fedora-i3-common.ks new file mode 100644 index 0000000..d99231f --- /dev/null +++ b/fedora-i3-common.ks @@ -0,0 +1,47 @@ +# fedora-livecd-i3.ks +# +# Description: +# - Fedora Live Spin with the tiling window manager i3wm +# +# Maintainer(s): +# - Nasir Hussain +# - Eduard Lucena +# - Justin W. Flory +# - Dan Cermak + + +%packages + +@networkmanager-submodules +i3 +dunst +azote +lightdm-gtk +brightlight +feh +mousepad +dex-autostart +network-manager-applet +pavucontrol +volumeicon +thunar +lightdm-gtk + + +# unlock default keyring. FIXME: Should probably be done in comps +gnome-keyring-pam +# Admin tools are handy to have +@admin-tools +wget +# Better more popular browser +firefox +system-config-printer + +# save some space +-autofs +-acpid +-gimp-help +-desktop-backgrounds-basic +-aspell-* # dictionaries are big + +%end diff --git a/fedora-live-i3.ks b/fedora-live-i3.ks new file mode 100644 index 0000000..eec22de --- /dev/null +++ b/fedora-live-i3.ks @@ -0,0 +1,59 @@ +# fedora-livecd-i3.ks +# +# Description: +# - Fedora Live Spin with the tiling window manager i3 +# +# Maintainer(s): +# - Nasir Hussain +# - Eduard Lucena +# - Dan Cermak +# - Justin W. Flory + +%include fedora-live-base-not-rawhide.ks +%include fedora-live-minimization.ks +%include fedora-i3-common.ks + +%post +# xfce configuration + +# create /etc/sysconfig/desktop (needed for installation) + +cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/livesys << EOF + +# deactivate xfconf-migration (#683161) +rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || : + +# set up lightdm autologin +sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf +sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf +#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf + +# set i3 as default session, otherwise login will fail +sed -i 's/^#user-session=.*/user-session=i3/' /etc/lightdm/lightdm.conf + +# Show harddisk install on the desktop +sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +mkdir /home/liveuser/Desktop + +# this goes at the end after all other changes. +chown -R liveuser:liveuser /home/liveuser +restorecon -R /home/liveuser + +# setting the wallpaper +echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveuser/.profile + +# echoing type liveinst to start the installer +echo "echo 'Please type liveinst and press Enter to start the installer'" >> /home/liveuser/.bashrc + +# fixing the installer non opening bug +echo "xhost si:localuser:root" >> /home/liveuser/.profile + +EOF + +%end + From 05916f616f6bfede049f158bb14bb7ea0dfc2cb3 Mon Sep 17 00:00:00 2001 From: Odilon Junior Date: Feb 15 2021 15:26:49 +0000 Subject: [PATCH 2/2] Changing from fedora-live-base-not-rawhide.ks to fedora-live-base.ks --- diff --git a/fedora-live-i3.ks b/fedora-live-i3.ks index eec22de..a2d454a 100644 --- a/fedora-live-i3.ks +++ b/fedora-live-i3.ks @@ -9,7 +9,7 @@ # - Dan Cermak # - Justin W. Flory -%include fedora-live-base-not-rawhide.ks +%include fedora-live-base.ks %include fedora-live-minimization.ks %include fedora-i3-common.ks