From 8a04efe3765e73bbe5d02d02f6e2faba2c0fc273 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 15 Jun 2011 18:02:20 +0200 Subject: [PATCH] livegames-root: add firefox and set as favorite in kde menu --- platforms/livedvd-root/post.inc.sh | 2 +- platforms/livegames-root/Makefile | 2 +- platforms/livegames-root/post.inc.sh | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/platforms/livedvd-root/post.inc.sh b/platforms/livedvd-root/post.inc.sh index 0127082..112b7b0 100644 --- a/platforms/livedvd-root/post.inc.sh +++ b/platforms/livedvd-root/post.inc.sh @@ -62,7 +62,7 @@ mkdir -p $MOUNTDIR/root/Desktop/ cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/Desktop/ cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/ -# configure fireofox as favorite in kde menu +# configure favorites in kde menu for f in /usr/share/applications/mozilla-firefox3.desktop \ /opt/kde/share/applications/kaffeine.desktop /opt/kde/share/applications/amarok.desktop; do chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f diff --git a/platforms/livegames-root/Makefile b/platforms/livegames-root/Makefile index 5530e4c..ccf8c0d 100644 --- a/platforms/livegames-root/Makefile +++ b/platforms/livegames-root/Makefile @@ -15,7 +15,7 @@ $(MAKEDIST_TARGET)-livegames-root: \ xorg-drv-input-synaptics \ ttf-freefont liberation-fonts-ttf \ gparted gag ntfs-3g samba-server \ - compiz compiz-fusion-plugins-main \ + firefox compiz compiz-fusion-plugins-main \ compiz-fusion-plugins-extra compizconfig-settings-manager \ macbook-tools livecd-tools \ kdebluetooth Mesa-tools driconf \ diff --git a/platforms/livegames-root/post.inc.sh b/platforms/livegames-root/post.inc.sh index 3844b53..60d99a2 100644 --- a/platforms/livegames-root/post.inc.sh +++ b/platforms/livegames-root/post.inc.sh @@ -61,6 +61,11 @@ mkdir -p $MOUNTDIR/root/Desktop/ cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/Desktop/ cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/ +# configure favorites in kde menu +for f in /usr/share/applications/mozilla-firefox3.desktop; do + chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f +done + # prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot) [ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r` echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh