Alexays / Waybar

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

cava module fails: Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop #3426

Closed i-am-logger closed 1 month ago

i-am-logger commented 4 months ago

[2024-07-08 17:08:43.019] [info] Using configuration file /home/snick/.config/waybar/config [2024-07-08 17:08:43.022] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop [2024-07-08 17:08:43.022] [info] Using CSS file /home/snick/.config/waybar/style.css [2024-07-08 17:08:43.054] [info] Hyprland IPC starting [2024-07-08 17:08:43.056] [info] Loading persistent workspaces from Hyprland workspace rules error: interrupted by the user fish: Job 1, 'waybar' terminated by signal SIGSEGV (Address boundary error)

image

the configuration used to work until i updated to latest version v0.10.3 configuration:

    "cava": {
        "cava_config": "$XDG_CONFIG_HOME/cava/config",
         // "format": "  |{}|",
        "framerate": 120,
        "autosens": 1,
        "sensitivity": 1.5,
        "bars": 14,
        "lower_cutoff_freq": 50,
        "higher_cutoff_freq": 15000,
        "hide_on_silence": true,
        "method": "pulse",
        "source": "auto",
        "stereo": false,
        // "reverse": true,
        "bar_delimiter": 0, //124,
        "monstercat": false,
        "waves": false,
        "noise_reduction": 0.77,
        // "input_delay": 2,
        "ascii_max_range": 8,
        // "format-icons": ["▁","▂","▃","▄","▅","▆","▇","█"],
        "format-icons": ["█", "▇", "▆", "▅", "▄", "▃", "▂", "▁"],

        "actions": {
            "on-click-right": "mode"
        }
ItsAllPeachy commented 4 months ago

have you been able to find a fix yet? I am having the same issue :(

I am still looking, and if i find one ill try to post it here.

i-am-logger commented 4 months ago

no, still crashing when cava plugin is enabled

LukashonakV commented 2 months ago

Hi @i-am-logger , @ItsAllPeachy . libcava was synced with cava upstream. At least there was some major issue with pulse input which is solved. Can you update waybar. Make sure libcava-0.10.3 is used. Let me know about results. Thanks

i-am-logger commented 1 month ago

Thanks for the pointer to libcava-0.10.3 seems nix's waybar package installs libcava-0.10.1

https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/by-name/wa/waybar/package.nix#L76

i-am-logger commented 1 month ago

after update libcava to 0.10.3 i get this error:

image

my cava configuration is in ~/.config/cava/config

i-am-logger commented 1 month ago
"cava_config": "$XDG_CONFIG_HOME/cava/config",

missed this in the config...all good!