From a516f40dd51843a4f72d6d8913f2e77c1c198fa7 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Tue, 23 Mar 2010 01:31:15 +0100 Subject: [PATCH] LXDE: fix lxdm start, set preferred apps and update package selection --- fedora-livecd-lxde.ks | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks index 5106e53..708b12f 100644 --- a/fedora-livecd-lxde.ks +++ b/fedora-livecd-lxde.ks @@ -20,7 +20,6 @@ midori sylpheed lostirc transmission -gftp # office abiword @@ -42,18 +41,21 @@ gxine-mozplugin # I'm looking for something smaller than gnomebaker -# development -#geany - -# More Desktop stuff -xdg-user-dirs-gtk -#@java -alsa-plugins-pulseaudio -NetworkManager-gnome +# utils galculator parcellite xpad + +# system +gigolo + +# more Desktop stuff +alsa-plugins-pulseaudio +NetworkManager-gnome +#java-1.6.0-openjdk-plugin xcompmgr +xdg-user-dirs-gtk + # make sure kpackagekit doesn't end up the LXDE live images gnome-packagekit* @@ -110,20 +112,25 @@ ssmtp # create /etc/sysconfig/desktop (needed for installation) -cat >> /etc/sysconfig/desktop < /etc/sysconfig/desktop <> /etc/rc.d/init.d/livesys << EOF # disable screensaver locking and make sure gamin gets started -rm -f /etc/xdg/lxsession/LXDE/autostart -cat >> /etc/xdg/lxsession/LXDE/autostart << FOE +cat > /etc/xdg/lxsession/LXDE/autostart << FOE /usr/libexec/gam_server -@lxde-settings-daemon -@pulseaudio -D @lxpanel --profile LXDE @pcmanfm -d +@pulseaudio -D +FOE + +# set up preferred apps +cat > /etc/xdg/libfm/pref-apps.conf << FOE +[Preferred Applications] +WebBrowser=mozilla-firefox.desktop +MailClient=redhat-sylpheed.desktop FOE # set up auto-login for liveuser @@ -131,7 +138,6 @@ cat >> /etc/lxdm/lxdm.conf << FOE autologin=liveuser FOE - # Show harddisk install on the desktop sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop mkdir /home/liveuser/Desktop