summaryrefslogtreecommitdiffstats
path: root/redhat/trinity-live/fedora-live-tde-base.ks
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/trinity-live/fedora-live-tde-base.ks')
-rw-r--r--redhat/trinity-live/fedora-live-tde-base.ks21
1 files changed, 20 insertions, 1 deletions
diff --git a/redhat/trinity-live/fedora-live-tde-base.ks b/redhat/trinity-live/fedora-live-tde-base.ks
index b56e5c92a..ed912dfff 100644
--- a/redhat/trinity-live/fedora-live-tde-base.ks
+++ b/redhat/trinity-live/fedora-live-tde-base.ks
@@ -9,8 +9,11 @@ repo --name=trinity-extras-noarch --baseurl=http://trinity.mangafrance.com/f$rel
%packages
### The KDE-Desktop
-
trinity-desktop
+hal
+
+# TDE is missing a Network Applet, so we use Gnome...
+NetworkManager-gnome
### fixes
@@ -81,6 +84,7 @@ touch /usr/share/icons/hicolor/
# Create user Desktop directory
mkdir -p /home/liveuser/Desktop
+mkdir -p /home/liveuser/Documents
# make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
@@ -91,4 +95,19 @@ sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink
EOF
+# 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
+
%end