-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improvement suggestion: change keyboard layout #2
Comments
It looks like such files get generated by either grub-mklayout (using Linux keymaps) or grub-kbdcomp (from X keyboard layouts). It also looks like it suffices to use that tool with the same GRUB_KEYBOARD_LAYOUTS_VERSION, but that has indeed changed from 8 to 10 between our BITS snapshot and current upstream GRUB2. As a temporary workaround, try building a layout file using grub-mklayout or grub-kbdcomp built from the same version of GRUB2 that BITS uses. Can you confirm that doing so works for you? I'm hesitant to have BITS build-depend on Linux or X keyboard map files and attempt to generate all possible keyboard maps people might want. (Especially in the latter case, which could include arbitrary combinations of keyboard maps and options.) What I'm tempted to do, instead:
Would that work for you? |
My main system is a centos7 with an GRUB2 in the version 2.02-0.17.el7-1.4 grub-kbdcomp is a wrapper-script for grub-mklayout. I´ve created an gkb-file but when i´m using it i get the error "invalid version". when I try to update bits with the files from centos i get while booting the error "symbol 'grub_file_progress_hook' not found" can you tell me exactly which version of grub you use?` thanks |
Right; 2.02 uses GRUB_KEYBOARD_LAYOUTS_VERSION 10. We use a modified 2.00, which uses GRUB_KEYBOARD_LAYOUTS_VERSION 8.
Yeah, that won't work. You can't mix modules from your system GRUB with BITS.
Modified 2.00. Try cloning the sources from https://github.com/biosbits/grub, then run ./autogen.sh, ./configure --prefix=/tmp/grub-inst , make install, and then run grub-mklayout from that installation path. |
Hi Josh
first of all - thanks for your great work!
Unfortunately i´m using an different keyboard layout.
It is possible, but quite annoying to search the right character when its needed.
Therefore i would like to ask you if you could create a set of gkb-files with the most used keyboard layouts. In my case german ;)
It seems that this gkb files have to be created exactly with the correct grub version. Else there is only an error message.
Thanks
Netlord
The text was updated successfully, but these errors were encountered: