how to get nm-applet switched on when making a LiveCD

Ranjan Maitra maitra at iastate.edu
Wed Mar 14 16:27:12 UTC 2012


On Wed, 14 Mar 2012 17:19:58 +0100 suvayu ali <fatkasuvayu
+linux at gmail.com> wrote:

> On Wed, Mar 14, 2012 at 15:03, Ranjan Maitra <maitra at iastate.edu> wrote:
> > cat >> /etc/rc.d/init.d/livesys << EOF
> > # disable screensaver locking and make sure gamin gets started
> > cat > /etc/xdg/autostart << FOE
> > /usr/libexec/gam_server
> > @stalonetray
> > @nm-applet
> > @pcmanfm -d
> > /usr/libexec/notification-daemon
> > 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
> > sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/slim.conf
> >
> > # Show harddisk install on the desktop
> > sed -i -e
> > 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
> > esktop mkdir /home/liveuser/Desktop
> > cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
> >
> > # this goes at the end after all other changes.
> > chown -R liveuser:liveuser /home/liveuser
> > restorecon -R /home/liveuser
> >
> > EOF
> 
> This is basically writing the init script that sets up a live system.
> I am assuming email screwed up the wrapping, if not its a huge mess.
> 
> I would recommend to take a look at some of the spin kickstarts and compare.
> 
> -- 

Hmmm.....but except for the line after sed -i -e, the rest was not
messed up by e-mail. 

I thought this is not very different from that in lxde's ks.

Ranjan



More information about the users mailing list