--hotkey option does not work when the menu is hidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Ara Pulido | ||
Precise |
Fix Released
|
High
|
Ara Pulido | ||
grub |
New
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson | ||
Precise |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Grub2 can detect key modifier status in 'sleep --interruptible',
so that you can interrupt the sleep by pressing Shift.
(src: grub-core/
It will be useful if grub2 can also detect function key status,
so user can boot to pre-defined grub menu entry by press specified
function key.
Here is a proposed command name and usage.
- getfunctionkey -i {sec} {keyname}
Here is an example of configuration that user can start memory test
whiling he is pressing F9.
```
if ! getfunctionkey -i 3 f9 ; then
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root d458babc-
linux16 /boot/memtest86
}
fi
```
Changed in oem-priority: | |
status: | New → Incomplete |
assignee: | nobody → James M. Leddy (jm-leddy) |
summary: |
- add a command to detect function key status. + --hotkey option does not work when the menu is hidden |
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in oem-priority: | |
assignee: | James M. Leddy (jm-leddy) → Ara Pulido (apulido) |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in grub2 (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.4 |
status: | New → Triaged |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Medium |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
attached a patch made by Cyrus Lien <email address hidden>