diff options
author | Kevin Kofler <Kevin@tigcc.ticalc.org> | 2011-03-22 16:20:52 +0100 |
---|---|---|
committer | Kevin Kofler <Kevin@tigcc.ticalc.org> | 2011-03-22 16:20:52 +0100 |
commit | 9a222daf121e1265a859850e2b064b61a929ca44 (patch) | |
tree | b8ec1794391ba10492a8d6027e16c641f426a276 /fedora-live-kde-base.ks | |
parent | 750658b18a603d9cac34a64ef6e1618450ec8430 (diff) | |
download | spin-kickstarts-9a222daf121e1265a859850e2b064b61a929ca44.tar.gz spin-kickstarts-9a222daf121e1265a859850e2b064b61a929ca44.tar.xz spin-kickstarts-9a222daf121e1265a859850e2b064b61a929ca44.zip |
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.
Diffstat (limited to 'fedora-live-kde-base.ks')
-rw-r--r-- | 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 |