Bug#623975: grub2: Add support for setkey!

Garrett McLean gmclean at gmail.com
Tue Apr 26 22:24:19 UTC 2011


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

On Sun, Apr 24, 2011 at 4:39 PM, Colin Watson <cjwatson at debian.org> wrote:

> On Sun, Apr 24, 2011 at 04:24:40PM -0700, Garrett McLean wrote:
> > 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.
>
> 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.
>
> --
> Colin Watson                                       [cjwatson at debian.org]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110426/51098e72/attachment.htm>


More information about the Pkg-grub-devel mailing list