diff options
author | bionel <ionel.busuioc@gmail.com> | 2017-11-05 18:06:10 +0200 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2017-11-05 18:06:10 +0200 |
commit | 9f9524838e77883157e0d6a21addcb9543a2652c (patch) | |
tree | 076089976bc6dadc15baf2c9988d6c8c26530723 | |
parent | 5dcfcbb9490005e6944233f1d435dba150d270af (diff) |
set keymap for X11 also
-rwxr-xr-x | redcorelive-openrc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index 4edab11..775137c 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -35,6 +35,7 @@ redcore_live_locale_switch() { export local lang_toset="$(cat /proc/cmdline | cut -d " " -f6 | cut -d "=" -f2)" if [[ "$lang_toset" != "en_US.utf8" ]] || [[ "$keymap_toset" != "us" ]] ; then sed -i "s/keymap=\"us\"/keymap=\"$keymap_toset\"/g" /etc/conf.d/keymaps > /dev/null 2>&1 + setxkbmap $keymap_toset /usr/bin/eselect locale set "$lang_toset" > /dev/null 2>&1 /usr/sbin/env-update --no-ldconfig > /dev/null 2>&1 else |