[syslinux] Customized theme for Syslinux.cfg

Donald, Nicholas Nicholas.Donald at bhemail.com
Tue Oct 20 08:22:43 PDT 2020


Thanks Gregory, my mistake, your explanation was half right and your code was fully right, I meant to say the key is setting the first two digits in the foreground and background to "00" (which means transparent) this will delete the color of the border, and then making the shadowing variable equal to "none" this will delete the shadowing black line that appears by default. See this link for the terminology: https://wiki.syslinux.org/wiki/index.php?title=Menu#MENU_COLOR
I am also looking to change the color of the text that is displayed in the syslinux boot menu when you press tab key, not the message “Press [Tab] to edit options”, but the boot parameters text color (default is white font with black shadowing) that’s displayed when tab key is pressed on main menu? I tried adding: menu msgcolor #90ffffff #80ffffff none  but the tab key dependent text didn’t change. Do you know if there is a way to change the vesamenu.c32 code to change the text color of the tab key dependent text through this repository: https://git.kernel.org/pub/scm/boot/syslinux/syslinux.git/tree/
The file vesamenu.c (found in the com32/menu/ directory) seems to be the entry point for changing the vesamenu.c32 build, but I couldn’t find any code in the vesamenu.c that deletes the menu border in syslinux(legacy boot), nor could I find examples online?

Best Regards,

Nicholas Donald

-----Original Message-----
From: Syslinux <syslinux-bounces at syslinux.org> On Behalf Of Donald, Nicholas via Syslinux
Sent: Thursday, October 15, 2020 8:27 PM
To: syslinux at syslinux.org
Subject: Re: [syslinux] Customized theme for Syslinux.cfg

Thank you Gregory your code worked to remove the border in syslinux! It wasn’t the Alpha (that changes the opacity of the border color), but it was the “shadowing” that had to be changed, so “none” in the shadowing column worked(you notice the border come back if you change “none” to “std”) reference this link for terms: https://wiki.syslinux.org/wiki/index.php?title=Menu#MENU_COLOR !
I am also looking to change the color of the text that is displayed in the syslinux boot menu when you press tab key, not the message “Press [Tab] to edit options”, but the boot parameters text color (default is white font with black shadowing) that’s displayed when tab key is pressed on main menu? I tried adding: menu msgcolor #90ffffff #80ffffff none  and the tab key dependent text didn’t change.

Best Regards,

Nicholas Donald

From: Donald, Nicholas
Sent: Thursday, October 15, 2020 8:00 PM
To: Gregory Bartholomew <gregory.lee.bartholomew at gmail.com>
Subject: RE: [syslinux] Customized theme for Syslinux.cfg

Thank you Gregory your code worked to remove the border in syslinux! It wasn’t the Alpha (that changes the opacity of the border color), but it was the “shadowing” that had to be changed, so “none” in the shadowing column worked(you notice the border come back if you change “none” to “std”) reference this link for terms: https://wiki.syslinux.org/wiki/index.php?title=Menu#MENU_COLOR !
I am also looking to change the color of the text that is displayed in the syslinux boot menu when you press tab key, not the message “Press [Tab] to edit options”, but the boot parameters text color (default is white font with black shadowing) that’s displayed when tab key is pressed on main menu? I tried adding: menu msgcolor #90ffffff #80ffffff none  and the tab key dependent text didn’t change.

Best Regards,

Nicholas Donald

From: Gregory Bartholomew <gregory.lee.bartholomew at gmail.com<mailto:gregory.lee.bartholomew at gmail.com>>
Sent: Thursday, October 15, 2020 7:06 PM
To: Donald, Nicholas <Nicholas.Donald at bhemail.com<mailto:Nicholas.Donald at bhemail.com>>
Subject: Re: [syslinux] Customized theme for Syslinux.cfg

Maybe set the alpha channel to 0 if, e.g., you have a background image set:

menu color border 0 #00000000 #00000000 none

On Thu, Oct 15, 2020 at 6:03 PM Donald, Nicholas <Nicholas.Donald at bhemail.com<mailto:Nicholas.Donald at bhemail.com>> wrote:
I tried adding following line in the Syslinux.cfg; menu color border 0 #ff000000 #ff000000 none

but it doesn’t change the solid black line, the solid black line still remains. Any ideal on a alternative solution?

Best Regards,

Nicholas Donald

From: Gregory Bartholomew <gregory.lee.bartholomew at gmail.com<mailto:gregory.lee.bartholomew at gmail.com>>
Sent: Thursday, October 15, 2020 6:53 PM
To: Donald, Nicholas <Nicholas.Donald at bhemail.com<mailto:Nicholas.Donald at bhemail.com>>
Cc: syslinux at syslinux.org<mailto:syslinux at syslinux.org>
Subject: Re: [syslinux] Customized theme for Syslinux.cfg

On Thu, Oct 15, 2020 at 4:58 PM Donald, Nicholas via Syslinux <syslinux at syslinux.org<mailto:syslinux at syslinux.org>> wrote:
... Does anyone know what file in the syslinux repository code has the code that builds the menu border, so that I can delete the menu border? Also if you know any other links that allow for deleting the menu border in syslinux?
...

Is setting the border color equal to the background color not sufficient? E.g.:

default BLS001
timeout 300

ui vesamenu.c32

menu color screen 0 #ff808080 #ff000000 none menu color border 0 #ff000000 #ff000000 none menu color title 0 #ff808080 #ff000000 none menu color unsel 0 #ff808080 #ff000000 none menu color hotkey 0 #ff808080 #ff000000 none
menu color sel   0 #ffffffff #ff000000 none
menu color hotsel 0 #ff808080 #ff000000 none menu color disabled 0 #ff808080 #ff000000 none menu color scrollbar 0 #ff808080 #ff000000 none menu color tabmsg 0 #ff808080 #ff000000 none menu color cmdmark 0 #ff808080 #ff000000 none menu color cmdline 0 #ff808080 #ff000000 none menu color pwdborder 0 #ff808080 #ff000000 none menu color pwdheader 0 #ff808080 #ff000000 none menu color pwdentry 0 #ff808080 #ff000000 none menu color timeout_msg 0 #ff808080 #ff000000 none menu color timeout 0 #ff808080 #ff000000 none menu color msg04 0 #ff808080 #ff000000 none

menu background #ff000000
menu resolution 800 600
menu title HAL 9000

bls1 include

_______________________________________________
Syslinux mailing list
Submissions to Syslinux at syslinux.org
Unsubscribe or set options at:
https://lists.syslinux.org/syslinux



More information about the Syslinux mailing list