1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-22 07:23:09 +00:00

lxqt: initial import

This commit is contained in:
Christian Dersch 2017-02-14 15:18:12 +01:00
parent 026f8948d3
commit 3a71b8b2dc
2 changed files with 124 additions and 0 deletions

48
fedora-live-lxqt.ks Normal file
View File

@ -0,0 +1,48 @@
# fedora-live-lxqt.ks
#
# Description:
# Fedora Live Spin with the LXQt desktop environment
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
#
%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

76
fedora-lxqt-common.ks Normal file
View File

@ -0,0 +1,76 @@
# fedora-lxqt-common.ks
#
# Description:
# Fedora Live Spin with the LXQt desktop environment
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
#
%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