Open zenny opened 4 years ago
An Update: the error is with i3blocks, but with i3status as a bar, there is no error, yet the keyboard layout did NOT switch even under i3status without errors! Hmmmmm.... Thanks!
The keymap.py dies with the following error when moved to workspace 7:
$ cd ~/.config/i3-autokeymap && python3 keymap.py
Traceback (most recent call last):
File "keymap.py", line 39, in <module>
os.system("xkblayout-state set {}".format(layoutOrder[config["workspaces"][currentWorkspace][currentWorkspace]]))
KeyError: 'de'
The process dies with same error when moved to workspaces 5 (us), 6 (np) and 8 (ru), fyi.
However, setxkbmap de
or setxkbmap de -variant bone
works as it should! So it has to do with this script.
@zenny I will look into that, thanks.
@zenny Let's try to gather some info about that. Please git checkout 13-implement-error-logging
and run the application from cli. Reproduce the issue (list index out of range). You should be able to see logs before exception is thrown. I need those.
Hi,
@f0s3 Thanks for useful script, but didn't work at my end with the following error :(
I have the following in the
config.json
:I need to install 'bone
variant of German keyboard
de. However, specifying basic
de` layout gave same error, too, fyi.Any clue?
Cheers, and stay safe, /z