6 Theme file format
6 主题文件格式
*******************
6.1 Introduction
6.1 简介
================
The GRUB graphical menu supports themes that can customize the layout and appearance of the GRUB boot menu. The theme is configured through a plain text file that specifies the layout of the various GUI components (including the boot menu, timeout progress bar, and text messages) as well as the appearance using colors, fonts, and images. Example is available in docs/example_theme.txt
GRUB图像菜单支持主题因此可以自定义GRUB引导菜单的布局和外观。主体是通过一个纯文本文件指定配置各种GUI组件的布局(包括启动菜单,超时进度条,和文本信息)以及外观使用的颜色,字体,和图像,有效的文档示例于 /example_theme.txt。
6.2 Theme Elements
6.2 主题元素
==================
6.2.1 Colors
6.2.1 颜色
------------
Colors can be specified in several ways:
颜色能被定义于几种方法:
* HTML-style "#RRGGBB" or "#RGB" format, where *R*, *G*, and *B* are hexadecimal digits (e.g., "#8899FF")
* HTML-style "#RRGGBB" 或 "#RGB" 格式,那些 *R*,*G*,和 *B* 为十六进制数字(e.g.,"#8899FF")
* as comma-separated decimal RGB values (e.g., "128, 128, 255")
* 为逗号分隔的十进制RGB值(e.g.,"128,128,255")
* with "SVG 1.0 color names" (e.g., "cornflowerblue") which must be specified in lowercase.
* 支持 "SVG 1.0 颜色名称" (e.g.,"雏菊花蓝") 并且必须都为小写。
6.2.2 Fonts
6.2.2 字体
-----------
The fonts GRUB uses "PFF2 font format" bitmap fonts. Fonts are specified with full font names. Currently there is no provision for a preference list of fonts, or deriving one font from another. Fonts are loaded with the "loadfont" command in GRUB. To see the list of loaded fonts, execute the "lsfonts" command. If there are too many fonts to fit on screen, do "set pager=1" before executing "lsfonts".
GRUB的字体使用"PFF2字体格式"的点阵图字体。字体的指定使用完整的字体名称。目前没有规定优先列表的字体,或自另一个派生的字体。字体的装载用到GRUB里的"loadfont"命令。要看装载字体的列表,执行"lsfonts"命令。如果那有太多字体以自于满出屏幕,要执行"set pager=1"命令于"lsfonts"命名之前。
6.2.3 Progress Bar
6.2.3 进度条
------------------
Figure 6.1
图 6.1
Figure 6.2
图 6.2
Progress bars are used to display the remaining time before GRUB boots the default menu entry. To create a progress bar that will display the remaining time before automatic boot, simply create a "progress_bar" component with the id "__timeout__". This indicates to GRUB that the progress bar should be updated as time passes, and it should be made invisible if the countdown to automatic boot is interrupted by the user.
进度条是用来显示剩余时间在GRUB去引导默认菜单条目之前。创建一个进度条这将显示剩余时间在自动启动之前,简单地创建一个"progress_bar"组件于ID"_timeout_"里。这表明GRUB的进度条应该是随着时间流逝而更新的,并且它应该是看不见的除非在自动引导的倒计时的过程中被用户人为中断。
Progress bars may optionally have text displayed on them. This text is controlled by variable "text" which contains a printf template with the only argument %d is the number of seconds remaining. Additionally special values "@TIMEOUT_NOTIFICATION_SHORT@", "@TIMEOUT_NOTIFICATION_MIDDLE@", "@TIMEOUT_NOTIFICATION_LONG@" are replaced with standard and translated templates.
进度条可以选择为文本显示方式。这个文本是由控制变量"text"与包含一个printf函数给出唯一的参数%d来表示剩余的秒数。此外特殊的值有"@TIMEOUT_NOTIFICATION_SHORT@","@TIMEOUT_NOTIFICATION_MIDDLE@","@TIMEOUT_NOTIFICATION_LONG@"被替换为标准与翻译模版。
6.2.4 Circular Progress Indicator
6.2.4 圆形的进度指示器
---------------------------------
The circular progress indicator functions similarly to the progress bar. When given an id of "__timeout__", GRUB updates the circular progress indicator's value to indicate the time remaining. For the circular progress indicator, there are two images used to render it: the *center* image, and the *tick* image. The center image is rendered in the center of the component, while the tick image is used to render each mark along the circumference of the indicator.
圆形的进度指示器功能类似于进度条。当给出一个"_timeout_"的ID时,GRUB更新圆形进度指示器的值去表明剩余的时间。对于圆形进度指示器,需要用到两个图像去渲染它:一个"center"图像,和一个"tick"图像。那个center图像是呈现出中心位置的组件,然而那个tick图像是用于呈现每一个时间标号按照着那圆周的时间标号。
6.2.5 Labels
6.2.5 标签
------------
Text labels can be placed on the boot screen. The font, color, and horizontal alignment can be specified for labels. If a label is given the id "__timeout__", then the "text" property for that label is also updated with a message informing the user of the number of seconds remaining until automatic boot. This is useful in case you want the text displayed somewhere else instead of directly on the progress bar.
文本标签能被放置到引导屏幕里。它的字体,颜色,与水平对齐都能被定义到labels里。如果一个label已给予到"_timeout_"里的ID,那么该标签的"text"属性也更新于一个通知用户所剩余秒数的消息,直到自动启动为止。这有利于以防你在实际情况中想要在别的地方显示的文本,而不是直接在进度条上。
6.2.6 Boot Menu
6.2.6 引导菜单
---------------
The boot menu where GRUB displays the menu entries from the "grub.cfg" file. It is a list of items, where each item has a title and an optional icon. The icon is selected based on the *classes* specified for the menu entry. If there is a PNG file named "myclass.png" in the "grub/themes/icons" directory, it will be displayed for items which have the class *myclass*. The boot menu can be customized in several ways, such as the font and color used for the menu entry title, and by specifying styled boxes for the menu itself and for the selected item highlight.
引导菜单在GRUB哪里展示出的菜单条目是来自于"grub.cfg"文件。他是一个项目形式的列表,每个项目都有一个标题和一个可选的图标。那图标被选中是基于"classes"所指定的菜单条目。如果这有一个命名为"myclass.png"的PNG文件放于 "grub/themes/icons"目录里。它将显示项目的*myclass*类。引导菜单能自定义是有多种方式的,比如用于菜单条目标题的字体和颜色,并通过指定样式框架的菜单自身和所选择的项目高亮。
6.2.7 Styled Boxes
6.2.7 样式框架
------------------
One of the most important features for customizing the layout is the use of *styled boxes*. A styled box is composed of 9 rectangular (and potentially empty) regions, which are used to seamlessly draw the styled box on screen:
自定义布局最重要的特征之一是使用"样式框"。一个样式框是由9个矩形区域所组成(可能某些矩形区域为空),用于无缝地绘画在样式框里的屏幕上:
Northwest (nw) North (n) Northeast (ne)
West (w) Center (c) East (e)
Southwest (sw) South (s) Southeast (se)
西北 北 东北
西 中 东
西南 南 东南
To support any size of box on screen, the center slice and the slices for the top, bottom, and sides are all scaled to the correct size for the component on screen, using the following rules:
支持任何尺寸的框架于屏幕里。中间切片部分和切片的顶部,底部与边都是按照比例缩小到正确尺寸去成为组成屏幕的组件,下列为使用规则:
1. The edge slices (north, south, east, and west) are scaled in the direction of the edge they are adjacent to. For instance, the west slice is scaled vertically.
2. The corner slices (northwest, northeast, southeast, and southwest) are not scaled.
3. The center slice is scaled to fill the remaining space in the middle.
1.切片边缘(东,南,西,和北)是按比例缩放到附近的边缘。例如,西切片是按比例垂直缩放的。
2.在拐角处的切片(西北,东北,东南和西南)并没有规模的缩放模式。
3.在中间处的切片按比例缩放并填充到中间的剩余空间里去。
As an example of how an image might be sliced up, consider the styled box used for a terminal view.
例如如何去切片图像,考虑到样式框架使用自终端视图。
Figure 6.3
图 6.3
6.2.8 Creating Styled Box Images
6.2.8 生成样式框架图像
--------------------------------
The Inkscape_ scalable vector graphics editor is a very useful tool for creating styled box images. One process that works well for slicing a drawing into the necessary image slices is:
在 Inkscape_scalable(向量绘图_可扩展) 矢量图编辑器是一个非常有用的工具适合于创建样式框架图像。一个步骤就实现于切片出一个绘图从必需的图像切片之内:
1. Create or open the drawing you'd like use.
1. 创建或打开一个你想使用的绘图。
2. Create a new layer on the top of the layer stack. Make it visible. Select this layer as the current layer.
2. 创建一个新层于堆叠层的顶部。使其可见。选择这个层作为当前层。
3. Draw 9 rectangles on your drawing where you'd like the slices to be. Clear the fill option, and set the stroke to 1 pixel wide solid stroke. The corners of the slices must meet precisely; if it is off by a single pixel, it will probably be evident when the styled box is rendered in the GRUB menu. You should probably go to File | Document Properties | Grids and enable a grid or create a guide (click on one of the rulers next to the drawing and drag over the drawing; release the mouse button to place the guide) to help place the rectangles precisely.
3. 绘制9个矩形在你的绘画里和你喜欢出现的切片。清楚填写选项,并设置笔画为1像素宽的实线。在拐角处的切片必须恰恰好;如果它结束于单个像素,它可能会明显地在GRUB菜单里呈现出样式框架。你大概应该去把 文件|文档属性|删格并把其删格化或则创建一个引导去帮助矩形能精确地放置(点击绘画其中的标尺之后拖拽到图画上;释放掉鼠标按钮到需要引导的位置)。
4. Right click on the center slice rectangle and choose Object Properties. Change the "Id" to "slice_c" and click Set. Repeat this for the remaining 8 rectangles, giving them Id values of "slice_n", "slice_ne", "slice_e", and so on according to the location.
4. 右键点击中间切片的矩形并且选择对象属性。改变其"ID"为"slice_c"并点击设置。以这样的方式操作完剩下的8个矩形,给予它们的ID值为"slice_n","slice_ne","slice_e",去根据相应的位置。
5. Save the drawing.
5. 保存绘图。
6. Select all the slice rectangles. With the slice layer selected,you can simply press Ctrl+A to select all rectangles. The status bar should indicate that 9 rectangles are selected.
6. 选择所有的切片矩形,等于切片的层被选上,你能简单地按Ctrl+A去选上所有矩形。状态栏应该显示出那9个矩形被选上。
7. Click the layer hide icon for the slice layer in the layer palette.The rectangles will remain selected, even though they are hidden.
7. 点击图层隐藏图标去隐藏于图层调板里的切片图层。那些矩形将保持着被选中,即使它们是隐藏的。
8. Choose File | Export Bitmap and check the *Batch export 9 selected objects* box. Make sure that *Hide all except selected* is unchecked. click *Export*. This will create PNG files in the same directory as the drawing, named after the slices. These can now be used for a styled box in a GRUB theme.
8. 选择 文件|输出位图 和 检查 *Batch export 9 selected objects(批处理 输出 9 选中的对象)* 代码块。确保那 *Hide all except selected(隐藏所有除了选择)* 是 unchecked(关闭检查)。这将创建PNG文件于相同目录里保存为图像,命名为slices。这些现在能够被使用到样式框架于GRUB的主题里。
6.3 Theme File Manual
6.3 主题文件手册
=====================
The theme file is a plain text file. Lines that begin with "#" are ignored and considered comments. (Note: This may not be the case if the previous line ended where a value was expected.) The theme file contains two types of statements:
主题文件是纯文本文件。在行的开始位置用"#"去注释掉并为评论。(注:这可能并非如此如果上一行结束自一个预期值)主题文件包含两种类型的声明:
1. Global properties.
1. 全局属性。
2. Component construction.
2. 组件结构。
6.3.1 Global Properties
6.3.1 全局属性
-----------------------
6.3.2 Format
6.3.2 格式
------------
Global properties are specified with the simple format:
全局属性指定的简单格式:
* name1:value1
* name2:"value which may contain spaces"
* name3:#88F
In this example, name3 is assigned a color value.
在这个例子中,name3被分配了一个颜色的值。
6.3.3 Global Property List
6.3.3 全局属性列表
--------------------------
title-text Specifies the text to display at the top center of the screen as a title.
title-text 把指定的文本去显示到屏幕的顶部中间作为标题。
title-font Defines the font used for the title message at the top of the screen.
title-font 规定了在屏幕顶部的标题信息所用的字体。
title-color Defines the color of the title message.
title-color 规定了标题信息的颜色。
message-font Defines the font used for messages, such as when GRUB is unable to automatically boot an entry.
message-font 规定了信息所用的字体,例如当GRUB不能去自动地引导一个条目。
message-color Defines the color of the message text.
message-color 规定了信息文本的颜色。
message-bg-color Defines the background color of the message text area.
message-bg-color 规定了信息文本区域的背景颜色。
desktop-image Specifies the image to use as the background. It will be scaled to fit the screen size.
desktop-image 指定背景所使用的图片。它将被缩放以适合屏幕大小。
desktop-color Specifies the color for the background if *desktop-image* is not specified.
desktop-color 指定了背景的颜色,前提是*desktop-image*是未设置状态。
terminal-box Specifies the file name pattern for the styled box slices used for the command line terminal window.
terminal-box 指定文件名样式的部分样式框架使用到命令行终端窗口。
For example,"terminal-box: terminal_*.png" will use the images "terminal_c.png" as the center area, "terminal_n.png" as the north (top) edge, "terminal_nw.png" as the northwest (upper left) corner, and so on. If the image for any slice is not found, it will simply be left empty.
例如,"terminal-box:terminal_*.png"将使用图像"terminal_c.png"到中间区域,"terminal_n.png"为北方(顶部)的边缘位置,"terminal_nw.png"为西北方(左上角)角落,以此类推。如果任何一部分的图片没有找到,它将为空的。
6.3.4 Component Construction
6.3.4 组件化结构
----------------------------
Greater customizability comes is provided by components. A tree of components forms the user interface. *Containers* are components that can contain other components, and there is always a single root component which is an instance of a *canvas* container.
更大的可定制性是由组件所组成。一个树状的组件形式构成用户接口。*Containers*组件可以包含其他组件,并且始终只有一个根(root)组件并为一个*canvas*组件的实例。
Components are created in the theme file by prefixing the type of component with a '+' sign:
组件的创建 于 主题文件里把组件用一个前缀符号"+"放在一起的形式实现:
' + label { text="GRUB" font="aqui 11" color="#8FF" } '
properties of a component are specified as "name = value" (whitespace surrounding tokens is optional and is ignored) where *value* may be:
* a single word (e.g., "align = center", "color = #FF8080"),
* a quoted string (e.g., "text = "Hello, World!""), or
* a tuple (e.g., "preferred_size = (120, 80)").
一个组件的属性规定为"name = value"的形式(前后加空格符是可选的并且它会被忽视掉)而那个*value*可以为:
*一个单词(例如:"align = center","color = #FF8080")
*一个引用字符串(例如:"text="Hello,World!""),或者
*一个元组(例如:"preferred_size = (120,80)")。
6.3.5 Component List
6.3.5 组件列表
--------------------
The following is a list of the components and the properties they support.
以下列出组件与他们所支持的属性。
* label
A label displays a line of text.
一个标签用以显示一行文本。
Properties:
属性:
text The text to display.
text 显示出文本。
font The font to use for text display.
font 显示文本所使用的字体。
color The color of the text.
color 文本颜色。
align The horizontal alignment of the text within the component. Options are "left", "center", and "right".
align 文本在组件内的靠齐方向。选项有"left","center",和"right"。
* image
A component that displays an image. The image is scaled to fit the component, although the preferred size defaults to the image's original size unless the "preferred_size" property is explicitly set.
一个显示出一个图像的组件。图像被缩放以适合组件,而已首选大小默认为图像的原始大小除非"preferred_size"属性被显式地设置。
Properties:
属性:
file The full path to the image file to load.
file 载入图像文件的完整路径。
* progress_bar
Displays a horizontally oriented progress bar. It can be rendered using simple solid filled rectangles, or using a pair of pixmap styled boxes.
显示出一个水平的进度条。它能够使用简单的实线作填充描绘出一个矩形,或者使用一对点阵图作样式框架。
Properties:
属性:
fg_color The foreground color for plain solid color rendering.
fg_color 前景颜色被简单地纯色渲染。
bg_color The background color for plain solid color rendering.
bg_color 背景颜色被简单地纯色渲染。
border_color The border color for plain solid color rendering.
border_color 边框颜色被简单地纯色渲染。
text_color The text color.
text_color 文本的颜色。
show_text Boolean value indicating whether or not text should be displayed on the progress bar. If set to *false*, then no text will be displayed on the bar. If set to any other value, text will be displayed on the bar.
show_text 其值为布尔类型表明是否把文本显示在进度条哪里。如果设置为*false*,将没有文本被显示到进度条上。如果设置为任何的其他值,文本将被显示到进度条里。
bar_style The styled box specification for the frame of the progress bar. Example: "progress_frame_*.png" highlight_styleThe styled box specification for the highlighted region of the progress bar. This box will be used to paint just the highlighted region of the bar, and will be increased in size as the bar nears completion. Example: "progress_hl_*.png".
bar_style 样式框架被指定为进度条所使用的结构。例子:"progress_frame_*.png"高亮_样式的样式框架被指定到进度条成为高亮区域。者框架将被使用到描绘刚才进度条的高亮区域,并且将被增加在接近完成的进度条大小。例子:"progress_hl_*.png"。
text The text to display on the progress bar. If the progress bar's ID is set to "__timeout__", then GRUB will updated this property with an informative message as the timeout approaches.
text 文本显示到进度条里。如果进度条里的"_timeout_"ID项被设置。那么GRUB将上载这个属性值到窗口信息并作倒计时处理。
value The progress bar current value. Normally not set manually.
value 进度条当前的值。通常不用手动设置。
start The progress bar start value. Normally not set manually.
start 进度条的开始值。通常不用手动设置。
end The progress bar end value. Normally not set manually.
end 进度条的结束值。通常不用手动设置。
* circular_progress
Displays a circular progress indicator. The appearance of this component is determined by two images: the *center* image and the *tick* image. The center image is generally larger and will be drawn in the center of the component. Around the circumference of a circle within the component, the tick image will be drawn a certain number of times, depending on the properties of the component.
显示一个圆形的进度指示器。它的外观组成由取决于两个图像:一个为*center*图像和另一个为*tick*的图像。这个居中(center)图像通常是比较大的并且将被绘画到居中位置成为一个组件。圆形的周长之内为一个组件,这个标记(tick)图像将被绘画成相应的时间号码,这取决于组件的属性。
Properties:
属性:
center_bitmap The file name of the image to draw in the center of the component.
center_bitmap 这文件名的图像被绘画在组件的居中位置。
tick_bitmap The file name of the image to draw for the tick marks.
tick_bitmap 这文件名的图像被绘画成刻度线。
num_ticks The number of ticks that make up a full circle.
num_ticks 这个数目的刻度去布满整个圆周。
ticks_disappear Boolean value indicating whether tick marks should progressively appear, or progressively disappear as *value* approaches *end*. Specify "true" or "false".
ticks_disappear 为布尔的值,表明刻度线是否应该逐步显现,或者逐步消失按照*value*去处理*end*。值范围为*true*或*false*。
value The progress indicator current value.Normally not set manually.
value 进度指示器的当前值。通常不用手工设置。
start The progress indicator start value.Normally not set manually.
start 进度指示器的开始值。通常不用手工设置。
end The progress indicator end value.Normally not set manually.
end 进度指示器的结束值。通常不用手工设置。
* boot_menu
Displays the GRUB boot menu. It allows selecting items and executing them.
显示GRUB的启动菜单。它允许选择项目并执行它。
Properties:
属性:
item_font The font to use for the menu item titles.
item_font 菜单项目标题所使用的字体。
selected_item_font The font to use for the selected menu item, or "inherit" (the default) to use "item_font" for the selected menu item as well.
selected_item_font 菜单项目被选上时所使用的字体,或者"inherit"(继承-这是默认值)去使用"item_font"里设置的字体为菜单项目被选中时的字体。
item_color The color to use for the menu item titles.
item_color 菜单项目标题所使用的颜色。
selected_item_color The color to use for the selected menu item, or "inherit" (the default) to use "item_color" for the selected menu item as well.
selected_item_color 菜单项目被选上时所使用的颜色,或者"inherit"(为默认)去使用"item_color"里设置的颜色为菜单项目被选中时的颜色。
icon_width The width of menu item icons.Icons are scaled to the specified size.
icon_width 菜单项目图标的宽度。图标被按比例缩放到指定大小。
icon_height The height of menu item icons.
icon_height 菜单项目图标的高度。
item_height The height of each menu item in pixels.
item_height 每个菜单项目的高度以像素为单位。
item_padding The amount of space in pixels to leave on each side of the menu item contents.
item_padding 菜单项目的内容距离两边的间距以像素为单位。
item_icon_space The space between an item's icon and the title text, in pixels.
item_icon_space 项目图标和标题文本之间的间隔,按照像素为单位。
item_spacing The amount of space to leave between menu items, in pixels.
item_spacing 菜单项目之间的总间距量,以像素单位。
menu_pixmap_style The image file pattern for the menu frame styled box. Example: "menu_*.png" (this will use images such as "menu_c.png","menu_w.png", 'menu_nw.png", etc.)
menu_pixmap_style 把图像文件的图案作为菜单边框的样式框架。例如:"menu_*.png"(这将使用图像如"menu_c.png","menu_w.png","menu_nw.png",等等。)
selected_item_pixmap_style The image file pattern for the selected item highlight styled box.
selected_item_pixmap_style 把图像文件的图案作为项目被选中时的高亮样式框架。
scrollbar Boolean value indicating whether the scroll bar should be drawn if the frame and thumb styled boxes are configured.
scrollbar 值为布尔值表示是否应该绘画出滚动条到边框与翻页样式框架的配置。
scrollbar_frame The image file pattern for the entire scroll bar. Example: "scrollbar_*.png"
scrollbar_frame 把图像文件的图案作为全部的滚动条样式框架。例如:"scrollbar_*.png"
scrollbar_thumb The image file pattern for the scroll bar thumb (the part of the scroll bar that moves as scrolling occurs). Example:"scrollbar_thumb_*.png"
scrollbar_thumb 把图像文件的图案作为翻阅滚动条的样式框架(当滚动条发生滚动时的那部分)。例如:"scrollbar_thumb_*.png"
max_items_shown The maximum number of items to show on the menu. If there are more than *max_items_shown* items in the menu, the list will scroll to make all items accessible.
max_items_shown 在菜单里显示项目的最大数目。如果有超过*max_items_shown*值的菜单条目,将滚动列表将使所有的项目可被访问。
* canvas
Canvas is a container that allows manual placement of components within it. It does not alter the positions of its child components. It assigns all child components their preferred sizes.
画布为一个容器以至于允许手工放置那些组件于其之内。它不会改变它的子组件的位置。它分配所有子组件的首选大小。
* hbox
The *hbox* container lays out its children from left to right,giving each one its preferred width. The height of each child is set to the maximum of the preferred heights of all children.
这 *hbox* 容器将从左到右地去列出其子元素,并给予它们各自的首选宽度。而每个子元素的高度则设置为所有的子元素中的那个最大的首选高度。
* vbox
The *vbox* container lays out its children from top to bottom,giving each one its preferred height. The width of each child is set to the maximum of the preferred widths of all children.
这 *vbox* 容器将从上到下地去列出其子元素,并给予它们各自的首选高度。而每个子元素的宽度则设置为所有的子元素种的那个最大的首选宽度。
6.3.6 Common properties
6.3.6 公共属性
-----------------------
The following properties are supported by all components:
以下为支持所有组件的属性:
'left'
The distance from the left border of container to left border of the object in either of three formats:
从容器的左側边框到对象的左边界之间的距离并以三种格式中的任何一种方式来表示:
x Value in pixels
x 以像素为值
p% Percentage
p% 百分比
p%+x mixture of both
P%+x 两者混合使用
'top'
The distance from the left border of container to left border of the object in same format.
从容器的左側边框到对象的左边界之间的距离并以相同的格式来表示:
'width' The width of object in same format.
"width" 对象的宽度并以相同的格式。
'height' The height of object in same format.
"height" 对象的高度并以相同的格式。
'id' The identifier for the component. This can be any arbitrary string. The ID can be used by scripts to refer to various components in the GUI component tree. Currently, there is one special ID value that GRUB recognizes: "_timeout_" Any component with this ID will have its *text*, *start*, *end*, *value*, and *visible* properties set by GRUB when it is counting down to an automatic boot of the default menu entry.
"id" 为组件的标识符。这可以为任意的字符串。这个ID能够在GUI组件树种使用脚本去引用各种组件。目前,被GRUB所承认特殊的ID值只有一个: "_timeout_" 这个ID的任何组件将为 *text*,*start*,*end*,*value*,和 *visible* 属性设置作用于当GRUB倒计时结束并去自动引导一个默认的菜单条目的时候。
GRUB2官方文档翻译项目2-06
启动讨论 grub/grub2/syslinux/grub4dos/Lilo
前往
- 公告/注意事项
- ↳ 新闻和通知
- ↳ 软件推荐
- 系统安装
- ↳ 教学和常见问答
- ↳ 系统安装和升级
- ↳ 启动和引导
- ↳ 网卡无线拨号
- ↳ 硬件与内核
- ↳ 笔记本及便携设备
- ↳ Ubuntu衍生版
- ↳ 其他类Unix OS发行版
- ↳ Debian发行版
- 配置美化
- ↳ 中文显示和输入法
- ↳ 个人配置文件存放点
- ↳ 软件文档翻译
- ↳ 窗口管理器及美化
- ↳ 桌面展示
- 软件使用
- ↳ 办公、图像、机械电子设计等
- ↳ Vim和Emacs
- ↳ 开源模板库
- ↳ 互联网相关软件
- ↳ 影音多媒体
- ↳ 游戏和模拟器
- ↳ 虚拟机和虚拟化
- ↳ Wine及其分支
- ↳ 其它类软件
- 服务器管理
- ↳ 服务器运维
- ↳ 云计算和容器(K8S/KVM/Docker/WSL等)
- ↳ Ubuntu VPS
- 程序设计与开发
- ↳ Shell脚本
- ↳ 软件/网站开发
- ↳ 内核及嵌入式开发
- ↳ Ubuntu编译和打包
- ↳ 开源小工具
- ↳ 挑战任务
- 感想与交流
- ↳ 深度PK版
- ↳ Ubuntu故事和感慨
- ↳ 同城交流
- ↳ 校园社团
- ↳ 港澳台校区
- ↳ 国外校区
- 站务区
- ↳ 论坛管理
- ↳ Ubuntu中文网上商店