#3 Add README.adoc, LXDE-i3 ad XFCE-13 for Fedora 32.
Merged 4 years ago by x3mboy. Opened 4 years ago by nasirhm.
i3-sig/ nasirhm/Fedora-i3-Spin i3_kickstarts_init  into  master

@@ -0,0 +1,33 @@ 

+ = Fedora i3 - Kickstart Files

+ Maintained by link:https://fedoraproject.org/wiki/SIGs/i3[i3 SiG]

+ 

+ Fedora i3's Kickstart files are used in composing Fedora i3 Release images.

+ 

+ *Note:* The i3 kickstart files are currently in development and not yet ready for production/release.

+ 

+ == Current Workflow:

+ 

+ For now, we've started with flattening/forking two widely used spins: `xfce` and `lxde` and adding the i3 packages there to ensure stability among packages.

+ A compose build was made as `F32-20200615` with the help of folks from the Respins SiG.

+ 

+ The kickstart files that are available are:

+ 

+ * `flat-i3-lxde.ks` which is flattened from `flat-live-lxde.ks` which we branched for F32 instead of rawhide.

+ * `flat-i3-xfce.ks` whichi is flattened from `flat-live-xfce.ks` which is also branched for F32.

+ 

+ Both of them were modified in order to add the link:https://fedoraproject.org/wiki/SIGs/i3/Brainstorm#i3-minimal[i3-minimal] packages along with the packages used by the specific DE.

+ 

+ == Future Workflow:

+ 

+ We are working on cleaning the ks files in order to reach a minimal i3 kickstart.

+ Which can be used to build a compose in which the Window Manager is by default set to i3.

+ 

+ Or Maybe, Once we understand how things behave behind the curtains, we can create a custom kickstart too.

+ 

+ == End Goal:

+ 

+ Our end goal is to be able to create and maintain the kickstart file which can be composed as a Fedora having i3 as it's deault window manager.

+ 

+ == Want to help

+ 

+ We would love to have you here, Come chat with us at #fedora-i3 on Freenode.

@@ -0,0 +1,64 @@ 

+ # 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-not-rawhide.ks

+ %include fedora-live-minimization.ks

+ %include fedora-lxde-common.ks

+ 

+ %post

+ # 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

+ 

+ cat >> /etc/rc.d/init.d/livesys << EOF

+ # disable screensaver locking and make sure gamin gets started

+ cat > /etc/xdg/lxsession/LXDE/autostart << FOE

+ /usr/libexec/gam_server

+ @lxpanel --profile LXDE

+ @pcmanfm --desktop --profile LXDE

+ /usr/libexec/notification-daemon

+ FOE

+ 

+ # set up preferred apps

+ cat > /etc/xdg/libfm/pref-apps.conf << FOE

+ [Preferred Applications]

+ WebBrowser=firefox.desktop

+ MailClient=sylpheed.desktop

+ FOE

+ 

+ # set up auto-login for liveuser

+ sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf

+ 

+ # 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

+ 

+ # create default config for clipit, otherwise it displays a dialog on startup

+ mkdir -p /home/liveuser/.config/clipit

+ cat > /home/liveuser/.config/clipit/clipitrc  << FOE

+ [rc]

+ use_copy=true

+ save_uris=true

+ save_history=false

+ statics_show=true

+ single_line=true

+ FOE

+ 

+ # this goes at the end after all other changes.

+ chown -R liveuser:liveuser /home/liveuser

+ restorecon -R /home/liveuser

+ 

+ EOF

+ 

+ %end

+ 

@@ -0,0 +1,76 @@ 

+ # fedora-livecd-xfce.ks

+ #

+ # Description:

+ # - Fedora Live Spin with the light-weight XFCE Desktop Environment

+ #

+ # Maintainer(s):

+ # - Rahul Sundaram    <sundaram@fedoraproject.org>

+ # - Christoph Wickert <cwickert@fedoraproject.org>

+ # - Kevin Fenzi       <kevin@tummy.com>

+ # - Adam Miller       <maxamillion@fedoraproject.org>

+ 

+ %include fedora-live-base-not-rawhide.ks

+ %include fedora-live-minimization.ks

+ %include fedora-xfce-common.ks

+ 

+ %post

+ # xfce configuration

+ 

+ # create /etc/sysconfig/desktop (needed for installation)

+ 

+ cat > /etc/sysconfig/desktop <<EOF

+ PREFERRED=/usr/bin/startxfce4

+ DISPLAYMANAGER=/usr/sbin/lightdm

+ EOF

+ 

+ cat >> /etc/rc.d/init.d/livesys << EOF

+ 

+ mkdir -p /home/liveuser/.config/xfce4

+ 

+ cat > /home/liveuser/.config/xfce4/helpers.rc << FOE

+ MailReader=sylpheed-claws

+ FileManager=Thunar

+ WebBrowser=firefox

+ FOE

+ 

+ # disable screensaver locking (#674410)

+ cat >> /home/liveuser/.xscreensaver << FOE

+ mode:           off

+ lock:           False

+ dpmsEnabled:    False

+ FOE

+ 

+ # deactivate xfconf-migration (#683161)

+ rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :

+ 

+ # deactivate xfce4-panel first-run dialog (#693569)

+ mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml

+ cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

+ 

+ # 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 Xfce as default session, otherwise login will fail

+ sed -i 's/^#user-session=.*/user-session=xfce/' /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

+ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop

+ 

+ # no updater applet in live environment

+ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop

+ 

+ # and mark it as executable (new Xfce security feature)

+ chmod +x /home/liveuser/Desktop/liveinst.desktop

+ 

+ # this goes at the end after all other changes.

+ chown -R liveuser:liveuser /home/liveuser

+ restorecon -R /home/liveuser

+ 

+ EOF

+ 

+ %end

+ 

Added a README.adoc to make it easier or others who would like to maintain the Spin in future.

Added 2 Kickstart files.

Pull-Request has been merged by x3mboy

4 years ago