Mplawner, thanks for the script! The only thing I had trouble with it that it would not work using 'oss-statusbar-cpu', but only while root in a shell. I tracked it down to 'sudo' permissions. I think you must add 'sudo' to the command in that applet for this idea to work i.e. sudo /usr/bin/hostmode toggle