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 The official Spotify client is available but there are few issues that you must know before you install it. 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 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 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.
0 Comments
Leave a Reply. |