Skip to content

Instantly share code, notes, and snippets.

@nolik
Created September 30, 2018 20:52
Show Gist options
  • Save nolik/d05d0f11f5029f96f2084a12a9f8422b to your computer and use it in GitHub Desktop.
Save nolik/d05d0f11f5029f96f2084a12a9f8422b to your computer and use it in GitHub Desktop.
problem with ru keyboard
//i add conf to /etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru"
CONSOLEFONT="cyr-sun16"
CONSOLEMAP=""
USECOLOR="yes"
// /etc/locale.conf
LANG=ru_RU.UTF-8
LC_MESSAGES=ru_RU.UTF-8
# locale -a
C
POSIX
en_US.utf8
ru_RU.utf8
//sway bash profile
~/.bash_profile
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
export XKB_DEFAULT_LAYOUT=us,ru
export XKB_DEFAULT_OPTIONS=grp:win_space_toggle
exec sway
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment