Skip to contentSkip to conversation

Number shortcuts in boot menu?

DISCUSSION Petteri Pasila 2 participants 3 messages Oct 25, 2012

lore
Share & tools
lore
#0 lore raw

Hey,

Just came to my mind the other day and it doesn't seem like this has already been suggested/rejected at some point.

So if your example menu looked something like this (the first one obviously being the active one) and your task at hand was to start up Windows for some stupid stupidity that you required it for:

=> (1) Arch GNU/Linux, with Linux core repo kernel <=
(2) Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)
(3) Random OS
(4) Another kernel for the random OS
(5) Some memtest86+
(6) Some other memtest86+
(7) Windows 7 (loader) (on /dev/sda2)

...then wouldn't it be brilliant to just type the number [7] to accomplish this instead of having to move the selection aaaaall the way to the end with the arrow keys and then like _all_ of that gruesomeness wasn't enough you're even asked to move one of your fingers to press the [Enter] key that's like *miles* away from the arrows your fingers just arrived at? (Sure you can just press the right arrow but let's pretend we didn't know about that, k?) You have to ask yourselves: how dare you do something like this?

TORTURE IS A CRIME.

Petteri and his imagination!

#1 lore raw

В Чт., 25/10/2012 в 17:36 +0300, Petteri Pasila пишет:

Quoted 5 lines

Hey,

Just came to my mind the other day and it doesn't seem like this has already been suggested/rejected at some point.

menuentry --hotkey=1 ...

Quoted 29 lines

So if your example menu looked something like this (the first one obviously being the active one) and your task at hand was to start up Windows for some stupid stupidity that you required it for:

=> (1) Arch GNU/Linux, with Linux core repo kernel <=
(2) Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)
(3) Random OS
(4) Another kernel for the random OS
(5) Some memtest86+
(6) Some other memtest86+
(7) Windows 7 (loader) (on /dev/sda2)

...then wouldn't it be brilliant to just type the number [7] to accomplish this instead of having to move the selection aaaaall the way to the end with the arrow keys and then like _all_ of that gruesomeness wasn't enough you're even asked to move one of your fingers to press the [Enter] key that's like *miles* away from the arrows your fingers just arrived at? (Sure you can just press the right arrow but let's pretend we didn't know about that, k?) You have to ask yourselves: how dare you do something like this?

TORTURE IS A CRIME.

Petteri and his imagination!

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw
Quoted 7 lines · Andrey Borzenkov

В Чт., 25/10/2012 в 17:36 +0300, Petteri Pasila пишет:

Quoted 5 lines

Hey,

Just came to my mind the other day and it doesn't seem like this has already been suggested/rejected at some point.

menuentry --hotkey=1 ...

Coolness!