From 3a71b8b2dc8438b65f7f170abcd6de26cbd8de32 Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Tue, 14 Feb 2017 15:18:12 +0100 Subject: [PATCH] lxqt: initial import --- fedora-live-lxqt.ks | 48 +++++++++++++++++++++++++++ fedora-lxqt-common.ks | 76 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 fedora-live-lxqt.ks create mode 100644 fedora-lxqt-common.ks diff --git a/fedora-live-lxqt.ks b/fedora-live-lxqt.ks new file mode 100644 index 0000000..a22409c --- /dev/null +++ b/fedora-live-lxqt.ks @@ -0,0 +1,48 @@ +# fedora-live-lxqt.ks +# +# Description: +# – Fedora Live Spin with the LXQt desktop environment +# +# Maintainer(s): +# – Christian Dersch +# + +%include fedora-live-base.ks +%include fedora-live-minimization.ks +%include fedora-lxqt-common.ks + +%post +# add initscript +cat >> /etc/rc.d/init.d/livesys << EOF + +# set up autologin for user liveuser +if [ -f /etc/sddm.conf ]; then +sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf +sed -i 's/^#Session=.*/Session=lxqt.desktop/' /etc/sddm.conf +else +cat > /etc/sddm.conf << SDDM_EOF +[Autologin] +User=liveuser +Session=lxqt.desktop +SDDM_EOF +fi + +# show liveinst.desktop on desktop and in menu +sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +mkdir /home/liveuser/Desktop +cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/ + +# set up preferred apps +cat > /etc/xdg/libfm/pref-apps.conf << FOE +[Preferred Applications] +WebBrowser=qupzilla.desktop +FOE + +# make sure to set the right permissions and selinux contexts +chown -R liveuser:liveuser /home/liveuser/ +restorecon -R /home/liveuser/ + +EOF + +%end + diff --git a/fedora-lxqt-common.ks b/fedora-lxqt-common.ks new file mode 100644 index 0000000..fa9b969 --- /dev/null +++ b/fedora-lxqt-common.ks @@ -0,0 +1,76 @@ +# fedora-lxqt-common.ks +# +# Description: +# – Fedora Live Spin with the LXQt desktop environment +# +# Maintainer(s): +# – Christian Dersch +# + +%packages +@lxqt +@networkmanager-submodules +# for nm applet +gnome-keyring + +# We have obconf-qt now +obconf-qt +-obconf + +# No sddm-breeze, this pulls in huge parts of plasma, but use breeze for LXQt +breeze-gtk +plasma-breeze +-sddm-breeze + +# no kwallet running by default +-qupzilla-kwallet + +# Pull in some useful applications, use KDE ones if necessary +dnfdragora +dragon +kcalc +kwrite +lxappearance +lximage-qt +lxqt-sudo +pavucontrol-qt +psi-plus +qbittorrent +qlipper +quassel +qpdfview-qt5 +trojita +yarock + +# l10n +lxqt-l10n +lximage-qt-l10n +obconf-qt-l10n +pavucontrol-qt-l10n + +# MP3 +gstreamer1-plugin-mpg123 + +# We want Qt GUI for libyui used by dnfdragora +libyui-mga-qt + +# remove unneeded stuff to get a lightweight system +# fonts (we make no bones about admitting we're english-only) +wqy-microhei-fonts # a compact CJK font, to replace: +-naver-nanum-gothic-fonts # Korean +-vlgothic-fonts # Japanese +-adobe-source-han-sans-cn-fonts # simplified Chinese +-adobe-source-han-sans-tw-fonts # traditional Chinese + +-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge +#-stix-fonts # mathematical symbols + +# remove input methods to free space +-@input-methods +-scim* +-m17n* +-ibus* +-iok + +%end +