Blue border in UBCD grub4dos menu

Post your suggestions here if there are new features or applications that you would like added to the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
Explorer09
Posts: 178
Joined: Fri Jun 17, 2011 11:23 pm

Blue border in UBCD grub4dos menu

#1 Post by Explorer09 » Mon May 06, 2013 6:10 am

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.

Victor Chew
Posts: 1359
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

Re: Blue border in UBCD grub4dos menu

#2 Post by Victor Chew » Tue May 07, 2013 5:11 am

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

Thanks for the suggestion!

Explorer09
Posts: 178
Joined: Fri Jun 17, 2011 11:23 pm

Re: Blue border in UBCD grub4dos menu

#3 Post by Explorer09 » Wed May 15, 2013 9:17 pm

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.

Post Reply