Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

Blue border in UBCD grub4dos menu
http://www.ultimatebootcd.com/forums/viewtopic.php?f=11&t=14665
Page 1 of 1

Author:  Explorer09 [ Mon May 06, 2013 6:10 am ]
Post subject:  Blue border in UBCD grub4dos menu

Screenshot:

Image

I can make a little cosmetic change on the grub4dos menus of UBCD. In case you didn't notice on the screenshot above, the border is now in blue instead of cyan.

To do this, you need a more recent version of grub4dos. In 2013-03-02, the grub4dos developers made a bug fix that allows the border to be shown in different color. I discovered this in their changelog:

Quote:
2013-03-02
1.解决 Issue 117: menu border has arrow symbol (bottom right)
2.让其它显示模式也可以指定菜单框颜色。color border=xx

(English translation)
Quote:
2013-03-02
1. Resolved issue #117: menu border has arrow symbol (bottom right)
2. Allow other display modes to specify the menu border color.
color border=xx


So I tried it out. In "ubcd/menus/grub4dos" directory, you will find this line at the top of the .lst files.
Quote:
color cyan/black black/light-gray green/black yellow/black


Add this color command below it:
Quote:
color cyan/black black/light-gray green/black yellow/black
color standard=0x07 border=0x01


Save the .lst files and test UBCD. The UBCD menu should have a blue border like above.

Because there is very little documentation written about this new color syntax, I'm preparing some notes describing how it works and how to use it. Please let me know if anyone wants this information.

EDIT: fix the broken link of screenshot.

Author:  Victor Chew [ Tue May 07, 2013 5:11 am ]
Post subject:  Re: Blue border in UBCD grub4dos menu

I have updated grub4dos to 0.4.5c-2013-04-19 and changed syslinux2grub4dos.sed to update the border color.

Thanks for the suggestion!

Author:  Explorer09 [ Wed May 15, 2013 9:17 pm ]
Post subject:  Re: Blue border in UBCD grub4dos menu

I bring a good news for everyone.

A few days before, I filed a feature request to the Grub4dos developers about supporting color names in the new syntax. Well, they made it recently in the new version (grub4dos-0.4.5c-2013-05-14). This means that I can change the numeric value syntax:
Code:
color standard=0x07 border=0x01

with the color names like this:
Code:
color standard=light-gray/black border=blue/black


No numeric color values now.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/