Skip to content

[BUG] keyboard_layout | xkbevent driver fails to get Ukrainian ("ua") layout #2195

@InspiritedCoder

Description

@InspiritedCoder

Hi,

this is my config.toml:
`
icons_format = "{icon}"

[theme]
theme = "srcery"

[icons]
icons = "awesome4"
[icons.overrides]
bat = ["|E|", "|_|", "|=|", "|F|"]
bat_charging = "|^| "

[[block]]
block = "cpu"
info_cpu = 20
warning_cpu = 50
critical_cpu = 90

[[block]]
block = "disk_space"
path = "/"
info_type = "available"
alert_unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
format = " $icon root: $available.eng(w:2) "

[[block]]
block = "memory"
format = " $icon $mem_total_used_percents.eng(w:2) "
format_alt = " $icon_swap $swap_used_percents.eng(w:2) "

[[block]]
block = "sound"
[[block.click]]
button = "left"
cmd = "pavucontrol"

[[block]]
block = "time"
interval = 5
format = " $timestamp.datetime(f:'%a %d/%m %R') "

[[block]]
block = "keyboard_layout"
driver = "xkbevent"
`

Output of setsetxkbmap -query is:
rules: evdev model: pc105 layout: us,cz,ua options: grp:alt_shift_toggle

For some reason, English and Czech layouts are processed with no problem and displayed in the i3status bar, but when I change my layout to Ukrainian I see the following message: "Failed to get current layout"

Image

Could you please give me a hint how this can be fixed?
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions