Skip to content

Waybar crashes when using wireplumber module #1852

@jm355

Description

@jm355

.config/waybar/config:

...
    "modules-right": [
        "pulseaudio", 
        "wireplumber", 
        "battery", 
        "tray",
        "clock",
        "idle_inhibitor"
    ],
...
    },
    "wireplumber": {
        "format": "{volume}% {icon}  ",
        "format-muted": "",
        "format-icons": {
            "headphones": "",
            "handsfree": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", "", ""]
        },
        "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
        "on-click-right": "pavucontrol",
        "rotate": 270
    },
    "pulseaudio": {
...
~ [SIGTRAP]$ waybar -l trace
[2022-11-29 12:37:03.971] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
[2022-11-29 12:37:03.971] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config.jsonc
[2022-11-29 12:37:03.971] [debug] Try expanding: $HOME/.config/waybar/config
[2022-11-29 12:37:03.971] [debug] Found config file: $HOME/.config/waybar/config
[2022-11-29 12:37:03.971] [info] Using configuration file /home/jerry/.config/waybar/config
[2022-11-29 12:37:03.972] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
[2022-11-29 12:37:03.972] [debug] Try expanding: $HOME/.config/waybar/style.css
[2022-11-29 12:37:03.972] [debug] Found config file: $HOME/.config/waybar/style.css
[2022-11-29 12:37:03.972] [info] Using CSS file /home/jerry/.config/waybar/style.css
[2022-11-29 12:37:03.978] [debug] Output detection done: HDMI-A-1
[2022-11-29 12:37:03.978] [debug] Output detection done: DP-2 
[2022-11-29 12:37:03.989] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
[2022-11-29 12:37:03.989] [warning] As using a timezone, some format args may be missing as the date library haven't got a release since 2018.
[2022-11-29 12:37:04.006] [debug] GTK widget tree:
window#waybar.background.right..DP-2.mode-default:dir(ltr)
  decoration:dir(ltr)
  box.vertical:dir(ltr)
    box.vertical.modules-left:dir(ltr)
      widget:dir(ltr)
        box#workspaces.vertical:dir(ltr)
      widget:dir(ltr)
        label#mode:dir(ltr)
      widget:dir(ltr)
        box.horizontal:dir(ltr)
          image:dir(ltr)
          label#window:dir(ltr)
    box.vertical.modules-center:dir(ltr)
    box.vertical.modules-right:dir(ltr)
      widget:dir(ltr)
        label#pulseaudio:dir(ltr)
      widget:dir(ltr)
        label#wireplumber:dir(ltr)
      widget:dir(ltr)
        label#battery:dir(ltr)
      widget:dir(ltr)
        box#tray.vertical:dir(ltr)
      widget:dir(ltr)
        label#clock:dir(ltr)
      widget:dir(ltr)
        label#idle_inhibitor:dir(ltr)

E 12:37:04.012041               GLib (null):(null):(null): g_log_set_writer_func() called multiple times
fish: Job 1, 'waybar -l trace' terminated by signal SIGTRAP (Trace or breakpoint trap)
~ [SIGTRAP]$ 

Unrelated, but I have libappindicator-gtk3 installed and $XDG_CURRENT_DESKTOP is Unity, why do I still get that warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions