Manjaro Spotify

Spotify

From Manjaro
Revision as of 21:01, 29 December 2021 by How heavy this axe (talk | contribs) (The GPG key that was there is outdated and when run with pamac build spotify it would fail with a ERROR: One or more PGP signatures could not be verified! error. The key I added is the key listed on https://www.spotify.com/us/download/linux/)
Other languages:
English • ‎русский • ‎עברית • ‎فارسی


250px-Spotify.svg.png

Spotify is a commercial music streaming service providing digital rights management-restricted content from record labels including Sony, EMI, Warner Music Group and Universal.

Spotify operates under a freemium model (basic services are free, while additional features are offered via paid subscriptions). Spotify makes its revenues by selling premium streaming subscriptions to users and advertising placements to third parties.


Installing Spotify

Spotify can be installed via a variety of methods based on your personal preferences.


Installing from the Arch User Respository(AUR)

To install Spotify from the AUR using your favorite package manager or the command:

pamac build spotify


Installing as Flatpak Application

If you have flatpak installed you can install Spotify with:

flatpak install spotify


Tips & Tricks

Manual configuration of media keys

If your system does not detect the media keys, their names are (in order) XF86AudioPlay, XF86AudioStop, XF86AudioNext, XF86AudioPrevious

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.Stop
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


Opening Links from Spotify

Spotify may fail to open links (e.g. for password reset or login via Facebook). To fix this, install xdg-desktop-portal-gtk via:

pamac install xdg-desktop-portal-gtk


PGP signatures could not be verified

Import the public key with curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --import - then try installing it again

pamac build spotify

Blank Spotify or x-window

the error in the terminal should look like this

"spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)"

to fix this

just delete the spotify folder in your /home/yourusername/.config/ directory

See Also

AUR:spotify The Spotify Community

Cookies help us deliver our services. By using our services, you agree to our use of cookies.