You are not logged in.
Pages: 1
Hi there!
After installing the OS I'm trying to configure keyboard, according to the syntax of X config files I created a 00-keyboard.conf file with the following contents:
Section "InputClass"
Identifier "system-keyboard"
Option "XkbLayout" "ru,us"
Option "XkbModel" "pc105"
Option "XkbVariant" "qwerty"
Option "XkbOptions" "grp:caps_toggle, grp_led:scroll, compose:ralt"
EndSectionRestarted X and then found out that my i3 bindsyms simply stopped functioning, for example I'm no longer able to close a terminal with Win+Shift+q and such. However, I'm able to switch between layouts except that the russian font is invisible when typed in a terminal. My guesstimate is that I messed something up in the keyboard config, but I can't fathom out what it was exactly....
Anyone know what might be the cause for such behaviour? ![]()
Additional information:
The output of the "$ locale -a" command is as follows:
$ locale -a
C
en_US.utf-8
POSIX
ru_RU.utf8"$ setxkbmap -query" yields the following:
$ setxkbmap -query
rules: evdev
model: pc105
layout: us, ru
options: grp: caps_toggle, grp_led: scroll, compose: raltLast edited by Heinrich_Wutz (2017-01-03 11:31:54)
Offline
The invisible glyphs likely occur, because your monospace font does not cover kyrillian and either there's no configured substitute or the terminal emulator (xterm, urxvt, ...) cannot make use of that.
Try dejavu sans mono.
Do the shortcuts fail with either layout or only w/ the one you did not start with?
Does it work at least on the us layout when preferring that?
Option "XkbLayout" "us,ru"Offline
The invisible glyphs likely occur, because your monospace font does not cover kyrillian and either there's no configured substitute or the terminal emulator (xterm, urxvt, ...) cannot make use of that.
Try dejavu sans mono.Do the shortcuts fail with either layout or only w/ the one you did not start with?
Does it work at least on the us layout when preferring that?Option "XkbLayout" "us,ru"
Hmmmm....you know, I've just tried doing what you'd suggested and the outcome is somewhat surprising...first off, yes sure, the reason why I was getting invisible glyphs instead of the actual cyrillic letters I typed was because the font I used (Inconsolata) doesn't contain cyrillic alphabet, I realised it at a certain point but didn't try changing it cos I didn't see how it might bring i3's functional keys back to life. Oddly enough, it did! But I don't understand why! Would you please explain it to me?! I don't really like dejavu fonts and would actually prefer to stick to inconsolata if possible.
Anyway, thank you a lot for your help!
Last edited by Heinrich_Wutz (2017-01-03 17:43:07)
Offline
ALTERING THE FONT ALONE?
Sorry, that's completely even beyond my imagination, let alone knowledge - i've no explanation for that.
If swapping the layout order did, I'd have an idea what is happening, but that changing the font of a terminal has impact on the behavior of the shortcut daemon ow a WM sounds like voodoo...
About the font issue and sticking with inconsolata: which terminal emulator in particular?
Offline
ALTERING THE FONT ALONE?
Sorry, that's completely even beyond my imagination, let alone knowledge - i've no explanation for that.If swapping the layout order did, I'd have an idea what is happening, but that changing the font of a terminal has impact on the behavior of the shortcut daemon ow a WM sounds like voodoo...
About the font issue and sticking with inconsolata: which terminal emulator in particular?
oooh stupid me...yeah I didn't notice how but I did change the layout order. Probably I first tried setting the us layout alone and then after I made sure that everything functions as expected added the Russian layout to the right, so now the second line in the InputClass is as follows "Option "XkbLayout" "us, ru". But I still don't quite understand what caused i3 keys to stop working.
As for the terminal emulator:
$ echo $TERM
xtermOffline
Shortcuts do probably not work (as configured) at all on ru layout?
This could be either because the latin symbols map to unreachable keycodes on that setup or the layout implies some funky modifier (eg. 3rd level shift is permanently set or similar) - inspect the xev output on the matter (the "state" tells about modifiers, compare it to the us layout), ie. i3 selects the wrong keys or fails to select any key at all.
And then the problem is that either the group toggle does not cause or i3 does not track XKeyMapEvent's (so the switch to us goes unnoticed)
As for the terminal: they all say xterm or xterm-256color (compatibility) - it matters which implementation we face (xterm, urxvt, konsole, terminator, ...)
Offline
Pages: 1