You are not logged in.

#1 2012-07-19 04:33:11

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Syslinux Configuration: Menu Dimensions And Positioning

Can anyone give a quick overview of the syslinux menu positioning options?

From http://git.kernel.org/?p=boot/syslinux/ … c/menu.txt

MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW -1
MENU PASSWORDROW 11
MENU TIMEOUTROW 20
MENU HELPMSGROW 22
MENU HELPMSGENDROW -1
MENU HIDDENROW -2
MENU HSHIFT 0
MENU VSHIFT 0

        These options control the layout of the menu on the screen.
        The values above are the defaults.

        A negative value is relative to the calculated length of the
        screen (25 for text mode, 28 for VESA graphics mode.)

Some of them are self-explanatory while others are not. How do you get the dimensions of the screen from the MENU RESOLUTION? For example, if I set the resolution to 1680x1050 then change the menu width to 80, the menu ends up on the left side of the screen. Is there a simple formula to calculate the margin to recenter it?

Alternatively, is there any way to preview changes without rebooting the system?

Thanks.

Last edited by Xyne (2012-07-19 04:33:52)


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB