Bug#623975: grub2: Add support for setkey!

Garrett McLean gmclean at gmail.com
Thu Apr 28 15:57:11 UTC 2011


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!

On Tue, Apr 26, 2011 at 3:24 PM, Garrett McLean <gmclean at gmail.com> wrote:

> 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/20110428/9015f359/attachment.htm>


More information about the Pkg-grub-devel mailing list