Dbus method not found

Reply
Highlighted

Dbus method not found

flima21
Casual Listener

Plan

Premium

Country Brazil

 

 

Device

Samsung Galaxy 9

Operating System

Linux

 

My Question or Issue

 

Comands terminal dbus no working more

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous

 

 
This command has not working in  linux used app for linux error:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by
any .service files
 
How one method for work in linux
 
Fabio

 

 

2 Replies

Re: Dbus method not found

flima21
Casual Listener

 

Critical start dbus spotify in Void Linux

How can I fix spotify and dbus boot spotify?

 

(spotify:1256): GLib-GIO-CRITICAL **: 07:54:13.860: g_dbus_connection_send_message: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

Re: Dbus method not found

kgyrtkirk
Visitor

I wanted to originally post this reply for:

https://community.spotify.com/t5/Desktop-Linux/DBUS-No-Longer-working/td-p/2615643#

but since this is kinda the same issue...what worked for me is to launch my window manager(i3) along with dbus with:

 

in .xinitrc use something like:

```

exec dbus-launch --exit-with-session i3

```

SUGGESTED POSTS