From cb9fc0f468075467878cf6a6b40b552c4915dad5 Mon Sep 17 00:00:00 2001 From: Sebastian Vahl Date: Wed, 15 Oct 2008 21:24:14 +0200 Subject: [PATCH] use kpackagekit instead of gnome-packagekit (at least for snapshot 2; see http://fedoraproject.org/wiki/SIGs/KDE/Meetings/2008-10-14); add liveusb-creator; replace user fedora with liveuser also in comments --- fedora-livecd-kde.ks | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/fedora-livecd-kde.ks b/fedora-livecd-kde.ks index df35004..69d1075 100644 --- a/fedora-livecd-kde.ks +++ b/fedora-livecd-kde.ks @@ -11,8 +11,9 @@ %packages -# workaround to put it on the beta -phonon-backend-xine +# make kpackagekit the default on the kde live images +kpackagekit +-gnome-packagekit @kde-desktop @@ -50,6 +51,7 @@ filelight # some extras fuse +liveusb-creator # nice to have but pulls in gstreamer #pavucontrol @@ -93,16 +95,16 @@ 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 fedora user use KDE +# make liveuser use KDE echo "startkde" > /home/liveuser/.xsession chmod a+x /home/liveuser/.xsession chown liveuser:liveuser /home/liveuser/.xsession -# set up autologin for user fedora +# set up autologin for user liveuser sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc -# set up user fedora as default user and preselected user +# set up user liveuser as default user and preselected user sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc @@ -112,11 +114,25 @@ cat > /home/liveuser/.kde/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 -chown -R liveuser:liveuser /home/liveuser/.kde/ # show liveinst.desktop on and in menu sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +# Disable the update notifications of kpackagekit +cat > /home/liveuser/.kde/share/config/KPackageKit << KPACKAGEKIT_EOF +[CheckUpdate] +autoUpdate=0 +interval=0 + +[Notify] +notifyLongTasks=2 +notifyUpdates=0 +KPACKAGEKIT_EOF + +# make sure to set the right permissions +chown -R liveuser:liveuser /home/liveuser/.kde/ + + EOF %end