Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.56k stars 705 forks source link

Unknown module: keyboard-state #2663

Open Babilinx opened 11 months ago

Babilinx commented 11 months ago

I can't figure out how to make the "keyboard-state" module working.

When launching from the terminal:

[2023-11-11 17:14:49.356] [info] Using configuration file /home/me/.config/waybar/config
[2023-11-11 17:14:49.362] [info] Using CSS file /home/me/.config/waybar/style.css
[2023-11-11 17:14:49.412] [warning] module keyboard-state: Unknown module: keyboard-state
[2023-11-11 17:14:49.508] [info] Bar configured (width: 1920, height: 26) for output: eDP-1

Config file (the default one):

...
    "keyboard-state": {
        "numlock": true,
        "capslock": true,
        "format": "{name} {icon}",
        "format-icons": {
            "locked": "",
            "unlocked": ""
        }
    }
}

Version: Waybar v0.9.24-18-gc4330a1e (branch 'HEAD') OS: Gentoo waybar useflags: network tray wifi libinput libevdev (i think i miss something here)

Aquastias commented 11 months ago

@Babilinx Try to add your user to the input group and then restart your pc.

Babilinx commented 9 months ago

Sorry for the late answer. I was already inside the group. I will retry this weekend to see if an update changed anything.

WhitleyStriber commented 8 months ago

Also have the same issue on Gentoo. Already added to input group.

Contengent commented 7 months ago

I'm also having the same issue on alpine. Has anyone found a solution?

nefirim commented 5 months ago

Gentoo user here as well. I had this same issue up till today, I just got it working with version 0.10.3 with these USE flags evdev experimental jack libinput logind mpd mpris network pipewire pulseaudio sndio tray udev upower wifi though I'm pretty sure evdev libinput udev are the important ones for getting the keyboard-state module to work