Closed SneznyKocur closed 1 month ago
For Hyperland there's documented solutions in the issue tracker, see e.g. #48
But the same happens on plasma x11 so wayland is not the issue
Dňa po 22. 7. 2024, 8:02 PM kpcyrd @.***> napísal(a):
For Hyperland there's documented solutions in the issue tracker, see e.g.
48 https://github.com/kpcyrd/spotify-launcher/issues/48
— Reply to this email directly, view it on GitHub https://github.com/kpcyrd/spotify-launcher/issues/49#issuecomment-2243519074, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2RWJCK7NNG3CXBEJW6H2UTZNVCKZAVCNFSM6AAAAABLIG5XJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGUYTSMBXGQ . You are receiving this because you authored the thread.Message ID: @.***>
It's kind of on you to provide an desktop environment the spotify binary can run on, it seems the launcher itself has worked for you but please do post the solution if you figure out what the problem was.
It has worked in the past farly recently but after a restart it does not launch anymore (in the same environment)
Do you have a polkit authentication agent running? For me the issue is that the launcher doesn't use my agent on hyprland, but it works in kde plasma wayland.
I confirmed that the issue was caused by spotify not spotify-launcher. I got these weird dbus errors:
(spotify:18164): libayatana-appindicator-WARNING **: 23:16:18.458: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:18164): LIBDBUSMENU-GLIB-WARNING **: 23:16:18.458: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
It turns out it was caused by this configuration line which launched supposedly dbus:
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
This line was suggested by the wiki, but it is bad.
My solution was to edit /usr/share/wayland-sessions/hyprland.desktop
Exec line like: Exec=dbus-run-session Hyprland
After this my problem disappeared.
okay im just dumb, i rm -rf'ed ~/.cache/spotify and now it starts fine
I'm running arch with plasma X11 or hyprland (this happens on both) When i run
spotify-launcher -v
it returns:but nothing happens after and it just closes I also tried spotify from the AUR where the same thing happens I ran
spotify --show-console --debug-level [0-8]
(i tried all of the levels) and it returns nothing and doesn't open