1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-29 18:33:09 +00:00

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

This commit is contained in:
Sebastian Vahl 2008-10-15 21:24:14 +02:00
parent fc7ae6f087
commit cb9fc0f468

View File

@ -11,8 +11,9 @@
%packages %packages
# workaround to put it on the beta # make kpackagekit the default on the kde live images
phonon-backend-xine kpackagekit
-gnome-packagekit
@kde-desktop @kde-desktop
@ -50,6 +51,7 @@ filelight
# some extras # some extras
fuse fuse
liveusb-creator
# nice to have but pulls in gstreamer # nice to have but pulls in gstreamer
#pavucontrol #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 cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
fi fi
# make fedora user use KDE # make liveuser use KDE
echo "startkde" > /home/liveuser/.xsession echo "startkde" > /home/liveuser/.xsession
chmod a+x /home/liveuser/.xsession chmod a+x /home/liveuser/.xsession
chown liveuser:liveuser /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/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /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/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /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] [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 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 MENU_EOF
chown -R liveuser:liveuser /home/liveuser/.kde/
# show liveinst.desktop on and in menu # show liveinst.desktop on and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop 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 EOF
%end %end