fedora-kickstarts/fedora-live-kde-base.ks

26 lines
618 B
Plaintext
Raw Normal View History

# Maintained by the Fedora KDE SIG:
# http://fedoraproject.org/wiki/SIGs/KDE
# mailto:kde@lists.fedoraproject.org
%include fedora-live-base.ks
%include fedora-kde-common.ks
%post
2015-03-11 17:54:43 +00:00
# set default GTK+ theme for root (see #683855, #689070, #808062)
cat > /root/.gtkrc-2.0 << EOF
2015-03-11 17:54:43 +00:00
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
2015-03-11 17:54:43 +00:00
gtk-theme-name="Adwaita"
EOF
mkdir -p /root/.config/gtk-3.0
cat > /root/.config/gtk-3.0/settings.ini << EOF
[Settings]
2015-03-11 17:54:43 +00:00
gtk-theme-name = Adwaita
EOF
# set livesys session type
sed -i 's/^livesys_session=.*/livesys_session="kde"/' /etc/sysconfig/livesys
%endif