How setup keyboard layout in GRUB2 Shell with sabayonUTF8 math symbols & keyboard layout / inputCustom...
I need a disease
How long would it take for people to notice a mass disappearance?
String won't reverse using reverse_copy
Understanding trademark infringements in a world where many dictionary words are trademarks?
Can hackers enable the camera after the user disabled it?
Will 700 more planes a day fly because of the Heathrow expansion?
What is the most remote airport from the center of the city it supposedly serves?
How can I get a job without pushing my family's income into a higher tax bracket?
Upside-Down Pyramid Addition...REVERSED!
Set collection doesn't always enforce uniqueness with the Date datatype? Does the following example seem correct?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Can you complete the sequence?
Position of past participle and extent of the Verbklammer
Would Hubble Space Telescope improve black hole image observed by EHT if it joined array of telesopes?
How do I tell my manager that his code review comment is wrong?
How should I tell my manager I'm not paying for an optional after work event I'm not going to?
Why wasn't the Night King naked in S08E03?
Create a launchpad button that opens the content and makes the current context a specific folder
How did Shepard's and Grissom's speeds compare with orbital velocity?
If your medical expenses exceed your income does the IRS pay you?
How do LIGO and VIRGO know that a gravitational wave has its origin in a neutron star or a black hole?
Which module had more 'comfort' in terms of living space, the Lunar Module or the Command module?
Why is B♯ higher than C♭ in 31-ET?
Should I mention being denied entry to UK due to a confusion in my Visa and Ticket bookings?
How setup keyboard layout in GRUB2 Shell with sabayon
UTF8 math symbols & keyboard layout / inputCustom keyboard layout is reset to default after standby or rebootKeep keyboard layout upon inserting external keyboardKeyboard layout settings conflictingHow to allow for caps-lock keyboard layout changeHow can I change my keyboard layout in Centos6.6, xfce4.8keyboard shortcut works in one layout, not in anotherHow to use Dvorak keyboard layout in GRUB2 LUKS passphrase prompt?Adding keyboard layout in Linux MintHow to change keyboard layout shortcut to ctrl+shift on Debian 9?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have an Italian keyboard and I want setup the right keyboard layout in grub shell.
I found many tutorials online that make use of grub-kbdcomp
or grub-mklayout
, but those commands doesn't works on my distribution.
How can I set the proper layout?
grub2 keyboard-shortcuts keyboard sabayon
add a comment |
I have an Italian keyboard and I want setup the right keyboard layout in grub shell.
I found many tutorials online that make use of grub-kbdcomp
or grub-mklayout
, but those commands doesn't works on my distribution.
How can I set the proper layout?
grub2 keyboard-shortcuts keyboard sabayon
add a comment |
I have an Italian keyboard and I want setup the right keyboard layout in grub shell.
I found many tutorials online that make use of grub-kbdcomp
or grub-mklayout
, but those commands doesn't works on my distribution.
How can I set the proper layout?
grub2 keyboard-shortcuts keyboard sabayon
I have an Italian keyboard and I want setup the right keyboard layout in grub shell.
I found many tutorials online that make use of grub-kbdcomp
or grub-mklayout
, but those commands doesn't works on my distribution.
How can I set the proper layout?
grub2 keyboard-shortcuts keyboard sabayon
grub2 keyboard-shortcuts keyboard sabayon
asked Aug 23 '18 at 13:25
Stefano BalzarottiStefano Balzarotti
22519
22519
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
grub-kbdcomp
is just a shell script that is a wrapper for the Debian ckbcomp
utility and grub-mklayout
. No Sabayon Linux Entropy package for ckbcomp exists, although there is a Gentoo Portage package which can be installed in Sabayon linux and used as shown below.
- As there is no Entropy package for
ckbcomp
, install it via Portage.
1.1 Install Gentoo's Portage overlay manager.
# equo install git
# equo install layman
1.2 Synchronise the Gentoo Portage package ebuild tree.
# emerge --sync # Do not update portage if told to do so.
1.3 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.4 Add the Sabayon distribution's Gentoo Portage overlay.
# layman -a sabayon-distro
1.5 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.6 Install sys-apps/ckbcomp
via Portage as there is no Entropy package.
# emerge -1v ckbcomp # Ignore any Gentoo news items.
1.7 Tell Entropy what you did via Portage.
# equo rescue spmsync
Create a new sub-directory to store the GRUB keyboard layout file.
# mkdir /boot/grub/layouts
Convert the X11 keymap to the GRUB keymap. The X11 keymap
/usr/share/X11/xkb/symbols/it
must exist for this to work.
# ckbcomp it nodeadkeys | grub2-mklayout -o /boot/grub/layouts/it.gkb
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
Append '
GRUB_TERMINAL_INPUT=at_keyboard
' in/etc/default/grub
.
# nano /etc/default/grub
# tail -n 1 /etc/default/grub
GRUB_TERMINAL_INPUT=at_keyboard
Add
insmod
andkeymap
lines as shown below.
# nano /etc/grub.d/40_custom
# tail -n 2 /etc/grub.d/40_custom
insmod keylayouts
keymap $prefix/layouts/it.gkb
Check what locales are available.
# locale --all-locales | grep -i it
Change/add locale (only) to
/etc/default/sabayon-grub
as shown below. Leave other entries, if any, inGRUB_CMDLINE_LINUX
as they are.
# nano /etc/default/sabayon-grub
# grep locale /etc/default/sabayon-grub
GRUB_CMDLINE_LINUX="locale=it_IT dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.lv=sabayon_sabayon/root resume=/dev/mapper/sabayon_sabayon-swap splash vconsole.keymap=it rd.vconsole.keymap=it quiet"
Regenerate the
grub.cfg
file.
# grub2-mkconfig -o /boot/grub/grub.cfg
Check that
grub.cfg
has been modified accordingly:
# grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
# grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/it.gkb
# grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/it.gkb
If the machine uses UEFI rather than PC BIOS, update the GRUB files in the EFI directory.
# grub2-install --efi-directory=/boot/efi
Reboot to check if the
it
keymap has been loaded for the GRUB shell.
# systemctl reboot
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464398%2fhow-setup-keyboard-layout-in-grub2-shell-with-sabayon%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
grub-kbdcomp
is just a shell script that is a wrapper for the Debian ckbcomp
utility and grub-mklayout
. No Sabayon Linux Entropy package for ckbcomp exists, although there is a Gentoo Portage package which can be installed in Sabayon linux and used as shown below.
- As there is no Entropy package for
ckbcomp
, install it via Portage.
1.1 Install Gentoo's Portage overlay manager.
# equo install git
# equo install layman
1.2 Synchronise the Gentoo Portage package ebuild tree.
# emerge --sync # Do not update portage if told to do so.
1.3 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.4 Add the Sabayon distribution's Gentoo Portage overlay.
# layman -a sabayon-distro
1.5 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.6 Install sys-apps/ckbcomp
via Portage as there is no Entropy package.
# emerge -1v ckbcomp # Ignore any Gentoo news items.
1.7 Tell Entropy what you did via Portage.
# equo rescue spmsync
Create a new sub-directory to store the GRUB keyboard layout file.
# mkdir /boot/grub/layouts
Convert the X11 keymap to the GRUB keymap. The X11 keymap
/usr/share/X11/xkb/symbols/it
must exist for this to work.
# ckbcomp it nodeadkeys | grub2-mklayout -o /boot/grub/layouts/it.gkb
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
Append '
GRUB_TERMINAL_INPUT=at_keyboard
' in/etc/default/grub
.
# nano /etc/default/grub
# tail -n 1 /etc/default/grub
GRUB_TERMINAL_INPUT=at_keyboard
Add
insmod
andkeymap
lines as shown below.
# nano /etc/grub.d/40_custom
# tail -n 2 /etc/grub.d/40_custom
insmod keylayouts
keymap $prefix/layouts/it.gkb
Check what locales are available.
# locale --all-locales | grep -i it
Change/add locale (only) to
/etc/default/sabayon-grub
as shown below. Leave other entries, if any, inGRUB_CMDLINE_LINUX
as they are.
# nano /etc/default/sabayon-grub
# grep locale /etc/default/sabayon-grub
GRUB_CMDLINE_LINUX="locale=it_IT dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.lv=sabayon_sabayon/root resume=/dev/mapper/sabayon_sabayon-swap splash vconsole.keymap=it rd.vconsole.keymap=it quiet"
Regenerate the
grub.cfg
file.
# grub2-mkconfig -o /boot/grub/grub.cfg
Check that
grub.cfg
has been modified accordingly:
# grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
# grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/it.gkb
# grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/it.gkb
If the machine uses UEFI rather than PC BIOS, update the GRUB files in the EFI directory.
# grub2-install --efi-directory=/boot/efi
Reboot to check if the
it
keymap has been loaded for the GRUB shell.
# systemctl reboot
add a comment |
grub-kbdcomp
is just a shell script that is a wrapper for the Debian ckbcomp
utility and grub-mklayout
. No Sabayon Linux Entropy package for ckbcomp exists, although there is a Gentoo Portage package which can be installed in Sabayon linux and used as shown below.
- As there is no Entropy package for
ckbcomp
, install it via Portage.
1.1 Install Gentoo's Portage overlay manager.
# equo install git
# equo install layman
1.2 Synchronise the Gentoo Portage package ebuild tree.
# emerge --sync # Do not update portage if told to do so.
1.3 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.4 Add the Sabayon distribution's Gentoo Portage overlay.
# layman -a sabayon-distro
1.5 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.6 Install sys-apps/ckbcomp
via Portage as there is no Entropy package.
# emerge -1v ckbcomp # Ignore any Gentoo news items.
1.7 Tell Entropy what you did via Portage.
# equo rescue spmsync
Create a new sub-directory to store the GRUB keyboard layout file.
# mkdir /boot/grub/layouts
Convert the X11 keymap to the GRUB keymap. The X11 keymap
/usr/share/X11/xkb/symbols/it
must exist for this to work.
# ckbcomp it nodeadkeys | grub2-mklayout -o /boot/grub/layouts/it.gkb
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
Append '
GRUB_TERMINAL_INPUT=at_keyboard
' in/etc/default/grub
.
# nano /etc/default/grub
# tail -n 1 /etc/default/grub
GRUB_TERMINAL_INPUT=at_keyboard
Add
insmod
andkeymap
lines as shown below.
# nano /etc/grub.d/40_custom
# tail -n 2 /etc/grub.d/40_custom
insmod keylayouts
keymap $prefix/layouts/it.gkb
Check what locales are available.
# locale --all-locales | grep -i it
Change/add locale (only) to
/etc/default/sabayon-grub
as shown below. Leave other entries, if any, inGRUB_CMDLINE_LINUX
as they are.
# nano /etc/default/sabayon-grub
# grep locale /etc/default/sabayon-grub
GRUB_CMDLINE_LINUX="locale=it_IT dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.lv=sabayon_sabayon/root resume=/dev/mapper/sabayon_sabayon-swap splash vconsole.keymap=it rd.vconsole.keymap=it quiet"
Regenerate the
grub.cfg
file.
# grub2-mkconfig -o /boot/grub/grub.cfg
Check that
grub.cfg
has been modified accordingly:
# grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
# grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/it.gkb
# grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/it.gkb
If the machine uses UEFI rather than PC BIOS, update the GRUB files in the EFI directory.
# grub2-install --efi-directory=/boot/efi
Reboot to check if the
it
keymap has been loaded for the GRUB shell.
# systemctl reboot
add a comment |
grub-kbdcomp
is just a shell script that is a wrapper for the Debian ckbcomp
utility and grub-mklayout
. No Sabayon Linux Entropy package for ckbcomp exists, although there is a Gentoo Portage package which can be installed in Sabayon linux and used as shown below.
- As there is no Entropy package for
ckbcomp
, install it via Portage.
1.1 Install Gentoo's Portage overlay manager.
# equo install git
# equo install layman
1.2 Synchronise the Gentoo Portage package ebuild tree.
# emerge --sync # Do not update portage if told to do so.
1.3 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.4 Add the Sabayon distribution's Gentoo Portage overlay.
# layman -a sabayon-distro
1.5 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.6 Install sys-apps/ckbcomp
via Portage as there is no Entropy package.
# emerge -1v ckbcomp # Ignore any Gentoo news items.
1.7 Tell Entropy what you did via Portage.
# equo rescue spmsync
Create a new sub-directory to store the GRUB keyboard layout file.
# mkdir /boot/grub/layouts
Convert the X11 keymap to the GRUB keymap. The X11 keymap
/usr/share/X11/xkb/symbols/it
must exist for this to work.
# ckbcomp it nodeadkeys | grub2-mklayout -o /boot/grub/layouts/it.gkb
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
Append '
GRUB_TERMINAL_INPUT=at_keyboard
' in/etc/default/grub
.
# nano /etc/default/grub
# tail -n 1 /etc/default/grub
GRUB_TERMINAL_INPUT=at_keyboard
Add
insmod
andkeymap
lines as shown below.
# nano /etc/grub.d/40_custom
# tail -n 2 /etc/grub.d/40_custom
insmod keylayouts
keymap $prefix/layouts/it.gkb
Check what locales are available.
# locale --all-locales | grep -i it
Change/add locale (only) to
/etc/default/sabayon-grub
as shown below. Leave other entries, if any, inGRUB_CMDLINE_LINUX
as they are.
# nano /etc/default/sabayon-grub
# grep locale /etc/default/sabayon-grub
GRUB_CMDLINE_LINUX="locale=it_IT dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.lv=sabayon_sabayon/root resume=/dev/mapper/sabayon_sabayon-swap splash vconsole.keymap=it rd.vconsole.keymap=it quiet"
Regenerate the
grub.cfg
file.
# grub2-mkconfig -o /boot/grub/grub.cfg
Check that
grub.cfg
has been modified accordingly:
# grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
# grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/it.gkb
# grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/it.gkb
If the machine uses UEFI rather than PC BIOS, update the GRUB files in the EFI directory.
# grub2-install --efi-directory=/boot/efi
Reboot to check if the
it
keymap has been loaded for the GRUB shell.
# systemctl reboot
grub-kbdcomp
is just a shell script that is a wrapper for the Debian ckbcomp
utility and grub-mklayout
. No Sabayon Linux Entropy package for ckbcomp exists, although there is a Gentoo Portage package which can be installed in Sabayon linux and used as shown below.
- As there is no Entropy package for
ckbcomp
, install it via Portage.
1.1 Install Gentoo's Portage overlay manager.
# equo install git
# equo install layman
1.2 Synchronise the Gentoo Portage package ebuild tree.
# emerge --sync # Do not update portage if told to do so.
1.3 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.4 Add the Sabayon distribution's Gentoo Portage overlay.
# layman -a sabayon-distro
1.5 Synchronise the Sabayon distribution's Gentoo Portage overlay package ebuild tree.
# layman -S
1.6 Install sys-apps/ckbcomp
via Portage as there is no Entropy package.
# emerge -1v ckbcomp # Ignore any Gentoo news items.
1.7 Tell Entropy what you did via Portage.
# equo rescue spmsync
Create a new sub-directory to store the GRUB keyboard layout file.
# mkdir /boot/grub/layouts
Convert the X11 keymap to the GRUB keymap. The X11 keymap
/usr/share/X11/xkb/symbols/it
must exist for this to work.
# ckbcomp it nodeadkeys | grub2-mklayout -o /boot/grub/layouts/it.gkb
Unknown keyboard scan code 0x54
Unknown keyboard scan code 0x65
Unknown keyboard scan code 0x7f
Append '
GRUB_TERMINAL_INPUT=at_keyboard
' in/etc/default/grub
.
# nano /etc/default/grub
# tail -n 1 /etc/default/grub
GRUB_TERMINAL_INPUT=at_keyboard
Add
insmod
andkeymap
lines as shown below.
# nano /etc/grub.d/40_custom
# tail -n 2 /etc/grub.d/40_custom
insmod keylayouts
keymap $prefix/layouts/it.gkb
Check what locales are available.
# locale --all-locales | grep -i it
Change/add locale (only) to
/etc/default/sabayon-grub
as shown below. Leave other entries, if any, inGRUB_CMDLINE_LINUX
as they are.
# nano /etc/default/sabayon-grub
# grep locale /etc/default/sabayon-grub
GRUB_CMDLINE_LINUX="locale=it_IT dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.lv=sabayon_sabayon/root resume=/dev/mapper/sabayon_sabayon-swap splash vconsole.keymap=it rd.vconsole.keymap=it quiet"
Regenerate the
grub.cfg
file.
# grub2-mkconfig -o /boot/grub/grub.cfg
Check that
grub.cfg
has been modified accordingly:
# grep terminal_input /boot/grub/grub.cfg
terminal_input at_keyboard
# grep gkb /boot/grub/grub.cfg
keymap $prefix/layouts/it.gkb
# grep layouts /boot/grub/grub.cfg
insmod keylayouts
keymap $prefix/layouts/it.gkb
If the machine uses UEFI rather than PC BIOS, update the GRUB files in the EFI directory.
# grub2-install --efi-directory=/boot/efi
Reboot to check if the
it
keymap has been loaded for the GRUB shell.
# systemctl reboot
answered 19 mins ago
FitzcarraldoFitzcarraldo
133
133
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464398%2fhow-setup-keyboard-layout-in-grub2-shell-with-sabayon%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown