1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-30 02:43:08 +00:00
fedora-kickstarts/fedora-livecd-meego.ks
Kalev Lember 9d017bd59a Adapt to firefox desktop file name change in F17
Starting with firefox-7.0.1-3.fc17, the desktop file was renamed from
mozilla-firefox.desktop -> firefox.desktop.

https://bugzilla.redhat.com/show_bug.cgi?id=736558
https://bugzilla.redhat.com/show_bug.cgi?id=808497
2012-03-30 17:30:42 +03:00

82 lines
2.1 KiB
Plaintext

# Maintained by the Fedora Mini SIG:
# https://fedoraproject.org/wiki/SIGs/FedoraMini
%include fedora-live-mini.ks
%packages
# MeeGo NetBook UX
@meego-netbook
notification-daemon
gnome-terminal
empathy
gypsy
geoclue-gypsy
firefox
dates
contacts
tasks
# remove while it crashes X
# gnome-bluetooth-moblin
# telepathy IM protocols
telepathy-salut
telepathy-sofiasip
telepathy-gabble
telepathy-farsight
telepathy-butterfly
# Some useful gnome tools
cheese
nautilus
# display managers
gdm
%end
%post
cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/gnome/lockdown/disable_lock_screen true >/dev/null
# Set up auto-login for for liveuser
cat >> /etc/gdm/custom.conf << FOE
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=liveuser
FOE
# Set the Moblin icon/cursor/gtk theme
cat > /etc/gtk-2.0/gtkrc << FOE
gtk-theme-name = "Moblin-Netbook"
gtk-icon-theme-name = "moblin"
gtk-cursor-theme-name = "moblin"
gtk-button-images = 0
gtk-menu-images = 0
FOE
# Add favourite apps to MyZone
mkdir -p /etc/skel/.local/share/
cat > /etc/skel/.local/share/favourite-apps << FOE
file:///usr/share/applications/moblin-app-installer.desktop file:///usr/share/applications/anjal.desktop file:///usr/share/applications/firefox.desktop file:///usr/share
/applications/fedora-empathy.desktop file:///usr/share/applications/hornsey.desktop file:///usr/share/applications/fedora-dates.desktop file:///usr/share/applications/fedora-con
tacts.desktop file:///usr/share/applications/fedora-tasks.desktop
FOE
cat >> /etc/init.d/livesys << FOE
# Add the moblin favourite icons
mkdir -p /home/liveuser/.local/share/
cp /etc/skel/.local/share/favourite-apps /home/liveuser/.local/share/
FOE
# Turn off PackageKit-command-not-found while uninstalled
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
EOF
%end