Page 1 of 1

Blue border in UBCD grub4dos menu

Posted: Mon May 06, 2013 6:10 am
by Explorer09
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:
2013-03-02
1.解决 Issue 117: menu border has arrow symbol (bottom right)
2.让其它显示模式也可以指定菜单框颜色。color border=xx
(English translation)
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.
color cyan/black black/light-gray green/black yellow/black
Add this color command below it:
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.

Re: Blue border in UBCD grub4dos menu

Posted: Tue May 07, 2013 5:11 am
by Victor Chew
I have updated grub4dos to 0.4.5c-2013-04-19 and changed syslinux2grub4dos.sed to update the border color.

Thanks for the suggestion!

Re: Blue border in UBCD grub4dos menu

Posted: Wed May 15, 2013 9:17 pm
by Explorer09
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: Select all

color standard=0x07 border=0x01
with the color names like this:

Code: Select all

color standard=light-gray/black border=blue/black
No numeric color values now.