mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +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:
parent
fc7ae6f087
commit
cb9fc0f468
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user