Add KDE Spin

This commit is contained in:
Jeroen van Meeuwen (Fedora Unity) 2008-04-25 12:10:13 +02:00
parent 13934a0984
commit 000cbcc316
4 changed files with 122 additions and 3 deletions

14
fedora-live-kde-nl_NL.ks Normal file
View File

@ -0,0 +1,14 @@
# fedora-live-kde-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-live-kde.ks
lang nl_NL
keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
%end

98
fedora-live-kde.ks Normal file
View File

@ -0,0 +1,98 @@
%include fedora-live-base.ks
%packages
@kde-desktop
kdegames
k3b
koffice-kword
koffice-kspread
koffice-kpresenter
koffice-filters
twinkle
filelight
krusader
# if it is enough space include koffice-krita (~40 megs)
koffice-krita
# some other extra packages
gnupg
synaptics
hal-cups-utils
nss-mdns
# ignore comps.xml and make sure these packages are included
kpowersave
rhgb
man-pages
smolt-firstboot
knetworkmanager
#some changes that we don't want...
-specspo
-scribus
-kdeaddons
-kdemultimedia-extras
-kdeartwork-extras
-kmymoney2
-basket
-speedcrunch
-autofs
# try to remove some packages from livecd-fedora-base-desktop.ks
-scim*
-gdm
-authconfig-gtk
-m17n*
-PolicyKit-gnome
-gnome-doc-utils-stylesheets
-anthy
-kasumi
-pygtkglext
-python-devel
-libchewing
# workaround for the moment (requirements of hplip)
python-imaging
python-reportlab
%end
%post
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
EOF
# add initscript
cat >> /etc/rc.d/init.d/fedora-live << EOF
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
# use image also for kdm
mkdir -p /usr/share/apps/kdm/faces
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
echo "startkde" > /home/fedora/.xsession
chmod a+x /home/fedora/.xsession
chown fedora:fedora /home/fedora/.xsession
# set up autologin for user fedora
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc
# set up user fedora as default user and preselected user
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc
# disable screensaver
sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc
# workaround to put liveinst on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
EOF
%end

View File

@ -1,4 +1,7 @@
# fedora-live-xfce-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-live-xfce.ks

View File

@ -1,6 +1,10 @@
# Fedora Project Spin
# (c) Rahul Sundaram <sundaram@fedoraproject.org>
# GPlv2 or later
# fedora-live-xfce.ks
#
# Description:
# - Fedora Live Spin with the light-weight XFCE Desktop Environment
#
# Maintainer(s):
# - Rahul Sundaram <sundaram a fedoraproject.org>
%include fedora-live-base.ks