|
From: | adrian15 |
Subject: | Re: how to resize and repositioned the GRUB menu triangle ? |
Date: | Fri, 02 Nov 2007 20:46:13 +0100 |
User-agent: | Thunderbird 1.5.0.9 (X11/20070102) |
J.Bakshi escribió:
I am talking about the menu displayed by menu.lst How can I resizeand repositioned that menu ?Ah, it's not a triangle but a rectangle. You should edit source code for doing this. If you are prepared to edit source code I might give you some clues on how to do that.please suggest how to do it ? thanksCheck stage2/stage2.c file. Check the: static void run_menu (char *menu_entries, char *config_entries, int num_entries, char *heap, int entryno) function and its line: print_entries (3, 12, first_entry, entryno, menu_entries); I think that changing 12 to 5 will force even if you have 20 boot entries only 5 are displayed. If you change the 3 for some other value you can move up/down the menu I think also. Hacking the print_entries function will also help. adrian15Hello Andrian, Thanks for your response. I think you have given a solution to force how many entries will be shown in the menu.
Maybe. I will check it again then.
But I am also interested to resize the menu so that I can see the splash image properly.
Hummm.
0.97 does not include splashimage support thus it does not include the viewport command which I presume is a splashimage support patch command."viewport" command can do it. But i don't know why it is not there in 0.97.
Get 0.97 and patch it with the splashimage support patch and then you will be able to use the viewport command (if my assumption is correct).Do you have any idea ?
adrian15
[Prev in Thread] | Current Thread | [Next in Thread] |