It is currently Mon Jul 28, 2014 6:36 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Blue border in UBCD grub4dos menu
PostPosted: Mon May 06, 2013 6:10 am 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 152
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.


Top
 Profile  
 
 Post subject: Re: Blue border in UBCD grub4dos menu
PostPosted: Tue May 07, 2013 5:11 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1274
I have updated grub4dos to 0.4.5c-2013-04-19 and changed syslinux2grub4dos.sed to update the border color.

Thanks for the suggestion!


Top
 Profile  
 
 Post subject: Re: Blue border in UBCD grub4dos menu
PostPosted: Wed May 15, 2013 9:17 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 152
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group