#623975 grub2: Add support for setkey!

Package:
grub2
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (dummy package)
Submitter:
Garrett McLean
Date:
2014-10-19 00:12:04 UTC
Severity:
wishlist
#623975#5
Date:
2011-04-24 23:24:40 UTC
From:
To:
Please add support for setkey! Without it I am forced to use a QWERTY layout
if I want to edit menu entries in grub (pressing 'e' at the menu). This is
super annoying as a Dvorak user.

Thanks!
-Garrett

#623975#10
Date:
2011-04-24 23:39:24 UTC
From:
To:
It almost certainly isn't going to be backported to squeeze, but the
version in sid has grub-mklayout and grub-kbdcomp utilities.  You can do
something like this (untested):

  sudo mkdir -p /boot/grub/layouts
  ckbcomp us dvorak | sudo grub-mklayout -o /boot/grub/layouts/us:dvorak.gkb

... and then add this command to /boot/grub/custom.cfg:

  keymap us:dvorak

Hopefully we'll get this a bit more neatly integrated in future.

#623975#15
Date:
2011-04-26 22:24:19 UTC
From:
To:
Thanks Colin!

Just upgraded to the latest grub2 and tried your suggestion out. It didn't
work :( Here's what I did with one note that may help:

1. Upgrade to latest grub2
2. sudo mkdir -p /boot/grub/layouts
3. ckbcomp us dvorak | sudo grub-mklayout -o
/boot/grub/layouts/us:dvorak.gkb NOTE: When I ran this command it spat back
"Unknown keycode 0x79" at me, which I'm sure is the problem (just not sure
how to find it).
4. sudo update-grub
5. sudo reboot

I couldn't find good documentation in /usr/share/doc/grub*, nor in the
man/info pages for grub-mklayout, nor on Google (and the grub wiki appears
to be down) so I really have no clue what to do for a next step.

Thanks,
-Garrett

#623975#20
Date:
2011-04-28 15:57:11 UTC
From:
To:
Good news! I figured out what I was missing was
"GRUB_TERMINAL_INPUT=at_keyboard" in /etc/default/grub BUT I have one last
issue, which is cosmetic but kind of a big deal:

Whenever I use the arrow keys the screen is flooded with messages like
"Unknown key 0xe0+0xaa from set 1" which makes it hard to edit the menu
items (though at least I stand a fighting chance with Dvorak on my side!).

Thanks!

#623975#25
Date:
2011-05-09 17:35:20 UTC
From:
To:
Upstream I downgraded it into a debug message (printed only if debug is
enabled)

#623975#30
Date:
2011-05-09 17:42:46 UTC
From:
To:
tag 623975 fixed-upstream
thanks