commit 9a222daf121e1265a859850e2b064b61a929ca44
Author: Kevin Kofler <Kevin(a)tigcc.ticalc.org>
Date: Tue Mar 22 16:20:52 2011 +0100
fedora-live-kde-base.ks: create /root/.gtkrc-2.0 directly in the image (#689070)
This needs to be done directly in the file system image, not in the livesys
initscript, because it should persist on liveinst.
fedora-live-kde-base.ks | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/fedora-live-kde-base.ks b/fedora-live-kde-base.ks
index 86e5410..872b4d8 100644
--- a/fedora-live-kde-base.ks
+++ b/fedora-live-kde-base.ks
@@ -33,6 +33,13 @@ DESKTOP="KDE"
DISPLAYMANAGER="KDE"
EOF
+# make oxygen-gtk the default GTK+ 2 theme for root (see #683855, #689070)
+cat > /root/.gtkrc-2.0 << EOF
+include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
+include "/etc/gtk-2.0/gtkrc"
+gtk-theme-name="oxygen-gtk"
+EOF
+
# add initscript
cat >> /etc/rc.d/init.d/livesys << EOF
@@ -115,13 +122,6 @@ if strstr "\`cat /proc/cmdline\`" netbook ; then
mv /usr/share/autostart/plasma-desktop.desktop
/usr/share/autostart/plasma-netbook.desktop
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
fi
-
-# hack around
https://bugzilla.redhat.com/683855
-cat > /root/.gtkrc-2.0 << GTKRC_EOF
-include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
-include "/etc/gtk-2.0/gtkrc"
-gtk-theme-name="oxygen-gtk"
-GTKRC_EOF
EOF
%end