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

suvayu ali fatkasuvayu+linux at gmail.com
Wed Mar 14 16:19:58 UTC 2012


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.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list