<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Boot Themes | GoboLinux Documentation</title><link>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/index.html</link><description>GoboLinux is flexible enough to offer you a choice of themes to control how your GoboLinux looks when starting up.
You can select a theme by setting BootTheme=&lt;ThemeName&gt; in /System/Settings/BootOptions. Available themes include:
CheckList - Shows tasks and others that depend on them, then checks them off. Hat - A Red-Hat look-alike: lots of colored [ OK ]s and [FAILED]s are echoed as things are initialized. Progress, Progress-II, or Progress-III - Fancy themes that stress your terminal with tons of escape codes. Quotes - Prints short random quotes to indicate success or failure of every initialized item. Slack - This theme is inspired by the feel of old-school Slackware boots: no distracting messages, no colors, no special effects. Check /Programs/BootScripts/Current/Themes/ to see all the available themes.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating a boot theme</title><link>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Creating-a-boot-theme/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Creating-a-boot-theme/index.html</guid><description>This section explains how you can create your own boot script theme.
Section “The boot scripts anatomy” already explained that a theme is a single script file. In fact, if you really want, you can create a theme that spreads through multiple files (but this is not necessarily a good idea). The point here is that one file is enough. This file implements a five functions: ThemeInit, ThemeFinish, ThemeBefore ThemeAfter, and ThemeFile.</description></item><item><title>Implementing a boot theme</title><link>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Implementing-a-boot-theme/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Implementing-a-boot-theme/index.html</guid><description>This section describes how each of the obligatory theme functions must be implemented.
ThemeInit This, as the name implies, is the standard location to perform initializations. Below is an example on how you can use the standard $PREVLEVEL variable (from the Sysvinit init program) to echo some message when system initializes or goes down.
if [ "$PREVLEVEL" = "N" ] then echo "GoboLinux is initializing..." else echo "GoboLinux is going down..." fi ThemeFile GoboLinux boot scripts work by processing a sequence of files (again, check section “Customizing the initialization” for more details). Before starting to process each of these files, the boot scripts core will call ThemeFile passing as the first (and only) parameter the name of the file that is starting to be processed. Needless to say, you are not obligated to give feedback on what file is being processed (the “Hat” theme, example, does nothing in its implementation of ThemeFile.</description></item><item><title>Testing a boot theme</title><link>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Testing-a-boot-theme/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://wiki.gobolinux.org/Usage/Startup-and-System-settings/Boot-Themes/Testing-a-boot-theme/index.html</guid><description>Fortunately you don’t have to reboot your computer to test every feature you add to your boot theme. The TestBootTheme script is your friend. Just run it passing your boot script name as a parameter:
TestBootTheme MyVeryOwnBootTheme This will simulate a boot procedure with lots of things getting executed. Some of them will be quiet, some will echo a lot of text, some will succeed, some will fail… Just press enter when it ends up at the “login” prompt to finish. If you don’t give it a Theme name, it will output the list of available Themes from /Programs/BootScripts/Current/Themes/ instead.</description></item></channel></rss>