Comment 14 for bug 722950

Revision history for this message
Aapo Rantalainen (aapo-rantalainen) wrote :

Ctrl+x not working in grub editing mode with ubuntu-18.04(-alpha).
grub2-common:
  Installed: 2.02-2ubuntu7

grub-efi-amd64-signed:
  Installed: 1.92+2.02-2ubuntu7

Might relate platform, device is: MacBookPro14,3

These works:
Ctrl+a = home
Ctrl+e = end
Ctrl+c = command line

(At least) These are not working with ctrl: o,n,p,i,u,f,b,h,k,l

I try patch to ctrl+a starting boot.

--- grub2-2.02.orig/grub-core/normal/menu_entry.c
+++ grub2-2.02/grub-core/normal/menu_entry.c
@@ -1346,6 +1347,8 @@ grub_menu_entry_run (grub_menu_entry_t e

  case GRUB_TERM_CTRL | 'a':
  case GRUB_TERM_KEY_HOME:
- if (! beginning_of_line (screen, 1))
- goto fail;
- break;
+ run (screen);
+ goto refresh;

But still ctrl+a acts like home.

Also in grub-menu (grub-core/normal/menu.c) only ctrl+a, ctrl+e and ctrl+c are working.
Ctrl+p and ctrl+n (up/down) are not working.