fedora-live-kde-base.ks: Default to oxygen-gtk3.

- Pull in oxygen-gtk3 instead of adwaita-gtk3-theme.
- Also handle GTK+ 3 in the workaround for apps running as root.
This commit is contained in:
Kevin Kofler 2012-01-24 17:29:54 +01:00
parent 4a183c37eb
commit c2c8107468

View File

@ -22,8 +22,8 @@ alsa-utils
# make sure gnome-packagekit doesn't end up the KDE live images # make sure gnome-packagekit doesn't end up the KDE live images
-gnome-packagekit* -gnome-packagekit*
# pull in adwaita-gtk3-theme as long as we don't have native GTK+ 3 theming # pull in oxygen-gtk3 manually until we have the metapackage set up
adwaita-gtk3-theme oxygen-gtk3
%end %end
@ -36,12 +36,16 @@ DESKTOP="KDE"
DISPLAYMANAGER="KDE" DISPLAYMANAGER="KDE"
EOF EOF
# make oxygen-gtk the default GTK+ 2 theme for root (see #683855, #689070) # make oxygen-gtk the default GTK+ theme for root (see #683855, #689070)
cat > /root/.gtkrc-2.0 << EOF cat > /root/.gtkrc-2.0 << EOF
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc" include "/etc/gtk-2.0/gtkrc"
gtk-theme-name="oxygen-gtk" gtk-theme-name="oxygen-gtk"
EOF EOF
cat > /root/.config/gtk-3.0/settings.ini << EOF
[Settings]
gtk-theme-name = oxygen-gtk
EOF
# add initscript # add initscript
cat >> /etc/rc.d/init.d/livesys << EOF cat >> /etc/rc.d/init.d/livesys << EOF