summaryrefslogtreecommitdiffstats
path: root/redhat/extras/trinity-live/fedora-live-tde-base.ks
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:20:45 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:20:45 +0200
commitdf1796908bf299c5608a1cf66b519196b4229bf0 (patch)
tree8d5d9609f0a680f3af5211ff42988ebadeb498c4 /redhat/extras/trinity-live/fedora-live-tde-base.ks
parentd6f2af0c9c7a718200251e714e890fb9f7f6a40c (diff)
downloadtde-packaging-df1796908bf299c5608a1cf66b519196b4229bf0.tar.gz
tde-packaging-df1796908bf299c5608a1cf66b519196b4229bf0.zip
Fedora: updates trinity-live to build Fedora 17 LiveCD
Diffstat (limited to 'redhat/extras/trinity-live/fedora-live-tde-base.ks')
-rw-r--r--redhat/extras/trinity-live/fedora-live-tde-base.ks18
1 files changed, 14 insertions, 4 deletions
diff --git a/redhat/extras/trinity-live/fedora-live-tde-base.ks b/redhat/extras/trinity-live/fedora-live-tde-base.ks
index 593b44ca1..c54b149d2 100644
--- a/redhat/extras/trinity-live/fedora-live-tde-base.ks
+++ b/redhat/extras/trinity-live/fedora-live-tde-base.ks
@@ -8,7 +8,8 @@ repo --name=trinity-extras-noarch --baseurl=http://trinity.mangafrance.com/f$rel
%packages
-### The KDE-Desktop
+### The Trinity Desktop
+
trinity-desktop
hal
@@ -35,12 +36,17 @@ DESKTOP="KDE"
DISPLAYMANAGER="/opt/trinity/bin/kdm"
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, #808062)
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
+mkdir -p /root/.config/gtk-3.0
+cat > /root/.config/gtk-3.0/settings.ini << EOF
+[Settings]
+gtk-theme-name = oxygen-gtk
+EOF
# add initscript
cat >> /etc/rc.d/init.d/livesys << EOF
@@ -66,6 +72,10 @@ sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /opt/trinity/share/config/
# add liveinst.desktop to favorites menu
mkdir -p /home/liveuser/.trinity/share/config/
+cat > /home/liveuser/.trinity/share/config/kickoffrc << MENU_EOF
+[Favorites]
+FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
+MENU_EOF
# show liveinst.desktop on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
@@ -89,10 +99,10 @@ mkdir -p /home/liveuser/Documents
# Kmix (from TDE) should be started automatically
#mkdir -p /home/liveuser/.trinity/Autostart
#ln -sf /opt/trinity/share/applications/kde/kmix.desktop /home/liveuser/.trinity/Autostart/kmix.desktop
-cat <<EOF >/home/liveuser/.trinity/share/config/kmixrc
+cat <<KMIX_EOF >/home/liveuser/.trinity/share/config/kmixrc
Autostart=true
Visible=false
-EOF
+KMIX_EOF
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/