[K12OSN] Found Something! re: CPU usage 4.1
David Trask
dtrask at vcs.u52.k12.me.us
Tue Sep 14 14:47:55 UTC 2004
Good idea! Should work well.
"Support list for opensource software in schools." <k12osn at redhat.com> on
Tue Sep 14 2004 at 02:10 +0000 wrote:
>I'm working on something like this... a /etc/sysconfig/icewm file
>containing:
>
> ICEWM_NAUTILUS=YES
> ICEWM_SESSION=YES
>
>and then the /etc/X11/gdm/Sessions/IceWM would contain:
>
> #!/bin/bash
> if [ -f /etc/profile.d/ltsp-esound.sh ]
> then
> . /etc/profile.d/ltsp-esound.sh
> fi
> if [ -f /etc/sysconfig/icewm ]
> then
> . /etc/sysconfig/icewm
> fi
> if [ "$ICEWM_NAUTILUS" = "YES" ]
> then
> /usr/libexec/gnome-settings-daemon &
> /usr/bin/nautilus &
> fi
> if [ "$ICEWM_SESSION" = "YES" ]
> then
> exec /usr/bin/icewm-session
> else
> exec /usr/bin/icewm
> fi
>
>I think that would do the trick for making it easy to adjust
>how much resources the IceWM session type uses. Just edit
>/etc/sysconfig/icewm to turn various features on or off.
>
>-Eric
David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcs.u52.k12.me.us
(207)923-3100
More information about the K12OSN
mailing list