summaryrefslogtreecommitdiffstats
path: root/redhat/extras/trinity-live/fedora-live-tde-base.ks
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-01-03 18:43:04 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-01-03 18:43:04 +0100
commitefc11b9c483323fff5945461b739d71e8c03ad75 (patch)
treeba0258893e10e38fe92b42002cf62e04e55b3efe /redhat/extras/trinity-live/fedora-live-tde-base.ks
parent445f795ae44cf40800bb0c4015ccc0a74961a52b (diff)
downloadtde-packaging-efc11b9c483323fff5945461b739d71e8c03ad75.tar.gz
tde-packaging-efc11b9c483323fff5945461b739d71e8c03ad75.zip
Fedora: updates TDE 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, 4 insertions, 14 deletions
diff --git a/redhat/extras/trinity-live/fedora-live-tde-base.ks b/redhat/extras/trinity-live/fedora-live-tde-base.ks
index ed912dfff..827a0b2bf 100644
--- a/redhat/extras/trinity-live/fedora-live-tde-base.ks
+++ b/redhat/extras/trinity-live/fedora-live-tde-base.ks
@@ -51,7 +51,7 @@ if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
fi
-# make liveuser use KDE
+# make liveuser use TDE
echo "/opt/trinity/bin/startkde" > /home/liveuser/.xsession
chmod a+x /home/liveuser/.xsession
chown liveuser:liveuser /home/liveuser/.xsession
@@ -95,19 +95,9 @@ sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink
EOF
+### TDE LIVECD specific features ###
+
# Sets 'nm-applet' to run automatically
-mkdir -p /home/liveuser/.trinity/Autostart
-cat <<EOF >/home/liveuser/.trinity/Autostart/nm-applet
-#!/bin/sh
-
-# Waits until kicker is started, so that
-# nm-applet can dock correctly.
-while ! pidof kicker; do
- sleep 1
-done
-sleep 3
-/usr/bin/nm-applet
-EOF
-chmod +x /home/liveuser/.trinity/Autostart/nm-applet
+ln -sf /usr/share/applications/nm-applet.desktop /opt/trinity/share/autostart/nm-applet.desktop
%end