

Spotify implements MPRIS interface so commands like these should work:ĭbus-send -print-reply -dest= /org/mpris/MediaPlayer2. To exec dbus-launch -exit-with-session openbox-session On minimal systems it might be required to launch the desktop environment or window manager through dbus-launch -exit-with-session (provided by dbus-x11). # The spotify package is currently broken and installs files owned by uid 1000, fix itĭpkg -L spotify-client | sudo xargs chown -no-dereference root:rootĬontrolling playback using MPRIS D-Bus interface It provides a mechanism for discovery, querying and basic playback control of compliant media players, as well as a track list interface which is used to add context to the.

Install Spotify sudo apt install spotify-clientĬurl -sSf | gpg -dearmor | sudo tee /etc/apt/keyrings/spotify.gpg > /dev/nullĮcho "deb stable non-free" | sudo tee /etc/apt//spotify.list MPRIS (Media Player Remote Interfacing Specification) is a standard D-Bus interface which aims to provide a common programmatic API for controlling media players. Update list of available packages sudo apt update NB: You will need to install dirmngr if not already installed sudo apt install dirmngrĪdd the Spotify repository signing key to be able to verify downloaded packages curl -sS | gpg -dearmor | sudo tee /usr/share/keyrings/repository-spotify-com-keyring.gpg >/dev/nullĪdd the Spotify repository echo deb stable non-free | sudo tee /etc/apt//spotify.list

The experience may differ from our other Spotify Desktop clients, such as Windows and Mac. They work on it in their spare time and it is currently not a platform that we actively support. Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Spotify for Linux is a labor of love from our engineers that wanted to listen to Spotify on their Linux development machines.
